Skip to content

Commit

Permalink
Updated tooling to latest main (#481)
Browse files Browse the repository at this point in the history
* Remove empty sample project

* Updated tooling to latest main

* Update components to conform to latest tooling changes

* Update all component dependencies to use new unified build of new Windows repo packages

* Fix TokenView referencing old name of Primitives package

---------

Co-authored-by: michael-hawker <[email protected]>
  • Loading branch information
Arlodotexe and michael-hawker authored Aug 1, 2023
1 parent a577103 commit ae49c93
Show file tree
Hide file tree
Showing 32 changed files with 53 additions and 201 deletions.
3 changes: 3 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<Project>
<PropertyGroup>
<MajorVersion>0</MajorVersion>
<MinorVersion>1</MinorVersion>

<PackageIdPrefix>CommunityToolkit.Labs</PackageIdPrefix>
<RepositoryDirectory>$(MSBuildThisFileDirectory)</RepositoryDirectory>
<ToolingDirectory>$(RepositoryDirectory)\tooling</ToolingDirectory>
Expand Down
8 changes: 0 additions & 8 deletions components/AppServices/samples/AppServices.Samples.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions components/AppServices/samples/MultiTarget.props

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<ToolkitComponentName>AppServices</ToolkitComponentName>
<Description>This package contains AppServices, to easily communicate between UWP apps and Win32 extensions.</Description>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>0.0.3</Version>
<RootNamespace>CommunityToolkit.AppServices</RootNamespace>
<PackageId>$(PackageIdPrefix).$(ToolkitComponentName)</PackageId>
<HasWinUI>false</HasWinUI>
Expand Down
13 changes: 0 additions & 13 deletions components/CanvasLayout/src/AdditionalAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>CanvasLayout</ToolkitComponentName>
<Description>This package contains a CanvasLayout Layout for ItemsRepeater.</Description>
<Version>0.0.3</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.CanvasLayoutRns</RootNamespace>
</PropertyGroup>
Expand Down
13 changes: 0 additions & 13 deletions components/CanvasView/src/AdditionalAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>CanvasView</ToolkitComponentName>
<Description>This package contains CanvasView.</Description>
<Version>0.0.2</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.CanvasViewRns</RootNamespace>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions components/CanvasView/src/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<Project>
<!-- WinUI 2 / UWP -->
<ItemGroup Condition="'$(IsUwp)' == 'true'">
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 2 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '2'">
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / WinAppSdk -->
<ItemGroup Condition="'$(IsWinAppSdk)' == 'true'">
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '3'">
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<ToolkitComponentName>Extensions.DependencyInjection</ToolkitComponentName>
<Description>This package contains Extensions.DependencyInjection.</Description>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Version>0.0.1</Version>
<RootNamespace>CommunityToolkit.Extensions.DependencyInjection</RootNamespace>
<PackageId>$(PackageIdPrefix).$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
13 changes: 0 additions & 13 deletions components/MarqueeText/src/AdditionalAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>MarqueeText</ToolkitComponentName>
<Description>This package contains MarqueeText.</Description>
<Version>0.0.3</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.MarqueeTextRns</RootNamespace>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions components/RivePlayer/samples/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
<!-- WinUI 2 / UWP -->
<ItemGroup Condition="'$(IsUwp)' == 'true'">
<!-- <PackageReference Include="Microsoft.Toolkit.Uwp.UI.Controls.Primitives" Version="7.1.2"/> -->
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 2 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '2'">
<!-- <PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI.Controls.Primitives" Version="7.1.11"/> -->
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / WinAppSdk -->
<ItemGroup Condition="'$(IsWinAppSdk)' == 'true'">
<!-- <PackageReference Include="CommunityToolkit.WinUI.UI.Controls.Primitives" Version="7.1.2"/> -->
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '3'">
<!-- <PackageReference Include="Uno.CommunityToolkit.WinUI.UI.Controls.Primitives" Version="7.1.100-dev.15.g12261e2626"/> -->
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>
</Project>
19 changes: 0 additions & 19 deletions components/RivePlayer/src/AdditionalAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>RivePlayer</ToolkitComponentName>
<Description>This package contains RivePlayer.</Description>
<Version>0.0.4</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.RivePlayerRns</RootNamespace>
</PropertyGroup>
Expand Down
13 changes: 0 additions & 13 deletions components/SegmentedControl/src/AdditionalAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>SegmentedControl</ToolkitComponentName>
<Description>This package contains SegmentedControl.</Description>
<Version>0.0.3</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.SegmentedControlRns</RootNamespace>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions components/SegmentedControl/src/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<Project>
<!-- WinUI 2 / UWP -->
<ItemGroup Condition="'$(IsUwp)' == 'true'">
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 2 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '2'">
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / WinAppSdk -->
<ItemGroup Condition="'$(IsWinAppSdk)' == 'true'">
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '3'">
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Helpers" Version="8.0.230801-preview"/>
</ItemGroup>
</Project>
13 changes: 0 additions & 13 deletions components/Shimmer/src/AdditionalAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>Shimmer</ToolkitComponentName>
<Description>This package contains Shimmer.</Description>
<Version>0.0.1</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.ShimmerRns</RootNamespace>
</PropertyGroup>
Expand Down
8 changes: 4 additions & 4 deletions components/Shimmer/src/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
<!-- WinUI 2 / UWP -->
<ItemGroup Condition="'$(IsUwp)' == 'true'">
<!-- <PackageReference Include="Microsoft.Toolkit.Uwp.UI" Version="7.1.3"/> -->
<PackageReference Include="CommunityToolkit.Uwp.Animations" Version="8.0.0-beta.1" />
<PackageReference Include="CommunityToolkit.Uwp.Animations" Version="8.0.230801-preview" />
</ItemGroup>

<!-- WinUI 2 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '2'">
<!-- <PackageReference Include="Uno.Microsoft.Toolkit.Uwp.UI" Version="7.1.11"/> -->
<PackageReference Include="CommunityToolkit.Uwp.Animations" Version="8.0.0-beta.1" />
<PackageReference Include="CommunityToolkit.Uwp.Animations" Version="8.0.230801-preview" />
</ItemGroup>

<!-- WinUI 3 / WinAppSdk -->
<ItemGroup Condition="'$(IsWinAppSdk)' == 'true'">
<!-- <PackageReference Include="CommunityToolkit.WinUI.UI" Version="7.1.2"/> -->
<PackageReference Include="CommunityToolkit.WinUI.Animations" Version="8.0.0-beta.1" />
<PackageReference Include="CommunityToolkit.WinUI.Animations" Version="8.0.230801-preview" />
</ItemGroup>

<!-- WinUI 3 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '3'">
<!-- <PackageReference Include="Uno.CommunityToolkit.WinUI.UI" Version="7.1.100"/> -->
<PackageReference Include="CommunityToolkit.WinUI.Animations" Version="8.0.0-beta.1" />
<PackageReference Include="CommunityToolkit.WinUI.Animations" Version="8.0.230801-preview" />
</ItemGroup>
</Project>

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>StackedNotificationsBehavior</ToolkitComponentName>
<Description>This package contains StackedNotificationsBehavior.</Description>
<Version>0.0.2</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.StackedNotificationsBehaviorRns</RootNamespace>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
<Project>
<!-- WinUI 2 / UWP -->
<ItemGroup Condition="'$(IsUwp)' == 'true'">
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 2 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '2'">
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.Uwp.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / WinAppSdk -->
<ItemGroup Condition="'$(IsWinAppSdk)' == 'true'">
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>

<!-- WinUI 3 / Uno -->
<ItemGroup Condition="'$(IsUno)' == 'true' AND '$(WinUIMajorVersion)' == '3'">
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.0-beta.1"/>
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.230801-preview"/>
</ItemGroup>
</Project>
13 changes: 0 additions & 13 deletions components/TokenView/src/AdditionalAssemblyInfo.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
<PropertyGroup>
<ToolkitComponentName>TokenView</ToolkitComponentName>
<Description>This package contains TokenView.</Description>
<Version>0.0.6</Version>


<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.Labs.WinUI.TokenViewRns</RootNamespace>
</PropertyGroup>
Expand Down
Loading

0 comments on commit ae49c93

Please sign in to comment.