try nativeaot again

This commit is contained in:
Li 2022-11-11 04:19:01 +13:00
parent bd2ba81b01
commit 9e62fc8415
8 changed files with 65 additions and 64 deletions

View file

@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.8.11.0")] [assembly: AssemblyVersion("1.8.21.0")]
[assembly: AssemblyFileVersion("1.8.11.0")] [assembly: AssemblyFileVersion("1.8.21.0")]

View file

@ -11,9 +11,10 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net7.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>True</SelfContained> <SelfContained>True</SelfContained>
<PublishSingleFile>True</PublishSingleFile> <!--<PublishSingleFile>True</PublishSingleFile>-->
<PublishReadyToRun>True</PublishReadyToRun> <!--<PublishReadyToRun>True</PublishReadyToRun>-->
<PublishTrimmed>True</PublishTrimmed> <PublishAot>true</PublishAot>
<!-- <PublishTrimmed>True</PublishTrimmed> -->
<DefineConstants>OS_WINDOWS;ARCH_X86_64</DefineConstants> <DefineConstants>OS_WINDOWS;ARCH_X86_64</DefineConstants>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View file

@ -1,5 +1,5 @@
Package: hisp Package: hisp
Version: 1.8.11 Version: 1.8.21
Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev Depends: coreutils,systemd,mariadb-server,libsqlite3-dev,zlib1g-dev,libicu-dev,libkrb5-dev
Maintainer: Li Maintainer: Li
Homepage: https://islehorse.com Homepage: https://islehorse.com

View file

@ -28,9 +28,9 @@
</ContentWithTargetPath> </ContentWithTargetPath>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.7" /> <PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.0" />
<PackageReference Include="MySqlConnector" Version="2.1.11" /> <PackageReference Include="MySqlConnector" Version="2.2.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.2-beta2" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx"> <EmbeddedResource Update="Properties\Resources.resx">

View file

@ -30,8 +30,8 @@ using System.Runtime.InteropServices;
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("1.8.11.0")] [assembly: AssemblyVersion("1.8.21.0")]
[assembly: AssemblyFileVersion("1.8.11.0")] [assembly: AssemblyFileVersion("1.8.21.0")]

View file

@ -12,8 +12,8 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>True</SelfContained> <SelfContained>True</SelfContained>
<!-- <PublishSingleFile>True</PublishSingleFile> --> <!-- <PublishSingleFile>True</PublishSingleFile> -->
<PublishReadyToRun>True</PublishReadyToRun> <!-- <PublishReadyToRun>True</PublishReadyToRun> -->
<PublishTrimmed>True</PublishTrimmed> <!-- <PublishTrimmed>True</PublishTrimmed> -->
<DefineConstants>OS_WINDOWS;ARCH_X86_64</DefineConstants> <DefineConstants>OS_WINDOWS;ARCH_X86_64</DefineConstants>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View file

@ -30,8 +30,8 @@ using System.Runtime.InteropServices;
// //
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
[assembly: AssemblyVersion("1.8.11.0")] [assembly: AssemblyVersion("1.8.21.0")]
[assembly: AssemblyFileVersion("1.8.11.0")] [assembly: AssemblyFileVersion("1.8.21.0")]