diff options
author | Katelyn Gadd <kg@luminance.org> | 2018-04-16 16:54:53 +0300 |
---|---|---|
committer | Ludovic Henry <luhenry@microsoft.com> | 2018-04-16 16:54:53 +0300 |
commit | 7eff6686fdfe1cc6dc03e4dd14103be17b308ff5 (patch) | |
tree | 59be24c86b960351fec293653ef5fd89b685f9a6 /msvc/scripts | |
parent | a948ed91e745d1c928ddf5ccfe3d60749e341371 (diff) |
Default platform to net_4_x if none is specified, to fix tools that build without setting a platform (#8223)
* Default platform to net_4_x if none is specified, to fix tools that build without setting a platform
* [csproj] Update project files
Diffstat (limited to 'msvc/scripts')
-rw-r--r-- | msvc/scripts/csproj.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/msvc/scripts/csproj.tmpl b/msvc/scripts/csproj.tmpl index b29615faedd..2e3e929d902 100644 --- a/msvc/scripts/csproj.tmpl +++ b/msvc/scripts/csproj.tmpl @@ -3,6 +3,7 @@ <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">net_4_x</Platform>
<ProjectGuid>@PROJECTGUID@</ProjectGuid>
<OutputType>@OUTPUTTYPE@</OutputType>
<NoWarn>@DISABLEDWARNINGS@</NoWarn>
|