Hi Everybody,
Maybe I have missed something but for some reason Visual Studio 2005 seems to not place .dlls into the Bin folder. Here is the scenario:
I have created a web site using the Open Web Site/Local IIS option from VS 2005.
I have manually added a Bin folder via the Right-click/Add ASP.NET Folder/Bin option in VS 2005.
I have created a helper class (Add Item/Class) which automatically got placed into the App_Code folder.
I added some code to the Default.aspx code-beside file which call methods from the helper class.
Everything works fine on Ctrl+F5.
My expectation was, that the compiled helper class (.dll) will be placed into the Bin folder. But it doesn't. In fact I cannot find the .dll at all. Maybe it's in some temporary folder.
So here is the question: How do I "force" the system to create the .dll into the Bin folder? A setting in web.config? An option in VS 2005?
Any clarification is greatly appreciated.
Best regards
Ralf
well, when you compile your site, the dlls will be placed inside the app folder that is created in the temporary asp.net folder (tipically, this will be winnt\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\yourappname).
@.Luis:
Thanks for clarifying. But this does not answer my key question: How can I "force" VS 2005 to create the binaries in the Bin folder?
Regards
Ralf
Hello. hum...well, if you want to have access to the binaries generated through the compilation, i think that you could use the publish web site (available from the build menu).
0 comments:
Post a Comment