Skip to content

Commit

Permalink
Updated the default namespace for new components (CommunityToolkit#394)
Browse files Browse the repository at this point in the history
* Updated default root namespace and PackageId

* Doc fix

* Renamed template csproj

* Move PackageId prefix to property in Directory.Build.props

* Moved code / docs to new default namespace

* Use xmlns:controls instead of xmlns:labs

* Use xmlns:controls instead of xmlns:labs

* Fixed xaml styling

* Removed default component namespace from global usings

* Unify default package ID

* Fixed missing using directive

* Fixed missing using directive
  • Loading branch information
Arlodotexe authored Mar 10, 2023
1 parent a2df940 commit 5cb5954
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions GlobalUsings_WinUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

global using System.Runtime.InteropServices.WindowsRuntime;

global using CommunityToolkit.Labs.WinUI;

global using Windows.Foundation;
global using Windows.Foundation.Collections;

Expand Down
2 changes: 1 addition & 1 deletion ToolkitComponent.SourceProject.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<Import Project="$(RepositoryDirectory)common\MultiTarget\MultiTarget.props" />

<PropertyGroup>
<PackageId Condition="'$(PackageId)' == ''">CommunityToolkit.Labs.$(PackageIdVariant).$(ToolkitComponentName)</PackageId>
<PackageId Condition="'$(PackageId)' == ''">$(PackageIdPrefix).$(PackageIdVariant).$(ToolkitComponentName)</PackageId>
</PropertyGroup>

<!-- XAML Pages are automatically included, and don't need to be specified here. -->
Expand Down

0 comments on commit 5cb5954

Please sign in to comment.