Skip to content

Commit

Permalink
added support for internals visible to test project
Browse files Browse the repository at this point in the history
  • Loading branch information
mizrael committed Jan 29, 2024
1 parent f6246d8 commit bb402ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/Persistence.Tests/Persistence.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<SignAssembly>false</SignAssembly>

<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>../../35MSSharedLib1024.snk</AssemblyOriginatorKeyFile>
<PublicSign>true</PublicSign>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.PowerFx.Core" Version="1.2.0" />
<PackageReference Include="YamlDotNet" Version="$(YamlDotNetVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />
</ItemGroup>

<ItemGroup Condition="'$(GitExists)' == true">
Expand All @@ -48,6 +48,10 @@
</PackageReference>
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="Persistence.Tests" Key="0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9" />
</ItemGroup>

<Target Name="SetAssemblyVersion" AfterTargets="MinVer">
<PropertyGroup>
<AssemblyVersion>$(MinVer)</AssemblyVersion>
Expand Down
2 changes: 1 addition & 1 deletion src/Persistence/Utils/FileUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Microsoft.PowerPlatform.PowerApps.Persistence.Utils;

public static class FileUtils
internal static class FileUtils
{
/// <summary>
/// Converts backslashes to forward slashes, removes trailing slashes, and converts to lowercase.
Expand Down

0 comments on commit bb402ec

Please sign in to comment.