Expand file tree Collapse file tree 16 files changed +23
-124
lines changed Original file line number Diff line number Diff line change 63
63
Linux :
64
64
BuildName : ' Linux'
65
65
ImageName : ' ubuntu-latest'
66
- # macOS:
67
- # BuildName: 'macOS'
68
- # ImageName: 'macOS-latest'
66
+ macOS :
67
+ BuildName : ' macOS'
68
+ ImageName : ' macOS-latest'
69
69
pool :
70
70
vmImage : $(ImageName)
71
71
steps :
Original file line number Diff line number Diff line change 21
21
]
22
22
},
23
23
"nuke.globaltool" : {
24
- "version" : " 6.0.3 " ,
24
+ "version" : " 6.2.1 " ,
25
25
"commands" : [
26
26
" nuke"
27
27
]
Original file line number Diff line number Diff line change 75
75
strategy :
76
76
fail-fast : false
77
77
matrix :
78
- os :
79
- # - macOS-latest
80
- - windows-latest
81
- - ubuntu-latest
78
+ os : [macOS-latest, windows-latest, ubuntu-latest]
82
79
runs-on : ${{ matrix.os }}
83
80
steps :
84
81
- name : Checkout
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<OutputType >Exe</OutputType >
5
5
<IsPackable >false</IsPackable >
6
- <TargetFramework >netcoreapp3.1 </TargetFramework >
6
+ <TargetFramework >net6.0 </TargetFramework >
7
7
<RuntimeIdentifier >win7-x64</RuntimeIdentifier >
8
8
<LangVersion >latest</LangVersion >
9
9
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
#pragma warning disable MA0048 // File name must match type name
2
- #define INTERNAL_RECORD_ATTRIBUTES
3
- #if NETSTANDARD2_0 || NETSTANDARD2_1 || NETCOREAPP2_0 || NETCOREAPP2_1 || NETCOREAPP2_2 || NET45 || NET451 || NET452 || NET6 || NET461 || NET462 || NET47 || NET471 || NET472 || NET48
2
+ #if NET5_0_OR_GREATER
3
+ [ assembly: System . Runtime . CompilerServices . TypeForwardedTo ( typeof ( System . Runtime . CompilerServices . IsExternalInit ) ) ]
4
+ #else
5
+
4
6
using System . ComponentModel ;
5
7
6
8
// ReSharper disable once CheckNamespace
@@ -11,12 +13,7 @@ namespace System.Runtime.CompilerServices
11
13
/// This class should not be used by developers in source code.
12
14
/// </summary>
13
15
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
14
- #if INTERNAL_RECORD_ATTRIBUTES
15
- internal
16
- #else
17
- public
18
- #endif
19
- static class IsExternalInit
16
+ internal static class IsExternalInit
20
17
{
21
18
}
22
19
}
Original file line number Diff line number Diff line change 1
1
#pragma warning disable MA0048 // File name must match type name
2
- #define INTERNAL_RECORD_ATTRIBUTES
3
- #if NETSTANDARD || NETCOREAPP
2
+ #if NET5_0_OR_GREATER
3
+ [ assembly: System . Runtime . CompilerServices . TypeForwardedTo ( typeof ( System . Runtime . CompilerServices . IsExternalInit ) ) ]
4
+ #else
5
+
4
6
using System . ComponentModel ;
5
7
6
8
// ReSharper disable once CheckNamespace
@@ -11,12 +13,7 @@ namespace System.Runtime.CompilerServices
11
13
/// This class should not be used by developers in source code.
12
14
/// </summary>
13
15
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
14
- #if INTERNAL_RECORD_ATTRIBUTES
15
- internal
16
- #else
17
- public
18
- #endif
19
- static class IsExternalInit
16
+ internal static class IsExternalInit
20
17
{
21
18
}
22
19
}
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netcoreapp3.1; net6.0</TargetFrameworks >
4
+ <TargetFrameworks >net6.0</TargetFrameworks >
5
5
<AssemblyName >OmniSharp.Extensions.LanguageClient.Tests</AssemblyName >
6
6
<RootNamespace >OmniSharp.Extensions.LanguageServer.Client.Tests</RootNamespace >
7
7
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFrameworks >netcoreapp3.1; net6.0</TargetFrameworks >
3
+ <TargetFrameworks >net6.0</TargetFrameworks >
4
4
<WarningsAsErrors >true</WarningsAsErrors >
5
5
<PlatformTarget >AnyCPU</PlatformTarget >
6
6
</PropertyGroup >
16
16
<ProjectReference Include =" ..\..\src\JsonRpc.Generators\JsonRpc.Generators.csproj" IncludeAssets =" analyzers" ExcludeAssets =" compile;runtime;native" PrivateAssets =" contentfiles;build;buildMultitargeting;buildTransitive" OutputItemType =" Analyzer" />
17
17
</ItemGroup >
18
18
<ItemGroup >
19
- <Folder Include =" obj\Release\netcoreapp3.1 \" />
19
+ <Folder Include =" obj\Release\net6.0 \" />
20
20
</ItemGroup >
21
21
</Project >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFrameworks >netcoreapp3.1; net6.0</TargetFrameworks >
3
+ <TargetFrameworks >net6.0</TargetFrameworks >
4
4
<WarningsAsErrors >true</WarningsAsErrors >
5
5
<PlatformTarget >AnyCPU</PlatformTarget >
6
6
</PropertyGroup >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFrameworks >netcoreapp3.1; net6.0</TargetFrameworks >
3
+ <TargetFrameworks >net6.0</TargetFrameworks >
4
4
<WarningsAsErrors >true</WarningsAsErrors >
5
5
<PlatformTarget >AnyCPU</PlatformTarget >
6
6
</PropertyGroup >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFrameworks >net6.0;netcoreapp3.1;net6.0 </TargetFrameworks >
3
+ <TargetFrameworks >net6.0</TargetFrameworks >
4
4
<WarningsAsErrors >true</WarningsAsErrors >
5
5
<PlatformTarget >AnyCPU</PlatformTarget >
6
6
</PropertyGroup >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFrameworks >net6.0;netcoreapp3.1;net6.0 </TargetFrameworks >
3
+ <TargetFrameworks >net6.0</TargetFrameworks >
4
4
<WarningsAsErrors >true</WarningsAsErrors >
5
5
<PlatformTarget >AnyCPU</PlatformTarget >
6
6
</PropertyGroup >
Load Diff This file was deleted.
0 commit comments