VS2012 Publish Web Site dlls instead of cs-files

烂漫一生 提交于 2019-12-04 05:26:13

The problem will be probably in the Publish setting. Please check if the option Precompile during publishing is selected. You can find the option here - Right click on the Project - Publish Web Site - section Settings - subsection File Publish Options - option Precompile during publishing.

To publish your website in one DLL:

  1. In Visual Studio, open a web application project.
  2. Right click the project name in Solution Explorer, and then choose Publish.
  3. Select the Settings tab.
  4. Expand File Publish Options, and then select Precompile during publishing. Click Configure.

Refrence: https://msdn.microsoft.com/en-us/library/hh475319(v=vs.110).aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!