Directory.Build.props 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
  3. <Project>
  4. <PropertyGroup>
  5. <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
  6. <DefaultItemExcludes>$(DefaultItemExcludes);**/*.tmp</DefaultItemExcludes>
  7. </PropertyGroup>
  8. <Import Project="..\Directory.Build.props" />
  9. <PropertyGroup>
  10. <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
  11. <NoWarn>$(NoWarn);NU5125</NoWarn>
  12. <!-- Don't warn about long filenames in packages, we bundle test assets that have long paths
  13. (ie HelloWorldWithSubDirs) -->
  14. <NoWarn>$(NoWarn);NU5123</NoWarn>
  15. <GenerateProgramFile>false</GenerateProgramFile>
  16. <DebugType>embedded</DebugType>
  17. <!-- Don't generate separate symbol packages for the test packages -->
  18. <IncludeSymbols>false</IncludeSymbols>
  19. </PropertyGroup>
  20. <!-- Global usings -->
  21. <!-- See: https://learn.microsoft.com/dotnet/core/project-sdk/msbuild-props#using -->
  22. <ItemGroup>
  23. <Using Include="FluentAssertions" />
  24. <Using Include="Microsoft.NET.TestFramework" />
  25. <Using Include="Microsoft.NET.TestFramework.Assertions" />
  26. <Using Include="Microsoft.NET.TestFramework.Commands" />
  27. <Using Include="Microsoft.NET.TestFramework.ProjectConstruction" />
  28. <Using Include="Microsoft.NET.TestFramework.Utilities" />
  29. <Using Include="Xunit" />
  30. <Using Include="Xunit.Abstractions" />
  31. </ItemGroup>
  32. </Project>