Skip to content

Fix build

Fix build #117

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 6 & 7 & 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.423
7.0.120
8.0.302
- name: Restore dependencies
run: dir "C:\Program Files\dotnet\\shared\Microsoft.WindowsDesktop.App\"
- name: Restore dependencies
run: dotnet restore WinFormsComInterop.Build.sln
- name: Build
run: dotnet build WinFormsComInterop.Build.sln --no-restore
- name: Test
run: dotnet test WinFormsComInterop.Build.sln --no-build --verbosity normal --framework net7.0