[build] require .NET framework >= 4.7 (#3164)
This commit is contained in:
Родитель
e5d8d61dc7
Коммит
a3643b5bd8
|
@ -54,6 +54,15 @@
|
|||
Condition="'$(IsXBuild)' == 'true'" />
|
||||
</Target>
|
||||
|
||||
<Target Name="_ValidateNETFrameworkVersion"
|
||||
BeforeTargets="_CheckForInvalidConfigurationAndPlatform"
|
||||
Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' AND '$(TargetFrameworkVersion.Substring(1))' < '4.7' ">
|
||||
<Error
|
||||
Text="XF requires .NETFramework >= v4.7. You have '$(TargetFrameworkVersion)'"
|
||||
Code="XF004"
|
||||
/>
|
||||
</Target>
|
||||
|
||||
<!-- XamlG -->
|
||||
<Target Name="UpdateDesignTimeXaml" DependsOnTargets="XamlG"/>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче