Open svg2003 opened 7 months ago
@drewnoakes assigning you, if that's alright.
I'm seeing this too. Curiously, setting <DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
has no effect either.
As @svg2003 says, the exception's coming from here:
Both implicitState.MSBuildProjectDirectory
and implicitState.OutputRelativeOrFullPath
are nullable, yet Path.Combine
disallows null
arguments.
We need to understand why those values might be null for WIX projects (or in general). And in cases where they are null, we need to decide what to do about it. For example, should we just declare the project out-of-date? Or should we just skip certain checks?
The same problem exists higher up in the file, in:
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