Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 4fa0f71

Browse files
committed
For some reason, the common properties from MonoDevelop.props aren't picked up
1 parent fbb97ce commit 4fa0f71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildBuilder.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<TargetFrameworkVersion>$(MDFrameworkVersion)</TargetFrameworkVersion>
1010
<OutputPath>..\..\..\build\bin</OutputPath>
1111
<StartupObject>MonoDevelop.Projects.MSBuild.MainClass</StartupObject>
12-
<PlatformTarget Condition="$(IsWindows)">x86</PlatformTarget>
12+
<PlatformTarget Condition="$([MSBuild]::IsOsPlatform('Windows'))">x86</PlatformTarget>
1313
</PropertyGroup>
1414
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "/>
1515
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "/>

main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildResolver/MonoDevelop.MSBuildResolver.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<MSBuild_OSS_BinDir Condition="'$(OS)' == 'Unix' and '$(MSBuild_OSS_BinDir)' == '' and Exists('$(MSBuildToolsPath)\..\..\..\msbuild\15.0\bin\MSBuild.dll')">$(MSBuildToolsPath)\..\..\..\msbuild\15.0\bin\</MSBuild_OSS_BinDir>
1717
<OutputPath>..\..\..\..\build\bin\MSBuild</OutputPath>
1818
<DefineConstants>PUBLIC_API</DefineConstants>
19-
<PlatformTarget Condition="$(IsWindows)">x86</PlatformTarget>
19+
<PlatformTarget Condition="$([MSBuild]::IsOsPlatform('Windows'))">x86</PlatformTarget>
2020
</PropertyGroup>
2121
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "/>
2222
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "/>

0 commit comments

Comments
 (0)