Skip to content

Commit

Permalink
added nuget souce link
Browse files Browse the repository at this point in the history
  • Loading branch information
w-ahmad committed Oct 6, 2024
1 parent 5df19a2 commit 236dfc4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 21 deletions.
4 changes: 2 additions & 2 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<Nullable>enable</Nullable>
<UseWinUI>true</UseWinUI>
<Platforms>x86;x64;arm64</Platforms>
<UseWinUI>true</UseWinUI>
<Platforms>x86;x64;arm64</Platforms>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
</PropertyGroup>
</Project>
24 changes: 24 additions & 0 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project>
<PropertyGroup Label="PackageInfo" Condition="'$(PackageId)'!=''">
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Description>TableView control for WinUI.</Description>
<PackageTags>WinUI, WinAppSDK, Windows, XAML, TableView, DataGrid</PackageTags>
<Product>WinUI TableView Control</Product>
<RepositoryUrl>https://github.com/w-ahmad/WinUI3.TableView</RepositoryUrl>
<PackageProjectUrl>https://github.com/w-ahmad/WinUI3.TableView</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\artifacts\NuGet\$(Configuration)\</PackageOutputPath>
<Authors>w-ahmad - https://github.com/w-ahmad</Authors>
</PropertyGroup>

<ItemGroup Condition="'$(PackageId)'!=''">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>
22 changes: 3 additions & 19 deletions src/WinUI.TableView/WinUI.TableView.csproj
Original file line number Diff line number Diff line change
@@ -1,26 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Description>TableView control for WinUI.</Description>
<PackageTags>WinUI, WinAppSDK, Windows, XAML, TableView</PackageTags>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Label="PackageInfo">
<PackageId>WinUI.TableView</PackageId>
<Product>WinUI TableView Control</Product>
<RepositoryUrl>https://github.com/w-ahmad/WinUI3.TableView</RepositoryUrl>
<PackageProjectUrl>https://github.com/w-ahmad/WinUI3.TableView</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\NuGet\$(Configuration)\</PackageOutputPath>
<Authors>w-ahmad - https://github.com/w-ahmad</Authors>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CommunityToolkit.WinUI.Behaviors" Version="8.0.240109" />
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240227000" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
</Project>

0 comments on commit 236dfc4

Please sign in to comment.