Skip to content

Commit 74c1e13

Browse files
Added platform property to MsBuildSettingsBuild
We favored consistency within our if-statement by adding the platform property to the method MsBuildSettingsBuild when the context is running on Windows. This mirrors the previously implemented MsBuildSettingsRestore method, ensuring similar behavior and preventing potential build issues in the future.
1 parent a519b6c commit 74c1e13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ public BuildContext(ICakeContext context)
125125
if (context.IsRunningOnWindows())
126126
{
127127
MsBuildSettingsRestore.WithProperty("Platform", "Any CPU");
128+
MsBuildSettingsBuild.WithProperty("Platform", "Any CPU");
128129
}
129130
}
130131

0 commit comments

Comments
 (0)