зеркало из https://github.com/dotnet/razor.git
68 строки
2.7 KiB
XML
68 строки
2.7 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<!-- $(RepoRoot) is normally set globally and Arcade overrides it to ensure a trailing slash. -->
|
|
<RepoRoot Condition=" '$(RepoRoot)' == '' OR !HasTrailingSlash('$(RepoRoot)') ">$(MSBuildThisFileDirectory)</RepoRoot>
|
|
|
|
<RepositoryUrl>https://github.com/dotnet/razor-compiler</RepositoryUrl>
|
|
<RepositoryType>git</RepositoryType>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<AnalysisLevel>latest</AnalysisLevel>
|
|
<AnalysisMode>Default</AnalysisMode>
|
|
<LangVersion>Latest</LangVersion>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
We don't follow Arcade conventions for project naming.
|
|
-->
|
|
<PropertyGroup>
|
|
<IsUnitTestProject>false</IsUnitTestProject>
|
|
<IsUnitTestProject Condition="$(MSBuildProjectName.EndsWith('.Test'))">true</IsUnitTestProject>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
|
|
|
|
<PropertyGroup>
|
|
<Product>Microsoft ASP.NET Core</Product>
|
|
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
|
|
|
|
<!-- The SPDX name for the source license. See https://spdx.org/licenses/. -->
|
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
|
|
|
<!-- Contact email address for NuGet packages and Linux installers. -->
|
|
<MaintainerEmail>nugetaspnet@microsoft.com</MaintainerEmail>
|
|
|
|
<PackageProjectUrl>https://asp.net</PackageProjectUrl>
|
|
<NuspecBasePath>$(MSBuildProjectDirectory)</NuspecBasePath>
|
|
|
|
<DebugType>portable</DebugType>
|
|
<IsPackable Condition="'$(IsUnitTestProject)' == 'false'">true</IsPackable>
|
|
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<DefaultNetCoreTargetFramework>net6.0</DefaultNetCoreTargetFramework>
|
|
<DefaultNetFxTargetFramework>net462</DefaultNetFxTargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<!-- Warnings and errors -->
|
|
<PropertyGroup>
|
|
<!-- Ensure API docs are available. -->
|
|
<NoWarn>$(NoWarn.Replace('1591', ''))</NoWarn>
|
|
<NoWarn Condition=" '$(BuildingInsideVisualStudio)' == 'true' ">$(NoWarn);0105</NoWarn>
|
|
|
|
<!-- For local builds, don't make missing XML docs a fatal build error, but still surface so we have visibility into undocumented APIs. -->
|
|
<WarningsNotAsErrors Condition=" '$(ContinuousIntegrationBuild)' != 'true' ">$(WarningsNotAsErrors);CS1591</WarningsNotAsErrors>
|
|
|
|
<!-- xUnit1004 = warns about skipped tests. Make this a non-fatal build warning. -->
|
|
<WarningsNotAsErrors>$(WarningsNotAsErrors);xUnit1004</WarningsNotAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<!-- The location of the local installation of the .NET Core shared framework. -->
|
|
<PropertyGroup>
|
|
<LocalDotNetRoot>$(RepoRoot).dotnet\</LocalDotNetRoot>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|