开发者

Need msbuild file that will publish a Web Application

开发者 https://www.devze.com 2022-12-27 05:58 出处:网络
Has anyone had success making an msbuild file that will publish a Web 开发者_如何学编程Application, not the old 2.0 web site but a Web Application?

Has anyone had success making an msbuild file that will publish a Web 开发者_如何学编程Application, not the old 2.0 web site but a Web Application?

This is not what I am looking for:

<MSBuild Projects="eRx.Web.SecureSiteShell.csproj"   Properties="Configuration=Debug;OutDir=$(OutputFolder)\$(OutputWeb)\bin\;WebProjectOutputDir=$(OutputFolder)\$(OutputWeb)\"   Targets="ResolveReferences;_CopyWebApplication" />

I tried simply using 'targets:Publish' but I get : Skipping unpublishable project.


Apparently this just isn't possible. My first hint was getting absolutely no response from this site.

I began to look into making a web setup project but was unsatisfied at having to edit the installation dialogues to get a custom installation folder. All I really need is something that will copy the published output of a Web Application (not Web Site you 2.0 peeps).

I think I have cheated the system by creating a simple Windows Setup program. Surprisingly I am able to include the primary output of my web application which satisfies my need. I DO have to manually add each projects debug symbols if I want them so the process can be lengthly but doable.

Like I said, not completely satisfied because I wanted to get the files in a nice deploy folder for my QA group to work with but feeding them an MSI has its advantages I suppose.

I leave this for anyone to comment on. I still can't believe I can't do this from msBuild or any other tool.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号