Skip to content

Commit

Permalink
Fix filenames for packaged .targets files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Dec 25, 2024
1 parent 65fdb63 commit 5a89531
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,12 @@
<!-- Pack the source generator and the .targets file -->
<ItemGroup Label="Package">

<!-- Include the custom .targets file to check the source generator -->
<None Include="CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath="buildTransitive" Pack="true" />
<None Include="CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath="build" Pack="true" />
<!--
Include the custom .targets file to check the source generator. We need to ensure its name always matches the package name,
which will be different for UWP and other targets, because that is required by NuGet to enable the auto-importing feature.
-->
<None Include="CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath="buildTransitive\$(PackageId).targets" Pack="true" />
<None Include="CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath="build\$(PackageId).targets" Pack="true" />

<!-- Pack the source generators to the right package folder -->
<None Include="..\CommunityToolkit.DependencyPropertyGenerator.SourceGenerators\bin\$(Configuration)\netstandard2.0\CommunityToolkit.DependencyPropertyGenerator.SourceGenerators.dll" PackagePath="analyzers\dotnet\roslyn4.12\cs" Pack="true" Visible="false" />
Expand Down

0 comments on commit 5a89531

Please sign in to comment.