Runtime identifiers, explicit .NET Framework 4.8

This commit is contained in:
Matt Nadareski
2022-12-29 21:06:14 -08:00
parent daea4ea460
commit f326a20019
14 changed files with 48 additions and 24 deletions

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp.ASN1</Title>
<AssemblyName>BurnOutSharp.ASN1</AssemblyName>
<Authors>Matt Nadareski</Authors>

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp.Builder</Title>
<AssemblyName>BurnOutSharp.Builder</AssemblyName>
<Authors>Matt Nadareski</Authors>

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp.Compression</Title>
<AssemblyName>BurnOutSharp.Compression</AssemblyName>
<Authors>Matt Nadareski</Authors>

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp.Matching</Title>
<AssemblyName>BurnOutSharp.Matching</AssemblyName>
<Authors>Matt Nadareski</Authors>

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp.Models</Title>
<AssemblyName>BurnOutSharp.Models</AssemblyName>
<Authors>Matt Nadareski</Authors>

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp.Utilities</Title>
<AssemblyName>BurnOutSharp.Utilities</AssemblyName>
<Authors>Matt Nadareski</Authors>

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp.Wrappers</Title>
<AssemblyName>BurnOutSharp.Wrappers</AssemblyName>
<Authors>Matt Nadareski</Authors>

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>BurnOutSharp</Title>
<AssemblyName>BurnOutSharp</AssemblyName>
<Description>Port of BurnOut to C#, with additions</Description>

View File

@@ -2,7 +2,7 @@
using System.Collections.Concurrent;
using System.IO;
using BurnOutSharp.Interfaces;
#if NETSTANDARD2_0
#if NET48
using StormLibSharp;
#endif
using static BurnOutSharp.Utilities.Dictionary;

View File

@@ -2,7 +2,7 @@
using System.Collections.Concurrent;
using System.IO;
using BurnOutSharp.Interfaces;
#if NETSTANDARD2_0
#if NET48
using WixToolset.Dtf.Compression;
using WixToolset.Dtf.Compression.Cab;
#elif NET6_0_OR_GREATER

View File

@@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<OutputType>Exe</OutputType>
</PropertyGroup>

View File

@@ -29,15 +29,18 @@ before_build:
- nuget restore
# build step
build:
verbosity: minimal
project: BurnOutSharp.sln
# post-build step
after_build:
- cd Test\bin\Debug
- 7z a BurnOutSharp_net48.zip net48\*
- 7z a BurnOutSharp_net6.0.zip net6.0\*
build_script:
- cmd: dotnet restore
# .NET Framework 4.8
- cmd: dotnet build --framework net48
# .NET 6.0, Windows x86
- cmd: dotnet publish Test\Test.csproj --framework net6.0 --runtime win-x86 --self-contained true -p:PublishSingleFile=true
# .NET 6.0, Windows x64
- cmd: dotnet publish Test\Test.csproj --framework net6.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true
# .NET 6.0, Linux x64
- cmd: dotnet publish Test\Test.csproj --framework net6.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true
# .NET 6.0, OSX x64
- cmd: dotnet publish Test\Test.csproj --framework net6.0 --runtime osx-x64 --self-contained true -p:PublishSingleFile=true
# success/failure tracking
on_success:
@@ -49,7 +52,18 @@ on_failure:
# artifact linking
artifacts:
- path: Test\bin\Debug\BurnOutSharp_net48.zip
- path: Test\bin\Debug\net48
name: BurnOutSharp (.NET Framework 4.8)
- path: Test\bin\Debug\BurnOutSharp_net6.0.zip
name: BurnOutSharp (.NET 6.0)
type: zip
- path: Test\bin\Debug\net6.0\win-x86\publish
name: BurnOutSharp (.NET 6.0, Windows x86)
type: zip
- path: Test\bin\Debug\net6.0\win-x64\publish
name: BurnOutSharp (.NET 6.0, Windows x64)
type: zip
- path: Test\bin\Debug\net6.0\linux-x64\publish
name: BurnOutSharp (.NET 6.0, Linux x64)
type: zip
- path: Test\bin\Debug\net6.0\osx-x64\publish
name: BurnOutSharp (.NET 6.0, OSX x64)
type: zip

View File

@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<TargetFrameworks>net48;net6.0</TargetFrameworks>
<RuntimeIdentifiers>win-x86;win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
<Title>psxt001z</Title>
<AssemblyName>psxt001z</AssemblyName>
<Authors>Matt Nadareski;Dremora</Authors>