FastUpToDate: Up-to-date check threw System.ArgumentNullException for wix4 project #9348
Labels
Feature-Up-to-date
Build up-to-date check that avoids shelling out to MSBuild unless necessary.
Triage-Approved
Reviewed and prioritized
Milestone
Visual Studio Version
Version 17.7.7
Summary
TestWix4Package.zip
For wix4 project, FastUpToDate throws below exception.
Looking on place, MsBuildProjectDirectory is null, albeit ProjectTargetPath contains correct value.
This is in MSVS output
https://github.com/dotnet/project-system/blob/main/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/UpToDate/BuildUpToDateCheck.cs#L1084
Steps to Reproduce
Expected Behavior
No exception, and fastuptodate works for wix projects
Actual Behavior
Since fastcheck doesn't work, projects are constantly rebuilds
TestWix4Package.zip
User Impact
The text was updated successfully, but these errors were encountered: