I usually deploy my ASP .NET application to the server by publishing, using
Visual Studio 2005 publish feature. This creates the Bin folder on the
server, with the compiled DLLs.
I've been asked to publish by copying the files manually instead.
I stopped IIS for the application,
deleted the application files and subfolders from the server,
copied the files and folders from my local PC's project,
restarted IIS,
and launched the application in my browser.
The application ran normally, and I expected that first use would have
triggered a compilation of the website, but there are no DLL files in the Bin
folder, like when I publish with Visual Studio.
How does this work? How can I still use copy to deploy, and get a compiled
website?
Thanks in advance,
Richard
the BIN will have only dependency DLLs in it...
If you want to have a DLL and do not want to copy source code look up
"precompiling asp.net application"
George.
"Richard" <Ric...@discussions.microsoft.com> wrote in message
news:97AB94D4-BF5C-4E8D...@microsoft.com...
Isn't that the way it works?
If you don't pre-compile, the only dlls created will be
located in the ASP.NET Temporary Files directory.
re:
!> I've been asked to publish by copying the files manually instead.
That is not such a good idea if you don't pre-compile.
Figure out your ASP.NET 2.0 publishing options in these articles :
http://maordavid.blogspot.com/2007/06/aspnet-20-web-site-vs-web-application.html
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Richard" <Ric...@discussions.microsoft.com> wrote in message
news:67B080E1-9440-46F3...@microsoft.com...
> All source code (code behind, and source files in the App_Code folder) is on
Why is that this project didn't compile?
Let try more reasonable approach:
a). If your application works then look harder in .NET temp folders....
b). If your application does not work then you should be getting an error
message. Let us know exact error you getting....
George.
"Richard" <Ric...@discussions.microsoft.com> wrote in message
news:32A3DAC0-7B15-4686...@microsoft.com...
If your development server is running IIS, you can precompile the app in place with:
Aspnet_compiler -v /WebAppVirtualName
Then, manually copy the application's files to your server.
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Richard" <Ric...@discussions.microsoft.com> wrote in message
news:32A3DAC0-7B15-4686...@microsoft.com...
All these constraints make me waste so much time! If they just let me
publish from my Visual Studio to the server, that'd take 5 minutes, but you
know how it is :-P
Thanks anyways
Just precompile your app on your development server. It will create bunch of
DLLs in BIN folder.
http://articles.techrepublic.com.com/5100-3513-6116804.html
I think I advised you to do so in the beginning but you kept looking from
DLLs thus confused me since I did not understand exactly what you want.
PS: if you need to change something in your project you will need to remove
all DLLs from production and copy new precompiled one... since the names of
dlls pretty much random...
George.
"Richard" <Ric...@discussions.microsoft.com> wrote in message
news:108B9A77-6A46-4411...@microsoft.com...
"Richard" <Ric...@discussions.microsoft.com> wrote in message
news:97AB94D4-BF5C-4E8D...@microsoft.com:
Publishing in .net 1.1: copy over aspx page and dll for whole project
Publishing in .net 3.5: copy over aspx page and code behind. No need to
copy over dll for whole project
Is publishing in .net 2.0 the same as 3.5?