469,613 Members | 1,204 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

A web site running need cs source file

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.
Dec 26 '07 #1
2 1596
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
"DDD" wrote:
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.
Dec 26 '07 #2
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
"DDD" wrote:
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.
Dec 27 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Bob Murdoch | last post: by
8 posts views Thread by John | last post: by
5 posts views Thread by John | last post: by
8 posts views Thread by Graham | last post: by
4 posts views Thread by news.citenet.net | last post: by
reply views Thread by Wayne Sepega | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.