Casing conflict on mono / .net core on Linux/OSX
RazorGenerator does work fine under mono on OSX/Linux, however when using existing nuget packages and msbuild targets, generation of precompiled views fails due to a casing conflict.
As you can see here:
packages/RazorGenerator.MsBuild.2.4.0/tools/v1/RazorGenerator.Core.v1.dll packages/RazorGenerator.MsBuild.2.4.0/tools/v2/RazorGenerator.Core.V2.dll packages/RazorGenerator.MsBuild.2.4.0/tools/v3/RazorGenerator.Core.V3.dll
Version 2 and Version 3 assemblies have an uppercase 'V' on it's name. However GetAssembly() method inside RazorGenerator.Core/HostManager.cs, is using a lowercase 'v' while composing the name of final assembly to load. Thus failing on linux/osx and other OS where the filesystem is case-dependant.
Pretty cool to know it works on Linux. Would you care to send a PR for this? My guess it's fixing the value here - https://github.com/RazorGenerator/RazorGenerator/blob/master/RazorGenerator.Core.v1/RazorGenerator.Core.v1.csproj#L12
Well, the issue is actually the opposite, v1 (as it is lowecase) does work. But V2 & V3 do not work..
I'll try to make a pull-req tonite.
Hopefully this pull-req should fix the issue.