Skip to content

Commit 9dc8aad

Browse files
author
maddieclayton
committed
add profile models
1 parent 4177c9d commit 9dc8aad

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

src/Authentication.ResourceManager/Models/AzureContextConverter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
using Microsoft.Azure.Commands.Common.Authentication.Abstractions;
1919
#if !NETSTANDARD
2020
using Microsoft.Azure.Commands.Common.Authentication.Abstractions.Desktop;
21+
using Microsoft.Azure.Commands.Profile.Models.Desktop;
2122
#endif
2223
using System.Collections;
2324
using Microsoft.Azure.Commands.Profile.Common;

src/Authentication.ResourceManager/Models/PSAzureContext.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
using System.Management.Automation;
2424
using Microsoft.WindowsAzure.Commands.Common.Attributes;
2525

26+
#if NETSTANDARD
2627
namespace Microsoft.Azure.Commands.Profile.Models
28+
#else
29+
namespace Microsoft.Azure.Commands.Profile.Models.Desktop
30+
#endif
2731
{
2832
/// <summary>
2933
/// The context for connecting cmdlets in the current session to Azure.

src/Authentication.ResourceManager/Models/PSAzureProfile.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
using System.Collections.Generic;
1919
using Microsoft.WindowsAzure.Commands.Common.Attributes;
2020

21+
#if NETSTANDARD
2122
namespace Microsoft.Azure.Commands.Profile.Models
23+
#else
24+
namespace Microsoft.Azure.Commands.Profile.Models.Desktop
25+
#endif
2226
{
2327
/// <summary>
2428
/// Credential and environment data for connecting with an Azure instance in the current session.

0 commit comments

Comments
 (0)