Skip to content

Commit ce549c8

Browse files
committed
Restore exe entry point for Windows
1 parent 7e278c8 commit ce549c8

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

.github/workflows/ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
run: dotnet build src --configuration Release
2626
- name: Remove executables
2727
run: |
28-
Remove-Item binaries/MonitoringDemo
2928
Remove-Item binaries/Billing/Billing
3029
Remove-Item binaries/ClientUI/ClientUI
3130
Remove-Item binaries/PlatformLauncher/PlatformLauncher

.github/workflows/release.yml

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
run: dotnet build src --configuration Release
2121
- name: Remove executables
2222
run: |
23-
Remove-Item binaries/MonitoringDemo
2423
Remove-Item binaries/Billing/Billing
2524
Remove-Item binaries/ClientUI/ClientUI
2625
Remove-Item binaries/PlatformLauncher/PlatformLauncher

src/MonitoringDemo/MonitoringDemo.csproj

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77
<Nullable>enable</Nullable>
88
<OutputPath>..\..\binaries\</OutputPath>
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
10+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
11+
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
1012
</PropertyGroup>
1113

1214
<ItemGroup>
13-
<None Update="launch.sh" CopyToOutputDirectory="PreserveNewest" />
14-
<None Update="launch.ps1" CopyToOutputDirectory="PreserveNewest" />
15+
<None Update="MonitoringDemo.sh" CopyToOutputDirectory="PreserveNewest" />
1516
</ItemGroup>
1617

1718
</Project>
File renamed without changes.

src/MonitoringDemo/launch.ps1

-1
This file was deleted.

0 commit comments

Comments
 (0)