Skip to content

Commit a0b8bcf

Browse files
Merge pull request #8410 from dotnet/backport/pr-8378-to-main
[main] Fix build error sourcelink EmbedUntrackedSources
2 parents bcaac22 + 20b1aea commit a0b8bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/Microsoft/Build/Tasks/Windows/GenerateTemporaryTargetAssembly.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private bool ExecuteLegacyGenerateTemporaryTargetAssembly()
179179

180180
globalProperties[assemblyNamePropertyName] = AssemblyName;
181181
globalProperties[targetAssemblyProjectNamePropertyName] = currentProjectName;
182-
182+
globalProperties["EmbedUntrackedSources"] = "false";
183183
Dictionary<string, ITaskItem[]> targetOutputs = new Dictionary<string, ITaskItem[]>();
184184
retValue = BuildEngine.BuildProjectFile(tempProj, new string[] { CompileTargetName }, globalProperties, targetOutputs);
185185

0 commit comments

Comments
 (0)