Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 15b4ff4

Browse files
StephaneDelcroixJason Smith
authored andcommitted
[XamlC] change module MVID (#1045)
1 parent bc51881 commit 15b4ff4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Xamarin.Forms.Build.Tasks/XamlCTask.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ public override bool Execute(out IList<Exception> thrownExceptions)
204204
#pragma warning restore 0618
205205
resourcesToPrune.Add(resource);
206206
}
207+
if (hasCompiledXamlResources) {
208+
Logger.LogString(2, " Changing the module MVID...");
209+
module.Mvid = Guid.NewGuid();
210+
Logger.LogLine(2, "done.");
211+
}
207212
if (!KeepXamlResources) {
208213
if (resourcesToPrune.Any())
209214
Logger.LogLine(2, " Removing compiled xaml resources");

0 commit comments

Comments
 (0)