File tree Expand file tree Collapse file tree 9 files changed +27
-26
lines changed Expand file tree Collapse file tree 9 files changed +27
-26
lines changed Original file line number Diff line number Diff line change 1
- name : MacNetCore
1
+ name : macOS
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change 1
- name : UbuntuNetCore
1
+ name : Ubuntu
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change 1
- name : WindowsNetCore
1
+ name : Windows
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change 1
1
<Project >
2
+
2
3
<PropertyGroup >
3
4
<ReleaseVersion >2.3.0.0</ReleaseVersion >
4
5
<RepositoryUrl >https://github.com/mono/taglib-sharp</RepositoryUrl >
5
6
<RepositoryType >git</RepositoryType >
6
- <TaglibSharpTargetFramework >netstandard2.0</TaglibSharpTargetFramework >
7
+
8
+ <!-- Make sure to update Directory.Build.targets too! -->
9
+ <ExeTargetFrameworks >net462;netcoreapp3.1</ExeTargetFrameworks >
10
+ <LibTargetFrameworks >net462;netstandard2.0</LibTargetFrameworks >
7
11
<LangVersion >latest</LangVersion >
8
12
</PropertyGroup >
13
+
14
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'net462'" >
15
+ <DebugType >full</DebugType >
16
+ </PropertyGroup >
17
+
18
+ <!-- Allow building net framework using mono -->
19
+ <ItemGroup Condition =" $(TargetFramework.StartsWith('net4')) and '$(OS)' == 'Unix'" >
20
+ <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" Version =" 1.0.0" >
21
+ <PrivateAssets >all</PrivateAssets >
22
+ <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
23
+ </PackageReference >
24
+ </ItemGroup >
25
+
26
+
9
27
</Project >
Original file line number Diff line number Diff line change 4
4
<PropertyGroup >
5
5
<OutputType >Exe</OutputType >
6
6
<EnableDefaultCompileItems >false</EnableDefaultCompileItems >
7
- <TargetFrameworks >netcoreapp2.1;netcoreapp3.1 </TargetFrameworks >
7
+ <TargetFrameworks >$(ExeTargetFrameworks) </TargetFrameworks >
8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
22
22
<Compile Include =" ReadFromUri.cs" />
23
23
</ItemGroup >
24
24
25
- <ItemGroup >
26
- <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets =" All" Version =" 1.0.0" />
27
- </ItemGroup >
28
-
29
25
</Project >
Original file line number Diff line number Diff line change 4
4
<PropertyGroup >
5
5
<OutputType >Exe</OutputType >
6
6
<EnableDefaultCompileItems >false</EnableDefaultCompileItems >
7
- <TargetFrameworks >netcoreapp2.1;netcoreapp3.1 </TargetFrameworks >
7
+ <TargetFrameworks >$(ExeTargetFrameworks) </TargetFrameworks >
8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
22
22
<ProjectReference Include =" ..\..\src\TaglibSharp\TaglibSharp.csproj" />
23
23
</ItemGroup >
24
24
25
- <ItemGroup >
26
- <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets =" All" Version =" 1.0.0" />
27
- </ItemGroup >
28
-
29
25
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >netcoreapp2.1;netcoreapp3.1 </TargetFrameworks >
4
+ <TargetFrameworks >$(ExeTargetFrameworks) </TargetFrameworks >
5
5
<OutputType >Exe</OutputType >
6
6
</PropertyGroup >
7
7
13
13
<ProjectReference Include =" ..\TaglibSharp\TaglibSharp.csproj" />
14
14
</ItemGroup >
15
15
16
- <ItemGroup >
17
- <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets =" All" Version =" 1.0.0" />
18
- </ItemGroup >
19
-
20
16
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >net461;netcoreapp3.1 </TargetFrameworks >
4
+ <TargetFrameworks >$(ExeTargetFrameworks) </TargetFrameworks >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
22
22
<IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
23
23
</PackageReference >
24
24
<PackageReference Include =" SixLabors.ImageSharp" Version =" 1.0.0-beta0007" />
25
- <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets =" All" Version =" 1.0.0" />
26
25
</ItemGroup >
27
26
28
27
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <TargetFrameworks >$(TaglibSharpTargetFramework )</TargetFrameworks >
4
+ <TargetFrameworks >$(LibTargetFrameworks )</TargetFrameworks >
5
5
<DocumentationFile >bin\$(Configuration)\$(TargetFramework)\TaglibSharp.xml</DocumentationFile >
6
6
<AssemblyName >TagLibSharp</AssemblyName >
7
7
<RootNamespace >TagLib</RootNamespace >
@@ -32,8 +32,4 @@ January 21, 2019
32
32
* Lots and lots of updates including net45 and .netstandard 2.0</PackageReleaseNotes >
33
33
</PropertyGroup >
34
34
35
- <ItemGroup >
36
- <PackageReference Include =" Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets =" All" Version =" 1.0.0" />
37
- </ItemGroup >
38
-
39
35
</Project >
You can’t perform that action at this time.
0 commit comments