使用Visual Studio .NET 2005发布ASP.NET网站 [英] Publishing An ASP.NET Website With Visual Studio .NET 2005

查看:86
本文介绍了使用Visual Studio .NET 2005发布ASP.NET网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近升级到Visual Studio .NET 2003到Visual Studio .NET

2005.在Visual Studio .NET 2003中,当我选择Build时,它会添加一个

* .dll,项目名称为同一目录中的/ bin /文件夹

作为源代码。但是,在Visual Studio .NET 2005中,当我选择

''发布网站'并选择了一个目标位置来放置它时,它将以下文件放入

它:

所有* .aspx文件

所有* .html文件

所有* .css文件

全部* .js文件

所有* .mdb文件

web.config

PrecompiledApp.config

images / * 。*

bin / App_Code.compiled

bin / App_Code.dll

bin / App_Web_p5v6buoq.dll

bin /App_Web_xx-bm_x8.dll

这很好,除了我不知道如何处理以下这些

文件:

PrecompiledApp.config

bin / App_Code.compiled

bin / App_Code.dll

bin / App_Web_p5v6buoq.dll

bin / App_Web_xx-bm_x8.dll

这些文件是什么,我怎么处理它们,为什么

现在有3 * .dll文件,不像只有一个像在Visual Studio中的那样

..NET 2003?谢谢。

-

Nathan Sokalski
nj * *******@hotmail.com
http:// www.nathansokalski.com/

I recently upgraded to from Visual Studio .NET 2003 to Visual Studio .NET
2005. In Visual Studio .NET 2003 when I would select ''Build'' it would add a
*.dll with the name of the Project to a /bin/ folder in the same directory
as the source code. However, in Visual Studio .NET 2005 when I selected
''Publish Web Site'' and selected a target location to place it in, it placed
the following files in it:
All *.aspx files
All *.html files
All *.css files
All *.js files
All *.mdb files
web.config
PrecompiledApp.config
images/*.*
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
This is fine, except I don''t know what to do with the following of these
files:
PrecompiledApp.config
bin/App_Code.compiled
bin/App_Code.dll
bin/App_Web_p5v6buoq.dll
bin/App_Web_xx-bm_x8.dll
What are each of these files, what do I do with each of them, and why are
there 3 *.dll files now, unlike just one like there was in Visual Studio
..NET 2003? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

推荐答案

Hello Nathan,

App_Code.dll是来自APP_CODE目录的已编译代码的结果

包含非分页代码


NSI最近从Visual Studio .NET 2003升级到Visual Studio

NS.NET 2005.在Visual Studio .NET 2003中我选择''Build''它

NS会将一个带有Project名称的* .dll添加到/ bin /

中的文件夹与源代码相同的目录。但是,在Visual Studio

NS.NET 2005中当我选择''发布网站'并选择目标

NSlocation来放置它时,它放置了以下文件其中:

NS>

NSAll * .aspx文件

NSAll * .html文件

NSAll *。 css文件

NSAll * .js文件

NSAll * .mdb文件

NSweb.config

NSPrecompiledApp.config

NSimages /*.*

NSbin / App_Code.compiled

NSbin / App_Code.dll

NSbin / App_Web_p5v6buoq .dll

NSbin / App_Web_xx-bm_x8.dll

NST这很好,除了我不知道如何处理以下

NSthese文件:

NS>

NSPrecompiledApp.config

NSbin / App_Code.compiled

NSbin / App_Code。 dll

NSbin / App_Web_p5v6buoq.dll

NSbin / App_Web_xx-bm_x8.dll

NSWhat是这些文件中的每一个,我该如何处理每个文件其中,并且

NS为什么有3 * .dll fi现在,不像只有一个像

NSVisual Studio .NET 2003?谢谢。

NS>

---

WBR,

Michael Nemtsev ::博客: http://spaces.msn.com/laflour


有时一个人仍然忠于一个事业,只因为它的对手没有,b $ b不再是平淡无奇的。 (c)Friedrich Nietzsche
Hello Nathan,

App_Code.dll is the result of compiled codes from the APP_CODE directory
that includes nonpaged code

NSI recently upgraded to from Visual Studio .NET 2003 to Visual Studio
NS.NET 2005. In Visual Studio .NET 2003 when I would select ''Build'' it
NSwould add a *.dll with the name of the Project to a /bin/ folder in
NSthe same directory as the source code. However, in Visual Studio
NS.NET 2005 when I selected ''Publish Web Site'' and selected a target
NSlocation to place it in, it placed the following files in it:
NS>
NSAll *.aspx files
NSAll *.html files
NSAll *.css files
NSAll *.js files
NSAll *.mdb files
NSweb.config
NSPrecompiledApp.config
NSimages/*.*
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSThis is fine, except I don''t know what to do with the following of
NSthese files:
NS>
NSPrecompiledApp.config
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSWhat are each of these files, what do I do with each of them, and
NSwhy are there 3 *.dll files now, unlike just one like there was in
NSVisual Studio .NET 2003? Thanks.
NS>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche


Nathan,

ASP.NET 2.0中的默认模型是不同的。太久解释了。简单

修复:如果你想要它的旧方法,你可以拥有它。下载Web

应用程序项目加载项,它将像在ASP.NET 1.1中一样工作。 - 事实上,甚至更好。
更好。只需搜索短语即可找到下载。

Peter


-

联合创始人,Eggheadcafe.com开发者门户网站:
http://www.eggheadcafe.com

UnBlog:
http://petesbloggerama.blogspot.com


" Nathan Sokalski"写道:
Nathan,
The default model in ASP.NET 2.0 is different. Too long to explain. Easy
fix: If you want it the old way, you can have it. Download the Web
Application Project Add-in and it will work just like in ASP.NET 1.1. -- even
better, in fact. Just search on the phrase to find the download.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Nathan Sokalski" wrote:

我最近升级到Visual Studio .NET 2003到Visual Studio .NET

2005.在Visual Studio .NET 2003中我会选择''Build''它会将一个带有项目名称的

* .dll添加到同一目录中的/ bin /文件夹中

作为源码。但是,在Visual Studio .NET 2005中,当我选择

''发布网站'并选择了一个目标位置来放置它时,它将以下文件放入

它:


所有* .aspx文件

所有* .html文件

所有* .css文件

所有* .js文件

所有* .mdb文件

web.config

PrecompiledApp.config

images /*.*

bin / App_Code.compiled

bin / App_Code.dll

bin / App_Web_p5v6buoq.dll

bin / App_Web_xx-bm_x8.dll


这很好,除了我不知道如何处理以下这些

文件:


PrecompiledApp.config

bin / App_Code.compiled

bin / App_Code.dll

bin / App_Web_p5v6buoq.dll

bin / App_Web_xx-bm_x8.dll


这些文件是什么,我怎么处理它们,以及为什么是* b $ b现在有3 * .dll文件,不像Visual Studio中那样的文件
..NET 2003?谢谢。

-

Nathan Sokalski
nj * *******@hotmail.com
http:// www.nathansokalski.com/


好的,这很有用。 / bin /目录中的其他文件

和PrecompiledApp.config文件怎么样?谢谢。

-

Nathan Sokalski
nj * *******@hotmail.com
http:// www.nathansokalski.com/


" Michael Nemtsev" < ne ***** @ msn.com写信息

新闻:17 ************************* **@msnews.microsof t.com ...
OK, that''s good to know. What about the other files in the /bin/ directory
and the PrecompiledApp.config file? Thanks.
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"Michael Nemtsev" <ne*****@msn.comwrote in message
news:17***************************@msnews.microsof t.com...

你好Nathan,


App_Code.dll是结果来自APP_CODE目录的已编译代码

包含非分页代码


NSI最近升级到Visual Studio .NET 2003到Visual Studio

NS.NET 2005.在Visual Studio .NET 2003中我选择''Build''它

NS将在项目名称中添加一个带有项目名称的* .dll到
N与源代码相同的目录。但是,在Visual Studio

NS.NET 2005中当我选择''发布网站'并选择目标

NSlocation来放置它时,它放置了以下文件其中:

NSNSAll * .aspx文件

NSAll * .html文件

NSAll * .css文件

NSAll * .js文件

NSAll * .mdb文件

NSweb.config

NSPrecompiledApp.config

NSimages / *。*

NSbin / App_Code.compiled

NSbin / App_Code.dll

NSbin / App_Web_p5v6buoq.dll

NSbin / App_Web_xx-bm_x8.dll

NST这很好,除了我不知道如何处理以下

NSthese文件:

NSNSPrecompiledApp.config

NSbin / App_Code.compiled

NSbin / App_Code.dll

NSbin / App_Web_p5v6buoq.dll

NSbin / App_Web_xx-bm_x8.dll

NSWhat是这些文件中的每一个,我怎么处理每个文件,并且

NS为什么有3 * .dll文件现在,不像只有一个是在NSVisual Studio .NET 2003中?
NSVisual Studio .NET 2003?谢谢。

NS ---

WBR,

Michael Nemtsev ::博客: http://spaces.msn.com/laflour


有时一个人仍忠实只是因为它的对手做了一个事业

不会停止平淡。 (c)Friedrich Nietzsche

Hello Nathan,

App_Code.dll is the result of compiled codes from the APP_CODE directory
that includes nonpaged code

NSI recently upgraded to from Visual Studio .NET 2003 to Visual Studio
NS.NET 2005. In Visual Studio .NET 2003 when I would select ''Build'' it
NSwould add a *.dll with the name of the Project to a /bin/ folder in
NSthe same directory as the source code. However, in Visual Studio
NS.NET 2005 when I selected ''Publish Web Site'' and selected a target
NSlocation to place it in, it placed the following files in it:
NSNSAll *.aspx files
NSAll *.html files
NSAll *.css files
NSAll *.js files
NSAll *.mdb files
NSweb.config
NSPrecompiledApp.config
NSimages/*.*
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSThis is fine, except I don''t know what to do with the following of
NSthese files:
NSNSPrecompiledApp.config
NSbin/App_Code.compiled
NSbin/App_Code.dll
NSbin/App_Web_p5v6buoq.dll
NSbin/App_Web_xx-bm_x8.dll
NSWhat are each of these files, what do I do with each of them, and
NSwhy are there 3 *.dll files now, unlike just one like there was in
NSVisual Studio .NET 2003? Thanks.
NS---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche



这篇关于使用Visual Studio .NET 2005发布ASP.NET网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆