在哪里"允许这precompiled网站是更新"检查在Visual Studio 2010? [英] Where's the "Allow this precompiled site to be updatable" check in Visual Studio 2010?

查看:308
本文介绍了在哪里"允许这precompiled网站是更新"检查在Visual Studio 2010?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要做的但一步让我取消允许这台precompiled网站是更新选项,但我没有看到,在Visual Studio 2010中发布网站对话框。

I need to do this but one step leads me to uncheck the "Allow this precompiled site to be updatable" option, but I don't see that in the publish website dialog on Visual Studio 2010.

有谁知道我怎么能做到这一点在Visual Studio 2010中?

Does anyone know how can I do that on Visual Studio 2010?

推荐答案

这个选项可用于 ASP.Net网站的项目不是 ASP.Net Web应用程序即可。右键单击解决方案资源管理,然后选择添加新网站......对,你会得到该复选框

This option is available for ASP.Net Web Site projects not ASP.Net Web Applications. Right click on the solution explorer and select Add New Web Site...against that you will get that checkbox

看看这个 Web应用程序项目与网站项目,在差异汇总,你将看到:

Check out this Web Application Projects versus Web Site Projects, Under Summary of Differences, you will see:

编辑:

Web应用程序项目


  1. 您明确编译用于开发或源代码控制计算机上的源$ C ​​$ C。

  2. 将默认情况下,code文件(除的.aspx和.ascx文件)编译生成单个组件。

网站项目


  1. 源$ C ​​$ C通常是动态(自动)由ASP.NET编写服务器上的第一次该网站已被安装或更新后收到的请求。

  1. The source code is typically compiled dynamically (automatically) by ASP.NET on the server the first time a request is received after the site has been installed or updated.

您可以precompile网站(编译提前开发计算机或服务器上)。

在默认情况下,编译生成多个组件。

By default, compilation produces multiple assemblies.

这篇关于在哪里"允许这precompiled网站是更新"检查在Visual Studio 2010?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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