VS2005 - Publishing Website - Best practice?

P

Patrick

Hello

I'm asking myself what the best practice is, when publishing a asp.net 2.0
website. So when I precompile the website, to put it online, i get a lot of
DLLs and ascx/aspx files. So i put them online, and all works, so far, so
good.

But the question is now, when I make a simple change in a .cs-File, then I
publish again the website, to get all precompiled dlls, so I have to upload
again all DLLs, ok, that's ok, but I also have to upload all ascx and aspx
files, because the reference has changed.

Has someone a solution to this??

Thanks
Patrick
 
G

Garth H

Unless you're adding functions or methods leveraged in your aspx/ascx
files, you shouldn't have to upload them as well.
 
P

Patrick

yes, that was like this in Visual Studio 2003. But in the 2005 when
publishing the website, to the *.aspx/ascx something like this is added:

<%@ page language="C#" autoeventwireup="true" inherits="Admin,
App_Web_d5-k97r2" %>

and as you can see, inherits sais "class", "DLL", in this case the DLL-Name
is "App_Web_d5-k97r2.dll", but when publishing again the solution, this name
changes, and then dhte aspx referers to a wrong old dll.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top