Reputation: 1203
I want to publish the Asp.Net MVC application. But when i publish the application, the code files are not converted as dll. The published folder contains all .cs files.
Can you please let me know how to publish the project without .cs files?
Upvotes: 0
Views: 251
Reputation: 1380
For Visual Studio 2012:
After open Publish Web window, go to "Settings" tab.
Here you find "File Publish Options"
Check the "Precompile during publishing" checkbox
I think now you can publish this successfully
For Visual 2010:
Check this link : Why Visual Studio 2010 publish website with source code?
Upvotes: 2