Skip to content

Commit

Permalink
rollback PublishAot due to issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lastbattle committed Nov 17, 2024
1 parent 2f545b6 commit ce53c56
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 7 deletions.
7 changes: 3 additions & 4 deletions HaCreator/HaCreator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@
<UseWPF>true</UseWPF>
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>

<!-- AOT and Trimming Configuration -->
<RuntimeIdentifiers>win-x64;win-x86;win-arm64</RuntimeIdentifiers>
<PublishAot>true</PublishAot>
<_SuppressWinFormsTrimError>true</_SuppressWinFormsTrimError>
<_SuppressWpfTrimError>true</_SuppressWpfTrimError>
<PublishAot>false</PublishAot>
<_SuppressWinFormsTrimError>false</_SuppressWinFormsTrimError>
<_SuppressWpfTrimError>false</_SuppressWpfTrimError>

<!-- Required for WinForms -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
Expand Down
6 changes: 3 additions & 3 deletions HaRepacker/Harepacker-resurrected.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

<!-- AOT and Trimming Configuration -->
<RuntimeIdentifiers>win-x64;win-x86;win-arm64</RuntimeIdentifiers>
<PublishAot>true</PublishAot>
<_SuppressWinFormsTrimError>true</_SuppressWinFormsTrimError>
<_SuppressWpfTrimError>true</_SuppressWpfTrimError>
<PublishAot>false</PublishAot>
<_SuppressWinFormsTrimError>false</_SuppressWinFormsTrimError>
<_SuppressWpfTrimError>false</_SuppressWpfTrimError>

<!-- Required for WinForms -->
<EnableWindowsTargeting>true</EnableWindowsTargeting>
Expand Down
5 changes: 5 additions & 0 deletions HaSharedLibrary/HaSharedLibrary.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
<TargetFramework>net8.0-windows</TargetFramework>
<OutputType>Library</OutputType>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>

<UseWindowsForms>true</UseWindowsForms>
<UseWPF>true</UseWPF>

<PublishAot>true</PublishAot>

<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
Expand Down
Loading

1 comment on commit ce53c56

@lastbattle
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.