Skip to content

Commit

Permalink
Sign Microsoft.Identity.Client with the MSAL key
Browse files Browse the repository at this point in the history
  • Loading branch information
0xced committed Mar 14, 2024
1 parent 9979e65 commit 9ce3fb9
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<DebugType>none</DebugType>
<Version>4.56.0</Version>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(BaseIntermediateOutputPath)MSAL.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<Target Name="DownloadMsalKey" BeforeTargets="ResolveKeySource" Condition="!Exists($(AssemblyOriginatorKeyFile))">
<DownloadFile SourceUrl="https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/raw/$(Version)/build/MSAL.snk" DestinationFolder="$(BaseIntermediateOutputPath)" />
</Target>

</Project>

0 comments on commit 9ce3fb9

Please sign in to comment.