Skip to content

Commit

Permalink
Update target framework version
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutch committed Mar 28, 2017
1 parent 7cd3e0b commit 1c890f1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<OutputType>Library</OutputType>
<RootNamespace>MonoDevelop.AddinMaker.Tests</RootNamespace>
<AssemblyName>MonoDevelop.AddinMaker.Tests</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<IsAddin>False</IsAddin>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
1 change: 0 additions & 1 deletion MonoDevelop.AddinMaker/MonoDevelop.AddinMaker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<OutputType>Library</OutputType>
<RootNamespace>MonoDevelop.AddinMaker</RootNamespace>
<AssemblyName>MonoDevelop.AddinMaker</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
10 changes: 6 additions & 4 deletions MonoDevelop.Addins.Tasks/MonoDevelop.Addins.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
</Project>
<!-- TODO can we determine this from the target MD instance early enough for the project system to use it? -->
<PropertyGroup>
<_AddinMakerFramework>v4.6.1</_AddinMakerFramework>
<TargetFrameworkVersion>$(_AddinMakerFramework)</TargetFrameworkVersion>
</PropertyGroup>
</Project>
2 changes: 2 additions & 0 deletions MonoDevelop.Addins.Tasks/MonoDevelop.Addins.targets
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
<Message Text = "MDAddinsDir: $(MDAddinsDir)" />
<Message Text = "MDBinDir: $(MDBinDir)" />

<Error Text = "Please remove TargetFrameworkVersion from your project file" Condition="'$(_AddinMakerFramework)'!='$(TargetFrameworkVersion)'"/>

<PropertyGroup>
<MDToolExe Condition="Exists('$(MDBinDir)\vstool.exe')">$(MDBinDir)\vstool.exe</MDToolExe>
<MDToolExe Condition="'$(MDToolExe)'==''">$(MDBinDir)\mdtool.exe</MDToolExe>
Expand Down

0 comments on commit 1c890f1

Please sign in to comment.