MSBuildSdks icon indicating copy to clipboard operation
MSBuildSdks copied to clipboard

Skipping unsupported projects does not exclude NuGet imports during restore

Open jeffkl opened this issue 2 years ago • 0 comments

This new feature breaks the build because GetProjectsToSkip runs before Restore and does not ignore missing imports from packages, causing errors like error MSB4019: The imported project "C:\msbuild\CompileModule.proj" was not found. Confirm that the expression in the Import declaration "\msbuild\CompileModule.proj" is correct, and that the file exists on disk. 4.0.0 breaks the build, I'm rolling back to 3.1.6

Originally reported at https://github.com/microsoft/MSBuildSdks/issues/438#issuecomment-1546260640

jeffkl avatar May 30 '23 16:05 jeffkl