This project is read-only.

Make RazorGenerator buildable using only VS 2013

Jan 23, 2015 at 1:09 AM
Right now, it requires pieces all the way back to VS 2010, making it very hard for anyone to build. We need to clean that up so that anyone will be able to build it and send PRs to fix various VSIX issues.

If that means breaking VS2010 compat, then so be it. If needed, we can even break VS2012 compat, and only have it work with 2013 (and 2015).
Jan 23, 2015 at 1:25 AM
On my machine with 2012/2013/2015, trying to build RazorGenerator.Tooling.sln fails with:
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3274: The primary reference "Microsoft.VisualStudio.Shell.10.0, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".
If I change RazorGenerator.Tooling to target 4.5, then I get passed this error. It then build successfully, with only some warnings related to RazorGenerator.MsBuild:
EXEC : warning : 17 issue(s) found with package 'RazorGenerator.MsBuild'.
  Issue: Assembly outside lib folder.
  Description: The assembly 'tools\RazorGenerator.Core.dll' is not inside the 'lib' folder and hence it won't be added as reference when the package is installed into a project.
  Solution: Move it into the 'lib' folder if it should be referenced.

etc.. 16 more of these
I'm guessing these are benign.

However the build is not producing any VSIX at all, and the Results folder ends up empty.
Jan 28, 2015 at 6:21 PM
Ok, everything can now be built with just VS 2013 and VS 2013 SDK on the box!