开发者

Visual Studio 2010 Not Publishing All Files to File System

V开发者_StackOverflow社区isual Studio 2010 is not publishing all files to the file system. In VS 2008 there was an option to include all files in the project when publishing. However, VS 2010 does not have this option. When I go to publish using the file system publish method, certain files are not published such as .pdf files and .flv files. These files are included in the project so I am not sure why they do not get published.


If you specify the items you added to your project as having a build action of "Content" (instead of the default for unknown item types, which I think is "None"), then VS will automatically include it when publishing.


VS2010 has an option under

Project -> Package/Publish Settings -> Package/Publish Web (Tab) -> Items to Deploy

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜