From 441fb912228ffd6ce4dc2a537e3ef2370291b75d Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 23 Feb 2023 17:04:39 -0500 Subject: [PATCH] Packaging requires `-windows` for framework --- CHANGELIST.md | 1 + appveyor.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index 4625746b..85008e0f 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -56,6 +56,7 @@ - Attempt to handle no drives - Handle no drives better - Handle no drives betterer +- Packaging requires `-windows` for framework ### 2.4 (2022-10-26) diff --git a/appveyor.yml b/appveyor.yml index 1b8bb530..47654c6d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,10 +29,10 @@ build_script: - msbuild MPF.Check\MPF.Check.csproj -property:TargetFramework=net48 # .NET 6.0 - - dotnet publish MPF\MPF.csproj --framework net6.0 --runtime win-x86 --self-contained true -p:PublishSingleFile=true - - dotnet publish MPF\MPF.csproj --framework net6.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true - #- dotnet publish MPF\MPF.csproj --framework net6.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true - #- dotnet publish MPF\MPF.csproj --framework net6.0 --runtime osx-x64 --self-contained true -p:PublishSingleFile=true + - dotnet publish MPF\MPF.csproj --framework net6.0-windows --runtime win-x86 --self-contained true -p:PublishSingleFile=true + - dotnet publish MPF\MPF.csproj --framework net6.0-windows --runtime win-x64 --self-contained true -p:PublishSingleFile=true + #- dotnet publish MPF\MPF.csproj --framework net6.0-windows --runtime linux-x64 --self-contained true -p:PublishSingleFile=true + #- dotnet publish MPF\MPF.csproj --framework net6.0-windows --runtime osx-x64 --self-contained true -p:PublishSingleFile=true - dotnet publish MPF.Check\MPF.Check.csproj --framework net6.0 --runtime win-x86 --self-contained true -p:PublishSingleFile=true - dotnet publish MPF.Check\MPF.Check.csproj --framework net6.0 --runtime win-x64 --self-contained true -p:PublishSingleFile=true - dotnet publish MPF.Check\MPF.Check.csproj --framework net6.0 --runtime linux-x64 --self-contained true -p:PublishSingleFile=true