File tree Expand file tree Collapse file tree 12 files changed +25
-21
lines changed Expand file tree Collapse file tree 12 files changed +25
-21
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2 .0</TargetFramework >
4
+ <TargetFramework >net6 .0</TargetFramework >
5
5
<IncludeBuildOutput >false</IncludeBuildOutput >
6
6
</PropertyGroup >
7
7
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.0</TargetFramework >
4
+ <TargetFrameworks >net6.0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6.0;net472</TargetFrameworks >
5
6
<RootNamespace >Atlassian.Bitbucket.UI</RootNamespace >
6
7
<AssemblyName >Atlassian.Bitbucket.UI.Shared</AssemblyName >
7
8
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2 .0</TargetFrameworks >
5
- <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >netstandard2 .0;net472</TargetFrameworks >
4
+ <TargetFrameworks >net6 .0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6 .0;net472</TargetFrameworks >
6
6
<AssemblyName >Atlassian.Bitbucket</AssemblyName >
7
7
<RootNamespace >Atlassian.Bitbucket</RootNamespace >
8
8
<IsTestProject >false</IsTestProject >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.0</TargetFramework >
4
+ <TargetFrameworks >net6.0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6.0;net472</TargetFrameworks >
5
6
<AssemblyName >gcmcoreui</AssemblyName >
6
7
<RootNamespace >GitCredentialManager.UI</RootNamespace >
7
8
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2 .0</TargetFrameworks >
5
- <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >netstandard2 .0;net472</TargetFrameworks >
4
+ <TargetFrameworks >net6 .0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6 .0;net472</TargetFrameworks >
6
6
<AssemblyName >gcmcore</AssemblyName >
7
7
<RootNamespace >GitCredentialManager</RootNamespace >
8
8
<IsTestProject >false</IsTestProject >
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public static bool IsMacOS()
70
70
{
71
71
#if NETFRAMEWORK
72
72
return Environment . OSVersion . Platform == PlatformID . MacOSX ;
73
- #elif NETSTANDARD
73
+ #else
74
74
return RuntimeInformation . IsOSPlatform ( OSPlatform . OSX ) ;
75
75
#endif
76
76
}
@@ -83,7 +83,7 @@ public static bool IsWindows()
83
83
{
84
84
#if NETFRAMEWORK
85
85
return Environment . OSVersion . Platform == PlatformID . Win32NT ;
86
- #elif NETSTANDARD
86
+ #else
87
87
return RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) ;
88
88
#endif
89
89
}
@@ -96,7 +96,7 @@ public static bool IsLinux()
96
96
{
97
97
#if NETFRAMEWORK
98
98
return Environment . OSVersion . Platform == PlatformID . Unix ;
99
- #elif NETSTANDARD
99
+ #else
100
100
return RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) ;
101
101
#endif
102
102
}
@@ -309,7 +309,7 @@ private static string GetCpuArchitecture()
309
309
{
310
310
#if NETFRAMEWORK
311
311
return Environment . Is64BitOperatingSystem ? "x86-64" : "x86" ;
312
- #elif NETSTANDARD
312
+ #else
313
313
switch ( RuntimeInformation . OSArchitecture )
314
314
{
315
315
case Architecture . Arm :
@@ -330,7 +330,7 @@ private static string GetClrVersion()
330
330
{
331
331
#if NETFRAMEWORK
332
332
return $ ".NET Framework { Environment . Version } ";
333
- #elif NETSTANDARD
333
+ #else
334
334
return RuntimeInformation . FrameworkDescription ;
335
335
#endif
336
336
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.0</TargetFramework >
4
+ <TargetFrameworks >net6.0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6.0;net472</TargetFrameworks >
5
6
<RootNamespace >GitHub.UI</RootNamespace >
6
7
<AssemblyName >GitHub.UI.Shared</AssemblyName >
7
8
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2 .0</TargetFrameworks >
5
- <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >netstandard2 .0;net472</TargetFrameworks >
4
+ <TargetFrameworks >net6 .0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6 .0;net472</TargetFrameworks >
6
6
<AssemblyName >GitHub</AssemblyName >
7
7
<RootNamespace >GitHub</RootNamespace >
8
8
<IsTestProject >false</IsTestProject >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFramework >netstandard2.0</TargetFramework >
4
+ <TargetFrameworks >net6.0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6.0;net472</TargetFrameworks >
5
6
<RootNamespace >GitLab.UI</RootNamespace >
6
7
<AssemblyName >GitLab.UI.Shared</AssemblyName >
7
8
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netstandard2 .0</TargetFrameworks >
5
- <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >netstandard2 .0;net472</TargetFrameworks >
4
+ <TargetFrameworks >net6 .0</TargetFrameworks >
5
+ <TargetFrameworks Condition =" '$(OSPlatform)'=='windows'" >net6 .0;net472</TargetFrameworks >
6
6
<AssemblyName >GitLab</AssemblyName >
7
7
<RootNamespace >GitLab</RootNamespace >
8
8
<IsTestProject >false</IsTestProject >
You can’t perform that action at this time.
0 commit comments