File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 6666 <None Include =" App.config" />
6767 </ItemGroup >
6868 <ItemGroup >
69- <Content Include =" default.htm" />
69+ <Content Include =" default.htm" >
70+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
71+ </Content >
7072 </ItemGroup >
7173 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
7274 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Original file line number Diff line number Diff line change @@ -11,3 +11,5 @@ These starter templates show the default configuration required to run ServiceSt
1111Run run the script below to start the hosts above on VS.NET WebDev.WebServer.EXE at ports 5001-5004:
1212start_vs2010_webserver.bat
1313
14+ When embedding static files in a Console or Windows Service host, remember to set the Build Action = "Content" and Copy to Output Directory settings.
15+
Original file line number Diff line number Diff line change 7777 <None Include =" install.bat" />
7878 </ItemGroup >
7979 <ItemGroup >
80- <Content Include =" default.htm" />
80+ <Content Include =" default.htm" >
81+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
82+ </Content >
8183 </ItemGroup >
8284 <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8385 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
You can’t perform that action at this time.
0 commit comments