I am working on building a new build box which I would like to contain only bare bones essentials for .NET builds. I have installed the .NET 4.0 framework and now I would like to set up a command prompt that recognizes the msbuild command.
I’ve tried copying over the Visual Studio Command Prompt from my machine but it is missing a lot of prereqs to initialize properly and I feel like it includes way to much stuff anyway as all I need is the msbuild command.
So, is there a way to make the windows cmd to recognize the msbuild command through possibly a batch file?
Try adding the framework tools to your Path environment variable.
Default: C:\Windows\Microsoft.NET\Framework64[version number]
It should also run just fine if you use the full path in the command line.