From e667908a065af17f6880138017238a8bbf95d859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ch=C4=99ci=C5=84ski?= Date: Wed, 15 Mar 2023 16:57:36 +0100 Subject: [PATCH] Fix self contained mssqlmigratorutility (#2804) * Fix self-contained mssqlmigratorutility * Fix build * Fix * Fix --- .github/workflows/build.yml | 2 +- util/MsSqlMigratorUtility/MsSqlMigratorUtility.csproj | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f35ad3fff6..fd6932b335 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -498,7 +498,7 @@ jobs: dotnet restore - name: Publish project - run: dotnet publish -c "Release" -o obj/build-output/publish -r ${{ matrix.target }} --self-contained true + run: dotnet publish -c "Release" -o obj/build-output/publish -r ${{ matrix.target }} -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained true - name: Upload project artifact Windows if: ${{ contains(matrix.target, 'win') == true }} diff --git a/util/MsSqlMigratorUtility/MsSqlMigratorUtility.csproj b/util/MsSqlMigratorUtility/MsSqlMigratorUtility.csproj index 8fc5fcaeb1..0e423b150d 100644 --- a/util/MsSqlMigratorUtility/MsSqlMigratorUtility.csproj +++ b/util/MsSqlMigratorUtility/MsSqlMigratorUtility.csproj @@ -2,6 +2,7 @@ Exe + true @@ -12,4 +13,5 @@ +