File tree 5 files changed +11
-17
lines changed
5 files changed +11
-17
lines changed Original file line number Diff line number Diff line change 27
27
<PropertyGroup >
28
28
<SignAssembly >true</SignAssembly >
29
29
<AssemblyOriginatorKeyFile >$(RepositoryDirectory)toolkit.snk</AssemblyOriginatorKeyFile >
30
+ <AssemblySignPublicKey >002400000480000094000000060200000024000052534131000400000100010041753AF735AE6140C9508567666C51C6AB929806ADB0D210694B30AB142A060237BC741F9682E7D8D4310364B4BBA4EE89CC9D3D5CE7E5583587E8EA44DCA09977996582875E71FB54FA7B170798D853D5D8010B07219633BDB761D01AC924DA44576D6180CDCEAE537973982BB461C541541D58417A3794E34F45E6F2D129E2</AssemblySignPublicKey >
30
31
</PropertyGroup >
31
32
32
33
<PropertyGroup >
Original file line number Diff line number Diff line change 35
35
<PackageReference Include =" System.Threading.Tasks.Extensions" Version =" 4.5.4" />
36
36
<PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Version =" 6.0.0" />
37
37
</ItemGroup >
38
+
39
+ <!-- On .NET Standard 2.0, the unit test project also needs access to internals-->
40
+ <ItemGroup >
41
+ <InternalsVisibleTo Include =" CommunityToolkit.HighPerformance.UnitTests, PublicKey=$(AssemblySignPublicKey)" />
42
+ </ItemGroup >
38
43
</When >
39
44
40
45
<When Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 40
40
<ProjectReference Include =" ..\CommunityToolkit.Mvvm.SourceGenerators.Roslyn431\CommunityToolkit.Mvvm.SourceGenerators.Roslyn431.csproj" ReferenceOutputAssembly =" false" />
41
41
</ItemGroup >
42
42
43
+ <!-- Add the [InternalsVisibleTo] attribute for the test project -->
44
+ <ItemGroup >
45
+ <InternalsVisibleTo Include =" CommunityToolkit.Mvvm.Internals.UnitTests, PublicKey=$(AssemblySignPublicKey)" />
46
+ </ItemGroup >
47
+
43
48
<!-- Necessary polyfills -->
44
49
<PropertyGroup >
45
50
<PolySharpIncludeGeneratedTypes >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments