Skip to content

Commit 3b80c99

Browse files
committed
fix: update paths to build output
1 parent a69e2b1 commit 3b80c99

File tree

5 files changed

+23
-60
lines changed

5 files changed

+23
-60
lines changed

.github/workflows/dotnet-winui3.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ jobs:
3939
uses: microsoft/setup-msbuild@v1.0.2
4040

4141
# Create the app package by building and packaging the project
42-
- name: Create the app package
43-
run: dotnet publish -r win-$env:Platform --self-contained true /p:WindowsAppSDKSelfContained=true /p:PublishReadyToRun=true
42+
- name: Create the app package
43+
run: dotnet publish -r win-$env:Platform --self-contained true
4444
env:
4545
Appx_Bundle: Never
4646
Appx_Package_Build_Mode: SideloadOnly
4747
Appx_Package_Dir: Packages/
4848
Configuration: ${{ matrix.configuration }}
4949
Platform: ${{ matrix.platform }}
5050

51-
# Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
52-
- name: Upload MSIX package
51+
# Upload the build output: https://github.com/marketplace/actions/upload-a-build-artifact
52+
- name: Upload ZIP
5353
uses: actions/upload-artifact@v4
5454
with:
5555
name: Package
56-
path: Crimson\bin\x64\Release\net8.0-windows10.0.19041.0\win-x64\publish\
56+
path: Crimson\bin\Release\*\win-$env:Platform\*

Crimson/Crimson.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
66
<RootNamespace>Crimson</RootNamespace>
77
<ApplicationManifest>app.manifest</ApplicationManifest>
8-
<Platforms>x86;x64;arm64</Platforms>
8+
<Platforms>x64</Platforms>
99
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
10+
<PublishProfile>win-x64.pubxml</PublishProfile>
1011
<UseWinUI>true</UseWinUI>
1112
<AssemblyName>Crimson</AssemblyName>
1213
<EnableMsixTooling>true</EnableMsixTooling>

Crimson/Properties/PublishProfiles/win-arm64.pubxml

Lines changed: 0 additions & 20 deletions
This file was deleted.

Crimson/Properties/PublishProfiles/win-x64.pubxml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@
33
https://go.microsoft.com/fwlink/?LinkID=208121.
44
-->
55
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
6-
<PropertyGroup>
7-
<Platform>x64</Platform>
8-
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
9-
<PublishDir>C:\Users\foxtrot47\Desktop\tdep</PublishDir>
10-
<SelfContained>true</SelfContained>
11-
<PublishSingleFile>true</PublishSingleFile>
12-
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
13-
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">true</PublishReadyToRun>
14-
<Configuration>Release</Configuration>
15-
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
16-
<PublishTrimmed>false</PublishTrimmed>
17-
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
18-
<!--
6+
<PropertyGroup>
7+
<PublishProtocol>FileSystem</PublishProtocol>
8+
<Platform>x64</Platform>
9+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
10+
<PublishDir>bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir>
11+
<SelfContained>true</SelfContained>
12+
<PublishSingleFile>False</PublishSingleFile>
13+
<PublishTrimmed>False</PublishTrimmed>
14+
<PublishReadyToRun Condition="'$(Configuration)' == 'Debug'">False</PublishReadyToRun>
15+
<PublishReadyToRun Condition="'$(Configuration)' != 'Debug'">true</PublishReadyToRun>
16+
<Configuration>Release</Configuration>
17+
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
18+
<PublishTrimmed>false</PublishTrimmed>
19+
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
20+
<!--
1921
See https://github.com/microsoft/CsWinRT/issues/373
2022
<PublishTrimmed>True</PublishTrimmed>
2123
-->
22-
</PropertyGroup>
24+
</PropertyGroup>
2325
</Project>

Crimson/Properties/PublishProfiles/win-x86.pubxml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)