Publishing in 2.0

Why is it that I have to "publish" a site to a server to get the /bin directory, and a working site (in 2.0)?

I just tried to copy a site to a server, but didn't want to use the "publish" wizards.  I never use them.  In VS 2003, I build the site in release mode, then ftp it up to my server.  Why can't I do the same in 2005?

Just another thing to get used to...

Print | posted on Friday, January 20, 2006 8:17 PM

Feedback

# re: Publishing in 2.0

left by D'Arcy from Winnipeg at 1/21/2006 10:20 AM Gravatar
It might have something to do with how ASP.NET 2005 handles the bin directory.

In 2003, you compiled your dll and uploaded it. With 2005, the dll's are compiled on the fly from your code files, so there is no dll to upload.

I worked on a 2005 project, and we just copied all the files up with the folders (i.e. App Code), and we copied the bin folder as well though (for the external assembly references)...but there was never a dll for our app.

Not sure if that's what you're experiencing, but just wanted to throw it out.
:)

D
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: