In MVC5 Project there are 3 exe files:
My web-hosting provider is not letting me to publish exe files, and he told me to delete them.
During web-deploy I remove selection for this 3 files and publish the rest of the project.
When the publishing process finish and I try to access my website I got the error message that the csc.exe is missing :)
Can I do something to not publish exe files and also my website to run as expected?
Edit - I changed MVC4 with MVC5!
Edit - I discuss with my web-hosting provider and he allowed me to read/write exe files and now my project is running as expected.
The MVC5 was released on October 2013 that runs on the .NET Framework 4.5 and 4.5.1 with Visual Studio 2013. MVC Web application provides different versions such as MVC1, MVC2, MVC3, MVC4, and MVC5. Each version of MVC has its own programming templates. The MVC5 programming model runs on the .NET Framework 4.5 or later version.
In the New ASP.NET Web Application dialog, choose MVC and then choose OK. Visual Studio used a default template for the ASP.NET MVC project you just created, so you have a working application right now without doing anything! This is a simple "Hello World!" project, and it's a good place to start your application.
Visual Studio used a default template for the ASP.NET MVC project you just created, so you have a working application right now without doing anything! This is a simple "Hello World!" project, and it's a good place to start your application. Press F5to start debugging.
On non-Windows platforms, such as macOS and Linux, EXE files are not used for executables. macOS, for example, uses .APP files to run apps.
You can find a comprehensive explanation here: https://visualstudiomagazine.com/articles/2012/03/20/10-questions-10-answers-on-roslyn.aspx
And here: http://blogs.msdn.com/b/webdev/archive/2014/05/12/enabling-the-net-compiler-platform-roslyn-in-asp-net-applications.aspx
I got the sabe issue with exe files, so I've unnistalled it using the command prompt in the Visual Studio 2015:
uninstall-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform
After uninstalling this package, these "exe" files are not being created in the bin Folder anymore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With