Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

How do you install the Roslyn compiler in upgraded Kentico 11 without Visual Studio?

$
0
0
My team is getting ready to upgrade from Kentico 8.2 to Kentico 11. On the 10-11 leg of the upgrade, the Microsoft.CodeDom.Providers.DotNetCompilerPlatform Nuget package needs to be installed. This is the Roslyn compiler package needed to allow the instance to execute C# 6+ code included in the upgrade. The recommended way to accomplish this is to use Visual Studio. That's fine for a developer testing the upgrade procedure, but when we run this for real it will be on our servers which have limited disk space and no Visual Studio. Is there a way to install this package using nuget.exe? For context, ours is an old Website project, not a Web Application. I've tried nuget install ... several times to no avail and I'm not sure if that's because there's some wrinkle in dealing with this scenario I'm not aware of?

Viewing all articles
Browse latest Browse all 8832

Trending Articles