To answer your specific question "How do you install the Roslyn compiler in upgraded Kentico 11 without Visual Studio?", the simplest thing to do is create/install a new instance of Kentico 11 code on your local machine. Copy the files from the version 11 instance to the v10 instance.
More specifically:
- copy all files in the
/CMS/bin/roslyn
- Copy the
packages.config
file from the /cms
directory
- Update your web.config in the
/cms
directory to include this node:
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
</compilers>
</system.codedom>
This should get you by without needing to install anything using Visual Studio. I'm also assuming you are simply FTP'ing the files.