|
- <?xml version="1.0" encoding="utf-8"?>
- <!-- Based on https://github.com/terrafx/terrafx/blob/master/Directory.Build.props -->
- <!-- Copyright © Tanner Gooding and Contributors -->
- <Project>
-
- <!--
- Directory.Build.props is automatically picked up and imported by
- Microsoft.Common.props. This file needs to exist, even if empty so that
- files in the parent directory tree, with the same name, are not imported
- instead. The import fairly early and only Sdk.props will have been
- imported beforehand. We also don't need to add ourselves to
- MSBuildAllProjects, as that is done by the file that imports us.
- -->
-
- <PropertyGroup>
- <EmbedUntrackedSources>true</EmbedUntrackedSources>
- <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileDirectory)..\Directory.Build.props</MSBuildAllProjects>
- <DiscordNetProjectCategory>samples</DiscordNetProjectCategory>
- </PropertyGroup>
-
- <Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" />
-
- <PropertyGroup>
- <GenerateDocumentationFile>false</GenerateDocumentationFile>
- <IsPackable>false</IsPackable>
- </PropertyGroup>
-
- <ItemGroup>
- <InternalsVisibleTo Include="$(MSBuildProjectName).UnitTests" PublicKey="$(AssemblyOriginatorPublicKey)" />
- </ItemGroup>
-
- <ItemGroup>
- <PackageReference Include="Microsoft.SourceLink.GitHub" IsImplicitlyDefined="true" PrivateAssets="all" />
- </ItemGroup>
-
- </Project>
|