Hello,
If your project has Roslyn references and you are deploying it on an IIS server,
you might get unwanted errors on the website as many hosting providers still have not upgraded their servers and hence do not support Roslyn
To resolve this issue, you will need to remove the Roslyn compiler from the project template. Removing Roslyn shouldn't affect your code's functionality.
It will work fine.
Try to do the following steps:
1)Remove from following Nuget Packages using command line shown below (or you can use GUI of Nuget Package manager by Right Clicking on Root Project Solution and removing them).
Properties in Umbraco components are not available after publishing
When i remove compilers tag I receive this screenshot error how can i solve this promblems.
Hello, If your project has Roslyn references and you are deploying it on an IIS server, you might get unwanted errors on the website as many hosting providers still have not upgraded their servers and hence do not support Roslyn
To resolve this issue, you will need to remove the Roslyn compiler from the project template. Removing Roslyn shouldn't affect your code's functionality. It will work fine.
Try to do the following steps:
1)Remove from following Nuget Packages using command line shown below (or you can use GUI of Nuget Package manager by Right Clicking on Root Project Solution and removing them).
PM> Uninstall-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform PM> Uninstall-package Microsoft.Net.Compilers
2)Remove the following code from your Web.Config file and restart IIS. (Use this method only if step 1 doesn't solve your problem.)
is working on a reply...