Skip to content

Commit

Permalink
Add PackageReadmeFile directly to csproj files...
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-hawker committed Sep 7, 2023
1 parent 94ef3ea commit 95b8f26
Show file tree
Hide file tree
Showing 22 changed files with 179 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.AnimationsRns</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -22,6 +23,13 @@
<ProjectReference Include="$(ToolkitExtensionSourceProject)" />
</ItemGroup>

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.BehaviorsRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(ToolkitAnimationSourceProject)" />
<ProjectReference Include="$(ToolkitExtensionSourceProject)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.CameraPreviewRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,6 +15,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.CollectionsRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="$(ToolkitHelperSourceProject)"/>
</ItemGroup>

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.ConvertersRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<PackageReference Include="CommunityToolkit.Common" Version="8.1.0" />
<PackageReference Include="CommunityToolkit.Common" Version="8.2.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.DeveloperToolsRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,21 @@
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.ExtensionsRns</RootNamespace>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<PackageReference Include="CommunityToolkit.Common" Version="8.1.0" />
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.Common" Version="8.2.1" />

<PackageReference Include="PolySharp" Version="1.13.1">
<PrivateAssets>all</PrivateAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.HeaderedControlsRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
8 changes: 8 additions & 0 deletions components/Helpers/src/CommunityToolkit.WinUI.Helpers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.HelpersRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="$(ToolkitExtensionSourceProject)"/>
</ItemGroup>

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.ImageCropperRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,6 +15,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.LayoutTransformControlRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,6 +15,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
8 changes: 8 additions & 0 deletions components/Media/src/CommunityToolkit.WinUI.Media.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.MediaRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(ToolkitAnimationSourceProject)" />
<ProjectReference Include="$(ToolkitExtensionsSourceProject)" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.MetadataControlRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.PrimitivesRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,6 +15,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.RadialGaugeRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -15,6 +16,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.RangeSelectorRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,6 +15,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.RichSuggestBoxRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,6 +15,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 -->
<RootNamespace>CommunityToolkit.WinUI.Controls.SegmentedRns</RootNamespace>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -14,6 +15,13 @@
<!-- Sets this up as a toolkit component's source project -->
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" />

<ItemGroup>
<None Include="ReadMe.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<PropertyGroup>
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId>
</PropertyGroup>
Expand Down
Loading

0 comments on commit 95b8f26

Please sign in to comment.