A web site running need cs source file

D

DDD

I have a web site project using C#. If I release the web site in the
VS2005, all works well except that DLL file name has some strange,
name APP_Code_erwer234.dll. And erwer234 is a random string. Every
time after released, it will become APP_Code_dfdfgr3334.dll, In this
condition, the web site running needs aspx file and dll file.

APP_Code_asdfasd434.dll, etc.
Because of this, I have to use CSC to compile myself with my special
name. But, the following problem is more confused. After I copy the
compiled dll file to BIN folder in IIS, and also ASPX file, go to the
web site, ERROR message appear. ERROR message says that need CS source
file in PAGE folder. And I copy the CS file to PAGE. My god, it works
ok. In this condition, the web site running needs aspx, dll, and cs
file.

But why? It's strange.
Thanks.
 
S

Som Nath Shukla

hi there three method to deployment in asp.net
zxcopy tool
copy web tool
published wizard
in VS 2005
So dont wory
APP_Code_dfdfgr3334.dll these are dll generated for cs file in App_code
folder.other part is a hash v=based named which will changes.
Just copy your We site folder and put it in IIS root directry.
other wise user other two method of VS2005.

for detail see http://aspdotnet-som.blogspot.com
 
P

Peter Bromberg [C# MVP]

You could try using the Web Application Project model, which seems to me to
be a lot easier since everything gets compiled into a single assembly in the
/bin folder.
If you read the newsgroup threads you most likely will see a lot more
questions and frustration with Web Site Projects than with Web Application
Projects. BTW, your question would probably have been better directed to the
ASP.NET newsgroup since it's really not exactly a C# language issue.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
MetaFinder: http://www.blogmetafinder.com
 

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

Top