42 lines
2.1 KiB
Plaintext
42 lines
2.1 KiB
Plaintext
<Project>
|
|
<PropertyGroup>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
<RestoreAdditionalProjectSources>${RestoreAdditionalProjectSources}</RestoreAdditionalProjectSources>
|
|
|
|
<!-- This sets an option which prevents the tests from rolling forward into a newer shared framework. -->
|
|
<UserRuntimeConfig>$(MSBuildThisFileDirectory)runtimeconfig.norollforward.json</UserRuntimeConfig>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<KnownFrameworkReference
|
|
Update="Microsoft.NETCore.App"
|
|
DefaultRuntimeFrameworkVersion="${MicrosoftNETCoreAppRuntimeVersion}"
|
|
LatestRuntimeFrameworkVersion="${MicrosoftNETCoreAppRuntimeVersion}"
|
|
TargetingPackVersion="${MicrosoftNETCoreAppRefPackageVersion}" />
|
|
|
|
<KnownFrameworkReference
|
|
Update="Microsoft.AspNetCore.App"
|
|
DefaultRuntimeFrameworkVersion="${MicrosoftAspNetCoreAppRuntimePackageVersion}"
|
|
LatestRuntimeFrameworkVersion="${MicrosoftAspNetCoreAppRuntimePackageVersion}"
|
|
TargetingPackVersion="${MicrosoftAspNetCoreAppRefPackageVersion}"
|
|
RuntimePackRuntimeIdentifiers="${SupportedRuntimeIdentifiers}" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Net.Compilers.Toolset"
|
|
Version="${MicrosoftNetCompilersToolsetPackageVersion}"
|
|
PrivateAssets="all"
|
|
IsImplicitlyDefined="true" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
Use the Razor SDK as a project reference. The version of the .NET Core SDK we build with often contains a version of the Razor SDK
|
|
several versions older than latest. To avoid a cyclical dependency, this package reference is added to override the bundled version.
|
|
Since this is a project reference, we must explicitly import the props file and also specify the output location of the SDK directory.
|
|
-->
|
|
<PropertyGroup>
|
|
<RazorSdkDirectoryRoot>${ArtifactsBinDir}Microsoft.NET.Sdk.Razor\${Configuration}\sdk-output\</RazorSdkDirectoryRoot>
|
|
</PropertyGroup>
|
|
<Import Project="${RepoRoot}src\Razor\Microsoft.NET.Sdk.Razor\src\build\netstandard2.0\Microsoft.NET.Sdk.Razor.props" Condition="'$(UsingMicrosoftNETSdkWeb)' == 'true' OR '$(RazorSdkCurrentVersionProps)' != ''" />
|
|
</Project>
|