File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
components/DependencyPropertyGenerator/src Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4343 <!-- Pack the source generator and the .targets file -->
4444 <ItemGroup Label =" Package" >
4545
46- <!-- Include the custom .targets file to check the source generator -->
47- <None Include =" CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath =" buildTransitive" Pack =" true" />
48- <None Include =" CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath =" build" Pack =" true" />
46+ <!--
47+ Include the custom .targets file to check the source generator. We need to ensure its name always matches the package name,
48+ which will be different for UWP and other targets, because that is required by NuGet to enable the auto-importing feature.
49+ -->
50+ <None Include =" CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath =" buildTransitive\$(PackageId).targets" Pack =" true" />
51+ <None Include =" CommunityToolkit.WinUI.DependencyPropertyGenerator.targets" PackagePath =" build\$(PackageId).targets" Pack =" true" />
4952
5053 <!-- Pack the source generators to the right package folder -->
5154 <None Include =" ..\CommunityToolkit.DependencyPropertyGenerator.SourceGenerators\bin\$(Configuration)\netstandard2.0\CommunityToolkit.DependencyPropertyGenerator.SourceGenerators.dll" PackagePath =" analyzers\dotnet\roslyn4.12\cs" Pack =" true" Visible =" false" />
You can’t perform that action at this time.
0 commit comments