|
15 | 15 | </PropertyGroup> |
16 | 16 |
|
17 | 17 | <ItemGroup Condition="'$(IsTestProject)' != 'true'"> |
18 | | - <InternalsVisibleTo Condition="'$(SignAssembly)' == 'true'" Include="$(AssemblyName).Tests, $(_FriendAssembliesPublicKey)"/> |
19 | | - <InternalsVisibleTo Condition="'$(SignAssembly)' != 'true'" Include="$(AssemblyName).Tests"/> |
| 18 | + <InternalsVisibleTo Condition="'$(SignAssembly)' == 'true'" Include="$(AssemblyName).Tests, $(_FriendAssembliesPublicKey)" /> |
| 19 | + <InternalsVisibleTo Condition="'$(SignAssembly)' != 'true'" Include="$(AssemblyName).Tests" /> |
20 | 20 | </ItemGroup> |
21 | 21 |
|
22 | 22 | <!--Workaround for https://github.com/NuGet/Home/issues/5556 and https://github.com/NuGet/Home/issues/5525--> |
23 | 23 | <Target Name="UseExplicitPackageVersions" BeforeTargets="GenerateNuspec"> |
24 | 24 | <ItemGroup> |
25 | | - <_ProjectReferenceWithExplicitPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.PackageVersion)' != ''" /> |
26 | | - <_ProjectReferenceWithExactPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.ExactVersion)' == 'true'" /> |
| 25 | + <_ProjectReferenceWithExplicitPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.PackageVersion)' != ''" /> |
| 26 | + <_ProjectReferenceWithExactPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.ExactVersion)' == 'true'" /> |
27 | 27 | <_ProjectReferenceWithReassignedVersion Include="@(_ProjectReferencesWithVersions)" Condition="'%(Identity)' != '' And '@(_ProjectReferenceWithExplicitPackageVersion)' == '@(_ProjectReferencesWithVersions)'"> |
28 | | - <ProjectVersion>@(_ProjectReferenceWithExplicitPackageVersion->'%(PackageVersion)')</ProjectVersion> |
| 28 | + <ProjectVersion>@(_ProjectReferenceWithExplicitPackageVersion->'%(PackageVersion)')</ProjectVersion> |
29 | 29 | </_ProjectReferenceWithReassignedVersion> |
30 | 30 | <_ProjectReferenceWithReassignedVersion Include="@(_ProjectReferencesWithVersions)" Condition="'%(Identity)' != '' And '@(_ProjectReferenceWithExactPackageVersion)' == '@(_ProjectReferencesWithVersions)'"> |
31 | | - <ProjectVersion>[@(_ProjectReferencesWithVersions->'%(ProjectVersion)')]</ProjectVersion> |
| 31 | + <ProjectVersion>[@(_ProjectReferencesWithVersions->'%(ProjectVersion)')]</ProjectVersion> |
32 | 32 | </_ProjectReferenceWithReassignedVersion> |
33 | 33 | <_ProjectReferencesWithVersions Remove="@(_ProjectReferenceWithReassignedVersion)" /> |
34 | 34 | <_ProjectReferencesWithVersions Include="@(_ProjectReferenceWithReassignedVersion)" /> |
|
0 commit comments