开发者

Controlling what Web/MSDeploy publishes: PDF files?

I'm using VS2010 and WebDeploy(MSDeploy) to automate publishing an ASP.NET web-site to the public server. The problem is it doesn't publish .PDF files. They seem to be ignored, maybe as a build artifact, or non-publishable content. How can I change the list of file extensions or folders tha开发者_如何转开发t are included in the deploy?


I assume the PDF files are included in Visual Studio. Right-click the file in Solution Explorer -> click Properties. Set Build Action to "Content". Then Web Deploy will pick it up.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜