Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Cleanup Directory.build.props and update references #1127

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions Source/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@
<OutputPath>$(MSBuildThisFileDirectory)..\Bin\$(Configuration)\</OutputPath>
<DocumentationFile Condition="'$(Configuration)' == 'Release'">$(MSBuildThisFileDirectory)..\Bin\$(Configuration)\$(TargetFramework)\$(PackageId).xml</DocumentationFile>

<!-- Enable sourcelink support -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' And Exists('$(MSBuildThisFileDirectory)/../sharpdx.snk')">
<DefineConstants>$(DefineConstants);SHARPDX_SIGNED</DefineConstants>
Expand All @@ -46,11 +43,24 @@
<DelaySign>true</DelaySign>
</PropertyGroup>

<!-- Enable sourcelink support -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="2.3.38" PrivateAssets="All" />
<PackageReference Include="SharpGenTools.Sdk" Version="1.1.3-ci489" PrivateAssets="All" />
<PackageReference Include="SharpGen.Doc.Msdn.Tasks" Version="1.1.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All"/>
</ItemGroup>

<PropertyGroup>
<NerdbankGitVersioningVersion>2.3.38</NerdbankGitVersioningVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="$(NerdbankGitVersioningVersion)" PrivateAssets="All" />
<PackageReference Include="SharpGenTools.Sdk" Version="1.1.3-ci499" PrivateAssets="All" />
<PackageReference Include="SharpGen.Doc.Msdn.Tasks" Version="1.1.0" PrivateAssets="All" />
<SharpGenGlobalNamespaceOverrides Include="InterfaceArray" Override="ComArray" />
<SharpGenGlobalNamespaceOverrides Include="MemoryHelpers" Override="Utilities" />
<SharpGenGlobalNamespaceOverrides Include="BooleanHelpers" Override="Utilities" />
Expand Down