English 中文(简体)
相当于从指挥线向视频演播室网站项目提供“专用页面”指挥
原标题:Run equivalent to "Build Page" command for Visual Studio web site project from command line

。 Tip/Trick: Bestizing ASP.NET 2.0 Web Project Building Performance with VS 2005, “Build page” press available within Vision Site projects do如下:

解决方案将汇编所有像以前一样的类别图书馆项目,然后汇编编码目录和Global.asax文档,然后而不是在网站上重新确认所有页页,但只能核实你正在使用的网页,以及任何用户控制

是否有办法从ms布和/或指挥线进入这一功能?

I am setting up an automated build of a large Visual Studio web site project (based on Kentico CMS), which consists of:

  • a large number of CMS-related pages and user controls that we do not change
  • a small number of custom "web part" user controls that we are actively developing, all within a CMSWebParts/Custom directory within the web site

整个网站使用蚊帐进行编造前需要10分钟,这太慢,无法建造。 理想的情况是,我要采取先于我们习俗法典的步骤。 值得注意的是,我们实际上没有部署预产产出(没有为Kentico场址建议),这一步骤只是为了验证C.ascx文档中的代码。

最佳回答

我发现,减少对大型网站进行小规模改动的预选时间的最佳方法是利用伙伴关系。 网上汇编工具(aspnet_compiler.exe)与内部汇编。

我们的建筑文字使用以下指挥工具:

aspnet_compiler.exe -v / -p C:path oMyWebSite

该指挥部具体规定了进入网站的实际途径,但没有确定目标。 Dir方案使申请在内部汇编。

The benefit of in-place compilation is that aspnet_compiler will by default only compile files that have changed since the web site was last compiled (you can force it to recompile everything with the -c option). For example, when I run the above command against the web site for the first time, it takes about 10 mins to run. If I then change a single file and run it again, it only takes 30 seconds or so.

你可能很想知道,哪些汇编工具“知识”文档是如何改变的。 内部对所汇编的申请进行汇编,即,你用App_Web_xdqqvn5q.dll和缺省等文件获得最后定本。 产出实际上是在“临时伙伴关系网文档”夹中产生的。 当你具体指明一条物理途径时(而不是一个IIS元数据库),就使用了你形象中的倍数,例如: C:Usersyour.nameAppData LocalTempT Chargé ASP.NET files. 你的网络应用源代码与临时伙伴关系储存的数据相互参照。 NET记载了变化。

问题回答

我认为这可能有助于你完成以下工作:

http://msdn.microsoft.com/en-us/library/d293881.aspx

从我读到的,你可以从视力演播室指挥台或从窗户指挥站管理。

<>Update:

我在互联网上找不到任何东西,涉及仅建一页,而使用作为pnet_compiler 而没有。 - 参数应当加快汇编进程,因为它只能对已经改变的内容进行反驳。 如果自上个建筑以来只有一页的文字内容才发生变化,那么编辑的运行就应当与构建页相类似。

-c

Specifies that the application to be compiled should be fully rebuilt. Components that have already been compiled are compiled again. If this option is omitted, the tool builds only those parts of the application that have been modified since compilation was last performed.

页: 1

rel=“nofollow”>http://msdn.microsoft.com/en-us/library/ms229863.aspx





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签