You can unload and reload projects one by one in solution. Then build and run project.
after updating to 2019 visual studio 16.7.1 projects cannot load anumore
I just updated to the latest version of visual studio and no projects can be loaded. I receive the following errors, which don't show when the project is loaded with visual studio 2017:
D:\Projects2015\ATOExplorer\FBOExplorer\FBOExplorer.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\DBFC\DBFC.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FCMC\FCMC.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FCUI\FCUI.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FCPL\FCPL.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FBWS\FBWS.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FCPLContent\FCPLContent.contentproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\ucnTabControlNew\ucnTabControlNew.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FBOCommServerClient\FBOCommServerClient.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FBOCommServerProxy\FBOCommServerProxy.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\FCKR\FCKR.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\AAACommon\AAACommon.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
D:\Projects2015\ATOExplorer\SimpleImpersonation\src\SimpleImpersonation.csproj : error : Method not found: 'System.Collections.Generic.IList`1<System.String> Microsoft.Build.Framework.SdkResult.get_AdditionalPaths()'.
2 answers
Sort by: Newest
-
-
Tristan Palmer 11 Reputation points
2020-08-18T11:01:53.417+00:00 Some more detail. In the end unregistering and reregistering the MsBuild package in the GAC fixed this issue for us:
gacutil /u "Microsoft.Build.Framework, Version=15.1.0.0" cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin gacutil /i Microsoft.Build.Framework.dll
The reason we needed a re-register is that we need that package in the GAC to provide access to the 'GetPathToStandardLibraries' method as part of our build process. Whether that's "correct" or not I don't know, but it's what we needed to do.