I'm trying to get protocol buffers going with that protobuf-csharp-port. I want to have an automatic build by adding the .proto file and using the Custom Tool, and then getting a .cs file. For custom tool, I'm instructed to get a CmdTool out of a csharp-test package, and register it.
That worked, but then running the tool I get
System.InvalidOperationException: Before a project can be instantiated, Engine.BinPath
must be set to the location on disk where MSBuild is installed. This is used to evaluate
$(MSBuildBinPath).
at Microsoft.Build.Shared.ErrorUtilities.ThrowInvalidOperation(String resourceName, Object[] args)
at Microsoft.Build.BuildEngine.Project..ctor(Engine engine)
at CSharpTest.Net.CustomTool.VsInterop.CmdTool.GenerateCode(String defaultNamespace,
String inputFileName) in e:\Projects\Library\Tools\CmdTool\VsInterop\CustomTool.cs:line 50
I'm way out of my element, and can't seem to find any clue what to do, or how to get $(MSBuildBinPath) or Engine.BinPath happening.
Or even if there's a less-intricate way to get protogen running from F7, that would be nice.