开发者

How change build action from content to compile site wide

I'm trying to convert a asp.net website to asp.net web application. I need to change the build action for every file from "content" to "compile". How can i do this site width. I have a t开发者_StackOverflowoo many files to do this manually.


You can do this manually by editing .proj file, just replace Content with Compile. Here is an example:

<Project ToolsVersion="3.5"><ItemGroup><Content Include="WebForm1.aspx" /></ItemGroup>

<Project ToolsVersion="3.5"><ItemGroup><Compile Include="WebForm1.aspx" /></ItemGroup>

Why you want to do this?

s

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜