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
Build started...
1>FastUpToDate: Up-to-date check threw an exception. Not up-to-date. System.ArgumentNullException: Value cannot be null.
1>Parameter name: path1
1> at System.IO.Path.Combine(String path1, String path2)
1> at Microsoft.VisualStudio.ProjectSystem.UpToDate.BuildUpToDateCheck.<>c__DisplayClass44_0.<<IsUpToDateInternalAsync>g__CheckAsync|0>d.MoveNext() (TestWix4Package)
1>FastUpToDate: Up-to-date check completed in 67.5 ms (TestWix4Package)
https://github.com/dotnet/project-system/blob/main/src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/UpToDate/BuildUpToDateCheck.cs#L1084
Steps to Reproduce
- Create new project from standard template: "MSI Package (Wix v4)"
- Try to build that project
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
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