File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed
Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 77$ErrorActionPreference = " Stop" ;
88
99if ($Dev ) {
10- dotnet publish src/ Starward - c Release - r " win10 -$Architecture " - o " build/Starward/app-$Version " - p:Platform= $Architecture - p:DefineConstants= DEV - p:PublishReadyToRun= true - p:PublishTrimmed= true - p:TrimMode= partial - p:Version= $Version - p:UseRidGraph= true;
10+ dotnet publish src/ Starward - c Release - r " win -$Architecture " - o " build/Starward/app-$Version " - p:Platform= $Architecture - p:DefineConstants= DEV - p:PublishReadyToRun= true - p:PublishTrimmed= true - p:TrimMode= partial - p:Version= $Version - p:UseRidGraph= true;
1111}
1212else {
13- dotnet publish src/ Starward - c Release - r " win10 -$Architecture " - o " build/Starward/app-$Version " - p:Platform= $Architecture - p:PublishReadyToRun= true - p:PublishTrimmed= true - p:TrimMode= partial - p:Version= $Version - p:UseRidGraph= true;
13+ dotnet publish src/ Starward - c Release - r " win -$Architecture " - o " build/Starward/app-$Version " - p:Platform= $Architecture - p:PublishReadyToRun= true - p:PublishTrimmed= true - p:TrimMode= partial - p:Version= $Version - p:UseRidGraph= true;
1414}
1515
1616$env: Path += ' ;C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\' ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
66 <PropertyGroup >
77 <PublishProtocol >FileSystem</PublishProtocol >
88 <Platform >ARM64</Platform >
9- <RuntimeIdentifier >win10 -arm64</RuntimeIdentifier >
9+ <RuntimeIdentifier >win -arm64</RuntimeIdentifier >
1010 <PublishDir >bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir >
1111 <SelfContained >true</SelfContained >
1212 <PublishSingleFile >False</PublishSingleFile >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
66 <PropertyGroup >
77 <PublishProtocol >FileSystem</PublishProtocol >
88 <Platform >x64</Platform >
9- <RuntimeIdentifier >win10 -x64</RuntimeIdentifier >
9+ <RuntimeIdentifier >win -x64</RuntimeIdentifier >
1010 <PublishDir >bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir >
1111 <SelfContained >true</SelfContained >
1212 <PublishSingleFile >False</PublishSingleFile >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
66 <PropertyGroup >
77 <PublishProtocol >FileSystem</PublishProtocol >
88 <Platform >x86</Platform >
9- <RuntimeIdentifier >win10 -x86</RuntimeIdentifier >
9+ <RuntimeIdentifier >win -x86</RuntimeIdentifier >
1010 <PublishDir >bin\$(Configuration)\$(TargetFramework)\$(RuntimeIdentifier)\publish\</PublishDir >
1111 <SelfContained >true</SelfContained >
1212 <PublishSingleFile >False</PublishSingleFile >
Original file line number Diff line number Diff line change 1- {
1+ {
22 "profiles" : {
33 "Starward" : {
4- "commandName" : " Project"
4+ "commandName" : " Project" ,
5+ "nativeDebugging" : false
56 }
67 }
78}
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <OutputType >WinExe</OutputType >
4- <TargetFramework >net9.0-windows10.0.22621 .0</TargetFramework >
4+ <TargetFramework >net9.0-windows10.0.26100 .0</TargetFramework >
55 <TargetPlatformMinVersion >10.0.17763.0</TargetPlatformMinVersion >
66 <RootNamespace >Starward</RootNamespace >
77 <Nullable >enable</Nullable >
88 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
99 <ApplicationManifest >app.manifest</ApplicationManifest >
1010 <Platforms >x86;x64;ARM64</Platforms >
11- <RuntimeIdentifiers >win10 -x86;win10 -x64;win10 -arm64</RuntimeIdentifiers >
12- <PublishProfile >win10 -$(Platform).pubxml</PublishProfile >
11+ <RuntimeIdentifiers >win -x86;win -x64;win -arm64</RuntimeIdentifiers >
12+ <PublishProfile >win -$(Platform).pubxml</PublishProfile >
1313 <UseWinUI >true</UseWinUI >
1414 <EnableMsixTooling >true</EnableMsixTooling >
1515 <WindowsPackageType >None</WindowsPackageType >
1616 <WindowsAppSDKSelfContained >true</WindowsAppSDKSelfContained >
1717 <DefineConstants >DISABLE_XAML_GENERATED_MAIN</DefineConstants >
1818 <BuiltInComInteropSupport >true</BuiltInComInteropSupport >
1919 <ApplicationIcon >logo.ico</ApplicationIcon >
20- <UseRidGraph >true</UseRidGraph >
2120 <IncludeSourceRevisionInInformationalVersion >false</IncludeSourceRevisionInInformationalVersion >
2221 <JsonSerializerIsReflectionEnabledByDefault >true</JsonSerializerIsReflectionEnabledByDefault >
2322 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments