|
- <?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>
- <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileDirectory)..\Directory.Build.props</MSBuildAllProjects>
- </PropertyGroup>
-
- <Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" />
-
- <PropertyGroup>
- <GenerateDocumentationFile>false</GenerateDocumentationFile>
- <NoPackageAnalysis>true</NoPackageAnalysis>
- <IncludeBuildOutput>false</IncludeBuildOutput>
- <!-- Disable release tracking analyzers due to weird behaviour with OmniSharp -->
- <NoWarn>$(NoWarn);RS2000;RS2001;RS2002;RS2003;RS2004;RS2005;RS2006;RS2007;RS2008</NoWarn>
- </PropertyGroup>
-
- <ItemGroup>
- <PackageReference Include="Microsoft.CodeAnalysis.CSharp" IsImplicitlyDefined="true" PrivateAssets="all" />
- </ItemGroup>
-
- <ItemGroup>
- <None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
- </ItemGroup>
-
- <ItemGroup>
- <Compile Include="$(MSBuildThisFileDirectory)\IsExternalInit.cs" Link="IsExternalInit.cs" />
- </ItemGroup>
-
- </Project>
|