Changed TargetFrameworkVersion to be used with template parameter

When adding a new NUnit project in Visual Studio, currently it discards user's
choice of target framework version and it always uses .NET v4.5.
With this change, project applies the user's choice.
This commit is contained in:
Serhan Tutar 2018-02-07 23:39:34 +03:00
Родитель 7b96825ae3
Коммит 6321ee1fea
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NUnit.Tests</RootNamespace>
<AssemblyName>NUnit.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v$targetframeworkversion$</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Просмотреть файл

@ -10,7 +10,7 @@
<AssemblyName>NUnit.Tests</AssemblyName>
<FileAlignment>512</FileAlignment>
<MyType>Windows</MyType>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v$targetframeworkversion$</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>