Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 9193158

Browse files
committed
Add DesignTimeBuild msbuild property
Sometimes doing incremental builds fail without this parameter set.
1 parent e351090 commit 9193158

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.cake

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ Task("libs")
102102
{
103103
NuGetRestore("./generated/AndroidSupport.sln", new NuGetRestoreSettings { });
104104

105-
MSBuild("./generated/AndroidSupport.sln", c => c.Configuration = "Release");
105+
MSBuild("./generated/AndroidSupport.sln", c => {
106+
c.Configuration = "Release";
107+
c.Properties.Add("DesignTimeBuild", new [] { "false" });
108+
});
106109
});
107110

108111
Task("nuget-restore")
@@ -136,7 +139,7 @@ Task("nuget-validation")
136139
NeedsProjectUrl = true,
137140
NeedsLicenseUrl = true,
138141
ValidateRequireLicenseAcceptance = true,
139-
ValidPackageNamespace = new [] { "Xamarin", "Mono", "SkiaSharp", "HarfBuzzSharp", "mdoc" },
142+
ValidPackageNamespace = new [] { "Xamarin" },
140143
};
141144

142145
var nupkgFiles = GetFiles ("./output/*.nupkg");

0 commit comments

Comments
 (0)