zoukankan      html  css  js  c++  java
  • Solved: “Cannot execute a program. The command being executed was oslyncsc.exe”

    When you publish your ASP.NET project to a hosting account such as GoDaddy, you may run into the issue below. This issue may occur even though your code works fine in localhost.

    Server Error in ‘/’ Application.
    .
    Parser Error 
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
    .
    Parser Error Message: Cannot execute a program. The command being executed was “G:PleskVhostswebsite.comhttpdocsin oslyncsc.exe” /shared /keepalive:”10″ /noconfig  /fullpaths @”C:WindowsMicrosoft.NETFrameworkv4.0.30319Temporary ASP.NETFiles oot4a4c810d6d29243eslpxwrhm.cmdline”.
     
     

    Resolution

    A simple solution for this issue is that removing Roslyn compiler plugin from your project and using old compiler. In order to remove Roslyn:
    1. Ffollow “Tools > NuGet Package Manager > Manage NuGet Packages for Solution” in Visual Studio
    2. Find “DotNetCompilerPlatform” and uninstall it
  • 相关阅读:
    NodeJs实现图片上传
    初步认识Express框架渲染视图
    在javascript中使用replace
    javascript作用域与闭包
    eviews面板数据的操作
    我做的python常用的小技巧
    css3学习笔记
    div垂直居中的问题
    display和visibility的区别
    关于call和apply的那点事儿
  • 原文地址:https://www.cnblogs.com/nele/p/6099564.html
Copyright © 2011-2022 走看看