Skip to content

Commit b908b3f

Browse files
committed
Define [IVT] in .props file, don't hardcode public key
1 parent 78d37ab commit b908b3f

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

src/CommunityToolkit.HighPerformance/CommunityToolkit.HighPerformance.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
3737
</ItemGroup>
3838

39-
<!-- On .NET Standard 2.0, the unit test project also needs access to internals-->
39+
<!-- On .NET Standard 2.0, the unit test project also needs access to internals -->
4040
<ItemGroup>
4141
<InternalsVisibleTo Include="CommunityToolkit.HighPerformance.UnitTests, PublicKey=$(AssemblySignPublicKey)" />
4242
</ItemGroup>

src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.projitems

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
<Compile Include="$(MSBuildThisFileDirectory)Input\Models\CommandInfo.cs" />
6666
<Compile Include="$(MSBuildThisFileDirectory)Input\RelayCommandGenerator.cs" />
6767
<Compile Include="$(MSBuildThisFileDirectory)Input\RelayCommandGenerator.Execute.cs" />
68-
<Compile Include="$(MSBuildThisFileDirectory)InternalsVisibleTo.cs" />
6968
<Compile Include="$(MSBuildThisFileDirectory)Messaging\IMessengerRegisterAllGenerator.cs" />
7069
<Compile Include="$(MSBuildThisFileDirectory)Messaging\IMessengerRegisterAllGenerator.Execute.cs" />
7170
<Compile Include="$(MSBuildThisFileDirectory)Messaging\Models\RecipientInfo.cs" />

src/CommunityToolkit.Mvvm.SourceGenerators/CommunityToolkit.Mvvm.SourceGenerators.props

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@
3535
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(MvvmToolkitSourceGeneratorRoslynVersion)" PrivateAssets="all" Pack="false" />
3636
</ItemGroup>
3737

38+
<!-- Give access to the code fixers project for the exported diagnostic ids and properties -->
39+
<ItemGroup>
40+
<InternalsVisibleTo Include="CommunityToolkit.Mvvm.Fixers, PublicKey=$(AssemblySignPublicKey)" />
41+
</ItemGroup>
42+
3843
</Project>

src/CommunityToolkit.Mvvm.SourceGenerators/InternalsVisibleTo.cs

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)