You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Directory.Build.props 1.7 kB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Based on https://github.com/terrafx/terrafx/blob/master/Directory.Build.props -->
  3. <!-- Copyright © Tanner Gooding and Contributors -->
  4. <Project>
  5. <!--
  6. Directory.Build.props is automatically picked up and imported by
  7. Microsoft.Common.props. This file needs to exist, even if empty so that
  8. files in the parent directory tree, with the same name, are not imported
  9. instead. The import fairly early and only Sdk.props will have been
  10. imported beforehand. We also don't need to add ourselves to
  11. MSBuildAllProjects, as that is done by the file that imports us.
  12. -->
  13. <PropertyGroup>
  14. <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileDirectory)..\Directory.Build.props</MSBuildAllProjects>
  15. </PropertyGroup>
  16. <Import Project="$(MSBuildThisFileDirectory)..\Directory.Build.props" />
  17. <PropertyGroup>
  18. <GenerateDocumentationFile>false</GenerateDocumentationFile>
  19. <NoPackageAnalysis>true</NoPackageAnalysis>
  20. <IncludeBuildOutput>false</IncludeBuildOutput>
  21. <!-- Disable release tracking analyzers due to weird behaviour with OmniSharp -->
  22. <NoWarn>$(NoWarn);RS2000;RS2001;RS2002;RS2003;RS2004;RS2005;RS2006;RS2007;RS2008</NoWarn>
  23. </PropertyGroup>
  24. <ItemGroup>
  25. <PackageReference Include="Microsoft.CodeAnalysis.CSharp" IsImplicitlyDefined="true" PrivateAssets="all" />
  26. </ItemGroup>
  27. <ItemGroup>
  28. <None Include="$(OutputPath)$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
  29. </ItemGroup>
  30. <ItemGroup>
  31. <Compile Include="$(MSBuildThisFileDirectory)\IsExternalInit.cs" Link="IsExternalInit.cs" />
  32. </ItemGroup>
  33. </Project>

No Description