-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathMSALWrapper.Benchmark.csproj
More file actions
39 lines (39 loc) · 1.96 KB
/
MSALWrapper.Benchmark.csproj
File metadata and controls
39 lines (39 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
<TargetFramework>net8.0</TargetFramework>
<DefineConstants>PlatformWindows</DefineConstants>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Microsoft.Authentication.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.2" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.82.1" />
<PackageReference Include="Microsoft.Identity.Client.Broker" Version="4.82.1" />
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.82.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MSALWrapper\MSALWrapper.csproj" />
</ItemGroup>
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
<!--Windows: Explicitly continue using the net5 version of MSAL since there is no net6 target yet
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/3682-->
<Reference Include="Microsoft.Identity.Client" GeneratePathProperty="true">
<HintPath>$(PkgPMicrosoft_Identity_Client)\lib\net5.0-windows10.0.17763\Microsoft.Identity.Client.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup Condition="$([MSBuild]::IsOSPlatform('Windows')) == false">
<!-- Not Windows: simple package reference -->
<PackageReference Include="Microsoft.Identity.Client" Version="4.65.0" />
</ItemGroup>
</Project>