Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Commit

Permalink
use Directory.Build.props (#365)
Browse files Browse the repository at this point in the history
* use Directory.Build.props

* remove common.props
  • Loading branch information
ctaggart committed Sep 14, 2018
1 parent 0bf49f9 commit cf6e60e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 35 deletions.
17 changes: 17 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Project>
<PropertyGroup>
<Authors>Cameron Taggart</Authors>
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
<PackageIconUrl>https://ctaggart.github.io/SourceLink/SourceLink128.jpg</PackageIconUrl>
<PackageProjectUrl>https://github.com/ctaggart/SourceLink</PackageProjectUrl>
<PackageTags>sourcelink pdb symbols git sourceindexing debugging sourceserver build</PackageTags>

<!-- SourceLink related properties https://github.com/dotnet/SourceLink#using-sourcelink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-*" PrivateAssets="All"/>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../build/common.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<!-- https://github.com/NuGet/Home/wiki/Adding-nuget-pack-as-a-msbuild-target -->
Expand Down Expand Up @@ -43,6 +42,4 @@
<PackagePath>build/net461</PackagePath>
</Content>
</ItemGroup>

<Import Project="../build/sourcelink.props" />
</Project>
3 changes: 0 additions & 3 deletions SourceLink.Test/SourceLink.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../build/common.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<!-- https://github.com/NuGet/Home/wiki/Adding-nuget-pack-as-a-msbuild-target -->
Expand Down Expand Up @@ -34,6 +33,4 @@
<PackagePath>build/net461</PackagePath>
</Content>
</ItemGroup>

<Import Project="../build/sourcelink.props" />
</Project>
8 changes: 0 additions & 8 deletions build/build.proj

This file was deleted.

9 changes: 0 additions & 9 deletions build/common.props

This file was deleted.

10 changes: 0 additions & 10 deletions build/sourcelink.props

This file was deleted.

2 changes: 0 additions & 2 deletions dotnet-sourcelink/sourcelink.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../build/common.props" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp2.1</TargetFrameworks>
Expand All @@ -16,5 +15,4 @@
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
</ItemGroup>
<Import Project="..\dotnet-sourcelink-shared\dotnet-sourcelink-shared.projitems" Label="Shared" />
<Import Project="../build/sourcelink.props" />
</Project>

0 comments on commit cf6e60e

Please sign in to comment.