Skip to content

Commit 20b1aea

Browse files
singhashish-wpfgithub-actions
authored andcommitted
Fix build error sourcelink EmbedUntrackedSources
1 parent bac14e9 commit 20b1aea

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)