When running the MSBuild.exe path to solution.sln /t:Rebuild command, I keep getting the following error:
SolutionFilePath.csproj(539,5): error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more
information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is …\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.0\build\net46\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props.
I verified and the visual studio configuration and ‘Automatically check for missing packages during build in Visual Studio’ is enabled.
What else could it be?