Skip to content

Commit

Permalink
[OneBranch] Adding UAP back into the pipeline (#4228)
Browse files Browse the repository at this point in the history
* Update Microsoft.Identity.Client.csproj

* Update Microsoft.Identity.Client.csproj

* Update Microsoft.Identity.Client.csproj

* Update MainPage.xaml.cs

* Update Microsoft.Identity.Client.csproj

* Update Microsoft.Identity.Client.csproj
  • Loading branch information
gladjohn authored Jul 12, 2023
1 parent 9b00a01 commit 6a0c0f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
<TargetFrameworkAndroid10>MonoAndroid10.0</TargetFrameworkAndroid10>
<TargetFrameworkNet6Android>net6.0-android</TargetFrameworkNet6Android>
<TargetFrameworkNet6Ios>net6.0-ios15.4</TargetFrameworkNet6Ios>
</PropertyGroup>

<!-- UAP -->
<PropertyGroup Condition="'$(PipelineType)' != 'OneBranch' and '$(INCLUDE_MOBILE_AND_LEGACY_TFM)' != ''">
<TargetFrameworkUap>uap10.0.17763</TargetFrameworkUap>
</PropertyGroup>

Expand Down Expand Up @@ -234,7 +230,7 @@
<Reference Include="System.Xml" />

</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkUap)' And '$(PipelineType)' != 'OneBranch'">
<ItemGroup Condition="'$(TargetFramework)' == '$(TargetFrameworkUap)'">
<Compile Include="$(PathToMsalSources)\Platforms\uap\**\*.cs" />
<Compile Include="$(PathToMsalSources)\PlatformsCommon\PlatformNotSupported\ApiConfig\SystemWebViewOptions.cs" />
<Compile Include="$(PathToMsalSources)\Platforms\Features\WamBroker\**\*.cs" Exclude="$(PathToMsalSources)\Platforms\Features\WamBroker\win32\**\*.cs" />
Expand Down
2 changes: 1 addition & 1 deletion tests/devapps/WAM/UWPWam/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private IPublicClientApplication CreatePublicClient()
var pca = PublicClientApplicationBuilder.Create(s_clientID)
.WithAuthority(s_authority)
.WithBroker(chkUseBroker.IsChecked.Value)
//.WithWindowsBrokerOptions(new WindowsBrokerOptions() { HeaderText = "aaa" })
.WithWindowsBrokerOptions(new WindowsBrokerOptions() { HeaderText = "aaa" })
.WithLogging((x, y, z) => Debug.WriteLine($"{x} {y}"), LogLevel.Verbose, true)
.Build();

Expand Down

0 comments on commit 6a0c0f5

Please sign in to comment.