$(SolutionDir) MSBuild property incorrect when running Sandcastle Help File Builder via CMD
问题 When I run the Sandcastle Help File Builder project file (for example, myproject.shfbproj ) using Windows CMD, I get an annoying issue: $(SolutionDir) has the same value as $(ProjectDir) , and this means that project documentation sources won't build correctly, because I'm adding custom targets which already use $(SolutionDir) . If I build the whole Sandcastle Help File Builder from Visual Studio it builds successfully. I'm using the following command (executed from the directory where the