Skip to content

Commit cbb9c27

Browse files
committed
Import usings and constants
1 parent cae664c commit cbb9c27

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

ProjectHeads/AllComponents/Uno/CommunityToolkit.App.Uno.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
<DefineConstants>$(DefineConstants);WINUI3</DefineConstants>
2525
</PropertyGroup>
2626

27+
<!-- Required for shared app code global usings and platform constants -->
28+
<Import Project="$(ToolingDirectory)\MultiTarget\DefinedConstants.props" />
29+
<Import Project="$(ToolingDirectory)\MultiTarget\GlobalUsings.props" />
30+
2731
<!-- Auto-generated project references -->
2832
<Import Project="$(ToolingDirectory)\MultiTarget\Generated\*.Samples.props" />
2933
<Import Project="$(ToolingDirectory)\MultiTarget\Generated\*.Source.props" />

ProjectHeads/SingleComponent/Uno/ProjectTemplate.Uno.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323
<DefineConstants>$(DefineConstants);WINUI3</DefineConstants>
2424
</PropertyGroup>
2525

26+
<!-- Required for shared app code global usings and platform constants -->
27+
<Import Project="$(ToolingDirectory)\MultiTarget\DefinedConstants.props" />
28+
<Import Project="$(ToolingDirectory)\MultiTarget\GlobalUsings.props" />
29+
2630
<!-- Direct project references for single component -->
2731
<ItemGroup>
2832
<ProjectReference Include="..\..\src\*.csproj" />

0 commit comments

Comments
 (0)