Directory.Build.props 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <Project>
  2. <Import Project="version.props" />
  3. <PropertyGroup>
  4. <Product>Microsoft ASP.NET Core</Product>
  5. <Authors>Microsoft</Authors>
  6. <Company>Microsoft Corporation.</Company>
  7. <Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
  8. <NeutralLanguage>en-US</NeutralLanguage>
  9. <PackageLicenseUrl>https://raw.githubusercontent.com/aspnet/AspNetCore/2.0.0/LICENSE.txt</PackageLicenseUrl>
  10. <PackageIconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</PackageIconUrl>
  11. <PackageProjectUrl>https://asp.net</PackageProjectUrl>
  12. <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
  13. <Serviceable>true</Serviceable>
  14. <RepositoryRoot>$(MSBuildThisFileDirectory)</RepositoryRoot>
  15. <RepositoryUrl>https://github.com/aspnet/AspNetCore</RepositoryUrl>
  16. <RepositoryType>git</RepositoryType>
  17. <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)eng\AspNetCore.snk</AssemblyOriginatorKeyFile>
  18. <SignAssembly>true</SignAssembly>
  19. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  20. <!-- Instructs the compiler to use SHA256 instead of SHA1 when adding file hashes to PDBs. -->
  21. <ChecksumAlgorithm>SHA256</ChecksumAlgorithm>
  22. <!-- Suppress the message about using a preview version of .NET Core SDK. We are okay with this and don't need the warning. -->
  23. <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
  24. <!-- Fixes a common error in targets implementing a NoBuild mode. -->
  25. <BuildProjectReferences Condition=" '$(NoBuild)' == 'true' ">false</BuildProjectReferences>
  26. </PropertyGroup>
  27. <Import Project="build\external-dependencies.props" />
  28. <Import Project="build\sources.props" />
  29. <PropertyGroup>
  30. <ArtifactsDir Condition="'$(ArtifactsDir)' == ''">$(RepositoryRoot)artifacts\</ArtifactsDir>
  31. <ArtifactsObjDir>$(ArtifactsDir)obj\</ArtifactsObjDir>
  32. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  33. <ArtifactsConfigurationDir>$(ArtifactsDir)$(Configuration)\</ArtifactsConfigurationDir>
  34. <ArtifactsBinDir>$(ArtifactsConfigurationDir)bin\</ArtifactsBinDir>
  35. <InstallersOutputPath>$(ArtifactsConfigurationDir)installers\</InstallersOutputPath>
  36. <PackageOutputPath>$(ArtifactsConfigurationDir)packages\</PackageOutputPath>
  37. <!-- Defines the default RID of the platform currently running the build. -->
  38. <HostRid Condition=" '$(HostRid)' == '' AND $([MSBuild]::IsOSPlatform('Windows'))">win-x64</HostRid>
  39. <HostRid Condition=" '$(HostRid)' == '' AND $([MSBuild]::IsOSPlatform('OSX'))">osx-x64</HostRid>
  40. <HostRid Condition=" '$(HostRid)' == '' AND $([MSBuild]::IsOSPlatform('Linux'))">linux-x64</HostRid>
  41. <!-- This defines the list of RIDs supported by the ASP.NET Core shared framework. -->
  42. <SupportedRuntimeIdentifiers>
  43. win-x64;
  44. win-x86;
  45. osx-x64;
  46. linux-musl-x64;
  47. linux-x64;
  48. linux-arm
  49. </SupportedRuntimeIdentifiers>
  50. </PropertyGroup>
  51. <Import Project="eng\targets\Cpp.Common.props" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'" />
  52. <Import Project="eng\targets\SharedFx.Common.props" Condition="'$(MSBuildProjectExtension)' == '.shfxproj'" />
  53. <Import Project="eng\targets\Wix.Common.props" Condition="'$(MSBuildProjectExtension)' == '.wixproj'" />
  54. </Project>