|
96 | 96 |
|
97 | 97 | <ItemGroup Label="Package"> |
98 | 98 |
|
99 | | - <!-- .NET Standard 2.0 only needs the Roslyn validation .targets --> |
100 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="buildTransitive\netstandard2.0" Pack="true" /> |
101 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="buildTransitive\netstandard2.0" Pack="true" /> |
102 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="build\netstandard2.0" Pack="true" /> |
103 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="build\netstandard2.0" Pack="true" /> |
104 | | - |
105 | | - <!-- .NET Standard 2.0 does the same --> |
106 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="buildTransitive\netstandard2.1" Pack="true" /> |
107 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="buildTransitive\netstandard2.1" Pack="true" /> |
108 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="build\netstandard2.1" Pack="true" /> |
109 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="build\netstandard2.1" Pack="true" /> |
110 | | - |
111 | | - <!-- .NET 6 also supports feature switches --> |
112 | | - <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="buildTransitive\net6.0" Pack="true" /> |
113 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="buildTransitive\net6.0" Pack="true" /> |
114 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="buildTransitive\net6.0" Pack="true" /> |
115 | | - <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="build\net6.0" Pack="true" /> |
116 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="build\net6.0" Pack="true" /> |
117 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="build\net6.0" Pack="true" /> |
118 | | - |
119 | | - <!-- .NET 8 does the same as .NET 6 --> |
120 | | - <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="buildTransitive\net8.0" Pack="true" /> |
121 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="buildTransitive\net8.0" Pack="true" /> |
122 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="buildTransitive\net8.0" Pack="true" /> |
123 | | - <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="build\net8.0" Pack="true" /> |
124 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="build\net8.0" Pack="true" /> |
125 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="build\net8.0" Pack="true" /> |
126 | | - |
127 | | - <!-- .NET 8 on Windows is the same as .NET 8 with respect to .targets --> |
128 | | - <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="buildTransitive\net8.0-windows10.0.17763.0" Pack="true" /> |
129 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="buildTransitive\net8.0-windows10.0.17763.0" Pack="true" /> |
130 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="buildTransitive\net8.0-windows10.0.17763.0" Pack="true" /> |
131 | | - <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="build\net8.0-windows10.0.17763.0" Pack="true" /> |
132 | | - <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="build\net8.0-windows10.0.17763.0" Pack="true" /> |
133 | | - <None Include="CommunityToolkit.Mvvm.targets" PackagePath="build\net8.0-windows10.0.17763.0" Pack="true" /> |
| 99 | + <!-- Include the custom .targets files (shared across TFMs) --> |
| 100 | + <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="build" Pack="true" /> |
| 101 | + <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="build" Pack="true" /> |
| 102 | + <None Include="CommunityToolkit.Mvvm.targets" PackagePath="build" Pack="true" /> |
| 103 | + <None Include="CommunityToolkit.Mvvm.FeatureSwitches.targets" PackagePath="buildTransitive" Pack="true" /> |
| 104 | + <None Include="CommunityToolkit.Mvvm.SourceGenerators.targets" PackagePath="buildTransitive" Pack="true" /> |
| 105 | + <None Include="CommunityToolkit.Mvvm.targets" PackagePath="buildTransitive" Pack="true" /> |
134 | 106 |
|
135 | 107 | <!-- |
136 | 108 | Pack the source generator to the right package folders (each matching the target Roslyn version). |
|
0 commit comments