Skip to content

Commit

Permalink
Remove framework assembly references (#49)
Browse files Browse the repository at this point in the history
Add DevelopmentDependency
  • Loading branch information
jeffkl authored Apr 5, 2019
1 parent 4e710e2 commit 3c4c25b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/SlnGen.Build.Tasks/SlnGen.Build.Tasks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<PackageProjectUrl>https://github.com/jeffkl/SlnGen</PackageProjectUrl>
<RepositoryUrl>https://github.com/jeffkl/SlnGen.git</RepositoryUrl>
<PackageTags>msbuild;visualstudio;solution</PackageTags>
<DevelopmentDependency>true</DevelopmentDependency>
</PropertyGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
Expand Down Expand Up @@ -46,4 +47,11 @@
<PackageId>SlnGen</PackageId>
</PropertyGroup>
</Target>

<Target Name="RemoveFrameworkAssemblyReferences"
BeforeTargets="GenerateNuspec">
<ItemGroup>
<_FrameworkAssemblyReferences Remove="@(_FrameworkAssemblyReferences)" />
</ItemGroup>
</Target>
</Project>

0 comments on commit 3c4c25b

Please sign in to comment.