使用Visual Studio .NET 2005发布ASP.NET网站

编程入门 行业动态 更新时间:2024-10-16 00:23:09
本文介绍了使用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_Codepiled bin / App_Code.dll bin / App_Web_p5v6buoq.dll bin /App_Web_xx-bm_x8.dll 这很好,除了我不知道如何处理以下这些 文件: PrecompiledApp.config bin / App_Codepiled 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 http:// www.nathansokalski/

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_Codepiled 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_Codepiled 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 www.nathansokalski/

推荐答案

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_Codepiled NSbin / App_Code.dll NSbin / App_Web_p5v6buoq .dll NSbin / App_Web_xx-bm_x8.dll NST这很好,除了我不知道如何处理以下 NSthese文件: NS> NSPrecompiledApp.config NSbin / App_Codepiled 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 ::博客: spaces.msn/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_Codepiled 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_Codepiled 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: spaces.msn/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开发者门户网站: www.eggheadcafe UnBlog: petesbloggerama.blogspot " 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 developer portal: www.eggheadcafe UnBlog: petesbloggerama.blogspot "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_Codepiled bin / App_Code.dll bin / App_Web_p5v6buoq.dll bin / App_Web_xx-bm_x8.dll 这很好,除了我不知道如何处理以下这些 文件: PrecompiledApp.config bin / App_Codepiled 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 http:// www.nathansokalski/

好的,这很有用。 / bin /目录中的其他文件 和PrecompiledApp.config文件怎么样?谢谢。 - Nathan Sokalski nj * *******@hotmail http:// www.nathansokalski/ " Michael Nemtsev" < ne ***** @ msn写信息 新闻:17 ************************* **@msnews.microsof t ... 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 www.nathansokalski/ "Michael Nemtsev" <ne*****@msnwrote in message news:17***************************@msnews.microsof t... 你好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_Codepiled NSbin / App_Code.dll NSbin / App_Web_p5v6buoq.dll NSbin / App_Web_xx-bm_x8.dll NST这很好,除了我不知道如何处理以下 NSthese文件: NSNSPrecompiledApp.config NSbin / App_Codepiled 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 ::博客: spaces.msn/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_Codepiled 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_Codepiled 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: spaces.msn/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网站

本文发布于:2023-11-06 20:33:30,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站   Studio   Visual   NET   ASP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!