Fix Windows building

This commit is contained in:
jvyden 2022-06-04 18:06:10 -04:00
commit e54dee5182
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
3 changed files with 13 additions and 14 deletions

View file

@ -18,11 +18,6 @@ jobs:
- { prettyName: Linux, platform: ubuntu-latest, configurationName: Linux, extraArgs: "", buildPath: "Release/net6.0/publish"}
# - { prettyName: MacOS, platform: ubuntu-latest, configurationName: Release, platform: osx-x64 }
steps:
- name: Cancel previous runs of this workflow
uses: styfle/cancel-workflow-action@0.6.0
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v2
@ -37,4 +32,4 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: UnionPatcher-${{ matrix.os.prettyName }}
path: ${{ github.workspace }}/UnionPatcher.UI.${{ matrix.os.prettyName }}/bin/${{ matrix.os.buildPath }}
path: ${{ github.workspace }}/UnionPatcher.Gui.${{ matrix.os.prettyName }}/bin/${{ matrix.os.buildPath }}

View file

@ -1,6 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GitToolBoxProjectSettings">
<option name="autoFetchIntervalMinutesOverride">
<IntValueOverride>
<option name="enabled" value="true" />
<option name="value" value="15" />
</IntValueOverride>
</option>
<option name="commitMessageIssueKeyValidationOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
@ -11,5 +17,10 @@
<option name="enabled" value="true" />
</CommitMessageValidationOverride>
</option>
<option name="commitMessageValidationEnabledOverride">
<BoolValueOverride>
<option name="enabled" value="true" />
</BoolValueOverride>
</option>
</component>
</project>

View file

@ -3,18 +3,11 @@
<AssemblyName>LBPUnion.UnionPatcher</AssemblyName>
<RootNamespace>LBPUnion.UnionPatcher</RootNamespace>
<Configurations>Debug;Release;Windows</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' != 'Windows' ">
<TargetFramework>net6.0</TargetFramework>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Windows' ">
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<AssemblyName>LBPUnion.UnionPatcher</AssemblyName>
<RootNamespace>LBPUnion.UnionPatcher</RootNamespace>
<SelfContained>true</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>