Skip to content

Commit aa621b9

Browse files
authored
move package info to project file
1 parent 72f56aa commit aa621b9

File tree

2 files changed

+22
-26
lines changed

2 files changed

+22
-26
lines changed

src/Directory.Build.targets

-24
This file was deleted.
+22-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,30 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
2-
<PropertyGroup Label="PackageInfo">
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
33
<PackageId>WinUI.TableView</PackageId>
4+
<IncludeSymbols>true</IncludeSymbols>
5+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
6+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
7+
<Description>TableView control for WinUI.</Description>
8+
<PackageTags>WinUI, WinAppSDK, Windows, XAML, TableView, DataGrid</PackageTags>
9+
<Product>WinUI TableView Control</Product>
10+
<RepositoryUrl>https://github.com/w-ahmad/WinUI3.TableView</RepositoryUrl>
11+
<PackageProjectUrl>https://github.com/w-ahmad/WinUI3.TableView</PackageProjectUrl>
12+
<PackageReadmeFile>README.md</PackageReadmeFile>
13+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14+
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\NuGet\$(Configuration)\</PackageOutputPath>
15+
<Authors>w-ahmad - https://github.com/w-ahmad</Authors>
416
</PropertyGroup>
517

618
<ItemGroup>
719
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.240109" />
820
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240227000" />
921
</ItemGroup>
22+
23+
<ItemGroup Condition="'$(Configuration)' == 'Release'">
24+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
25+
<PrivateAssets>all</PrivateAssets>
26+
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
27+
</PackageReference>
28+
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
29+
</ItemGroup>
1030
</Project>

0 commit comments

Comments
 (0)