feat: adding support for implicit namespaces (#1366)
This commit is contained in:
Родитель
c0bfecacbf
Коммит
2fa3e59c45
|
@ -27,6 +27,10 @@
|
|||
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath="/" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="$(MSBuildProjectName.Contains('WinUI'))">
|
||||
<None Include="$(MSBuildProjectDirectory)\build\Package.targets" Pack="true" PackagePath="buildTransitive/$(PackageId).targets" />
|
||||
</ItemGroup>
|
||||
|
||||
<Choose>
|
||||
<When Condition="'$(IsTestProject)' != 'true' and '$(SourceLinkEnabled)' != 'false' and '$(IsSampleProject)' != 'true'">
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<Project>
|
||||
<ItemGroup Condition=" ('$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable') AND '$(UnoDisableCupertinoImplicitUsings)' != 'true' ">
|
||||
<Using Include="Uno.Cupertino" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,7 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Project>
|
||||
<ItemGroup Condition=" ('$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable') AND '$(UnoDisableCupertinoImplicitUsings)' != 'true' ">
|
||||
<Using Include="Uno.Cupertino" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="ValidateUWPSDKVersion" BeforeTargets="BeforeBuild">
|
||||
<Error Text="Uno.Cupertino requires your application to set the Minimum SDK version to Windows 1903 SDK (10.0.19041) or later"
|
||||
Condition="'$(TargetPlatformIdentifier)'=='UAP' and '$(TargetPlatformMinVersion)'<'10.0.19041.0'" />
|
||||
</Target>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<Project>
|
||||
<ItemGroup Condition=" ('$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable') AND '$(UnoDisableMaterialMarkupImplicitUsings)' != 'true' ">
|
||||
<Using Include="Uno.Material.Markup" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,5 @@
|
|||
<Project>
|
||||
<ItemGroup Condition=" ('$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable') AND '$(UnoDisableMaterialImplicitUsings)' != 'true' ">
|
||||
<Using Include="Uno.Material" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,5 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Project>
|
||||
<ItemGroup Condition=" ('$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable') AND '$(UnoDisableMaterialImplicitUsings)' != 'true' ">
|
||||
<Using Include="Uno.Material" />
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="ValidateUWPSDKVersion" BeforeTargets="BeforeBuild">
|
||||
<Error Text="Uno.Material requires your application to set the Minimum SDK version to Windows 1903 SDK (10.0.19041) or later"
|
||||
Condition="'$(TargetPlatformIdentifier)'=='UAP' and '$(TargetPlatformMinVersion)'<'10.0.19041.0'" />
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<Project>
|
||||
<ItemGroup Condition=" ('$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable') AND '$(UnoDisableThemeMarkupImplicitUsings)' != 'true' ">
|
||||
<Using Include="Uno.Themes.Markup" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,5 @@
|
|||
<Project>
|
||||
<ItemGroup Condition=" ('$(ImplicitUsings)' == 'true' OR '$(ImplicitUsings)' == 'enable') AND '$(UnoDisableThemeImplicitUsings)' != 'true' ">
|
||||
<Using Include="Uno.Themes" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче