diff options
Diffstat (limited to 'main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildBuilder.csproj')
-rw-r--r-- | main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildBuilder.csproj | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildBuilder.csproj b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildBuilder.csproj index eb3b91535c..798cc32593 100644 --- a/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildBuilder.csproj +++ b/main/src/core/MonoDevelop.Projects.Formats.MSBuild/MonoDevelop.MSBuildBuilder.csproj @@ -9,10 +9,15 @@ <TargetFrameworkVersion>$(MDFrameworkVersion)</TargetFrameworkVersion> <OutputPath>..\..\..\build\bin</OutputPath> <StartupObject>MonoDevelop.Projects.MSBuild.MainClass</StartupObject> - <PlatformTarget Condition="$([MSBuild]::IsOsPlatform('Windows'))">x86</PlatformTarget> </PropertyGroup> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "/> - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "/> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>x64</PlatformTarget> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugWin32|x86' " /> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>x64</PlatformTarget> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ReleaseWin32|x86' " /> <!-- TODO: Linux --> <PropertyGroup> <MSBuild_OSS_BinDir Condition="'$(OS)' == 'Windows_NT'">$(MSBuildToolsPath)\</MSBuild_OSS_BinDir> @@ -41,12 +46,14 @@ <Private>False</Private> </Reference> </ItemGroup> - <ItemGroup> - <None Include="app.config" Condition="!$(IsWindows)"> + <ItemGroup Condition=" '$(Configuration)' == 'Debug' OR '$(Configuration)' == 'Release' "> + <None Include="app.config"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <Link>MonoDevelop.MSBuildBuilder.exe.config</Link> </None> - <None Include="app.windows.config" Condition="$(IsWindows)"> + </ItemGroup> + <ItemGroup Condition=" '$(Configuration)' == 'DebugWin32' OR '$(Configuration)' == 'ReleaseWin32' "> + <None Include="app.windows.config"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <Link>MonoDevelop.MSBuildBuilder.exe.config</Link> </None> |