Browse Source

Fix self contained mssqlmigratorutility (#2804)

* Fix self-contained mssqlmigratorutility

* Fix build

* Fix

* Fix
pull/2810/head
Michał Chęciński 3 years ago committed by GitHub
parent
commit
e667908a06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/build.yml
  2. 2
      util/MsSqlMigratorUtility/MsSqlMigratorUtility.csproj

2
.github/workflows/build.yml

@ -498,7 +498,7 @@ jobs: @@ -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 }}

2
util/MsSqlMigratorUtility/MsSqlMigratorUtility.csproj

@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
</PropertyGroup>
<ItemGroup>
@ -12,4 +13,5 @@ @@ -12,4 +13,5 @@
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" />
</ItemGroup>
</Project>

Loading…
Cancel
Save