зеркало из https://github.com/dotnet/razor.git
27 строки
1.1 KiB
XML
27 строки
1.1 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<GitHubRepositoryName>razor</GitHubRepositoryName>
|
|
<SourceBuildManagedOnly>true</SourceBuildManagedOnly>
|
|
<SourceBuildTrimNetFrameworkTargets>true</SourceBuildTrimNetFrameworkTargets>
|
|
<CloneSubmodulesToInnerSourceBuildRepo>false</CloneSubmodulesToInnerSourceBuildRepo>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Remove inner source .globalconfig file as both the inner and outer config files get loaded and cause a conflict.
|
|
Leaving the inner will cause all conflicting settings to be ignored.
|
|
https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/configuration-files#general-options
|
|
-->
|
|
<Target Name="RemoveInnerGlobalConfig"
|
|
DependsOnTargets="PrepareInnerSourceBuildRepoRoot"
|
|
BeforeTargets="RunInnerSourceBuildCommand">
|
|
<Delete Files="$(InnerSourceBuildRepoRoot).globalconfig" />
|
|
</Target>
|
|
|
|
<Target Name="CustomizeInnerBuildArgs"
|
|
BeforeTargets="GetSourceBuildCommandConfiguration">
|
|
<PropertyGroup>
|
|
<InnerBuildArgs>$(InnerBuildArgs) /p:SourceBuildRuntimeIdentifier=$(TargetRuntimeIdentifier)</InnerBuildArgs>
|
|
</PropertyGroup>
|
|
</Target>
|
|
</Project>
|