You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, static output path to the MVVM SourceGen assembly was used to pack the MVVM project.
This leads to error when OutputPath was updated dynamically when testing or in forks.
So, here, we'll update the build so that the SourceGen build outputs will be dynamically packed.
<ErrorCode="NCTDEV01"Text="The 'GetBuildOutputsPerTarget' target is meant to output the build items per 'TargetFramework'. Please call the target with a non-empty 'TargetFramework'."/>
15
+
</Target>
16
+
17
+
<!--
18
+
Gathers various Build Outputs from included Project per 'TargetFramework'.
19
+
This target is called in by the 'GetBuildOutputs' target to combine build outputs from all 'TargetFrameworks'.
When the '$(IncludeContentInPack)' property is false, files specified via '@(None)', '@(Content)' items
14
20
are excluded from the NuGet package. Adding '@(PackageFile)' items directly to '%(_PackageFiles)' item
@@ -45,4 +51,41 @@
45
51
Text="The package file ('%(Identity)') is 'TargetFramework' specific and should include the value ('$(TargetFramework)') somewhere in the target path ('%(PackagePath)')." />
0 commit comments