Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Import dependencies.props last to ensure TargetFramework is set first
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate McMaster committed Sep 30, 2017
1 parent bd8b4d8 commit fb142f0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<Project>
<Import Project="build\dependencies.props" />
<Import Project="build\dependencies.targets" />
<Import Project="build\dependencies.g.targets" Condition="Exists('build\dependencies.g.targets') AND '$(DesignTimeBuild)' != 'true'" />
</Project>
1 change: 0 additions & 1 deletion build/common.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project>
<Import Project="dependencies.props" />
<Import Project="..\version.props" />

<PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions build/dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@
<XunitVersion>2.3.0-beta2-build3683</XunitVersion>
<XunitRunnerVisualStudioVersion>2.3.0-beta2-build1317</XunitRunnerVisualStudioVersion>
</PropertyGroup>

<Import Project="$(DotNetPackageVersionPropsPath)" Condition=" '$(DotNetPackageVersionPropsPath)' != '' " />
</Project>
1 change: 0 additions & 1 deletion test/WebSites/FSharpWebSite/FSharpWebSite.fsproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="FSharp.NET.Sdk; Microsoft.NET.Sdk.Web">
<Import Project="..\..\..\build\dependencies.props" />

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
Expand Down

0 comments on commit fb142f0

Please sign in to comment.