I have Visual Studio 2013. I also have installed MSBuild Tools 2013. The following code gives me exception
var workspace=MSBuildWorkspace.Create(); >
var workspace=MSBuildWorkspace.Create();
You need to install the BuildTools for Visual Studio 2015.