|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <Authors>Sam Byass (Samboy063)</Authors> |
4 | | - <Company>N/A</Company> |
5 | | - <Copyright>Copyright © Samboy063 2019-2023</Copyright> |
6 | | - <DebugType>embedded</DebugType> |
| 3 | + <TargetFrameworks>net7.0;net6.0;netstandard2.0</TargetFrameworks> |
| 4 | + <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
| 5 | + |
7 | 6 | <Description>Reverses Unity's IL2CPP Build Process</Description> |
8 | 7 | <EmbedUntrackedSources>true</EmbedUntrackedSources> |
9 | 8 | <GeneratePackageOnBuild>true</GeneratePackageOnBuild> |
10 | | - <LangVersion>10</LangVersion> |
11 | | - <Nullable>enable</Nullable> |
12 | | - <AllowUnsafeBlocks>true</AllowUnsafeBlocks> |
13 | | - <PackageId>Samboy063.Cpp2IL.Core</PackageId> |
14 | | - <PackageLicenseExpression>MIT</PackageLicenseExpression> |
15 | | - <PackageProjectUrl>https://github.com/SamboyCoding/Cpp2IL</PackageProjectUrl> |
16 | | - <PublishRepositoryUrl>true</PublishRepositoryUrl> |
17 | | - <RepositoryType>git</RepositoryType> |
18 | | - <RepositoryUrl>https://github.com/SamboyCoding/Cpp2IL.git</RepositoryUrl> |
19 | | - <TargetFrameworks>net7.0;net6.0;netstandard2.0</TargetFrameworks> |
20 | | - <Title>Cpp2IL.Core</Title> |
21 | | - <VersionPrefix>2022.1.0</VersionPrefix> |
22 | 9 | <!--Plugins make this non-trimmable--> |
23 | | - |
24 | | - <ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild> |
25 | 10 | </PropertyGroup> |
26 | 11 |
|
27 | 12 | <ItemGroup> |
28 | 13 | <!--Needed for DLL output--> |
29 | | - <PackageReference Include="AsmResolver.DotNet" Version="5.1.0" /> |
30 | | - |
| 14 | + <PackageReference Include="AsmResolver.DotNet" Version="5.2.0" /> |
| 15 | + |
31 | 16 | <!--For ARM64 dissassembly--> |
32 | 17 | <PackageReference Include="Disarm" Version="2022.1.0-master.26" /> |
33 | 18 |
|
34 | 19 | <!--For X86/X64 disassembly--> |
35 | 20 | <PackageReference Include="Iced" Version="1.18.0" /> |
36 | | - |
| 21 | + |
37 | 22 | <!--For ARM64 and ARMv7 disassembly. Future: Remove once disarm is stable and move ARMv7 to CapstoneSharp by 6pak--> |
38 | 23 | <PackageReference Include="js6pak.Gee.External.Capstone" Version="2.1.0" /> |
39 | | - |
| 24 | + |
40 | 25 | <!--Not used at runtime, but needed for the build--> |
41 | 26 | <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" /> |
42 | 27 |
|
43 | | - <PackageReference Include="PolySharp" Version="1.12.1" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive" /> |
44 | | - </ItemGroup> |
45 | | - |
46 | | - <ItemGroup Condition="'$(TargetFramework)' != 'net6.0'"> |
47 | | - <!--Supplementary packages to provide modern runtime features on netstandard2--> |
48 | | - <PackageReference Include="System.ValueTuple" Version="4.5.0" /> |
| 28 | + <PackageReference Include="PolySharp" Version="1.13.1" PrivateAssets="all" /> |
49 | 29 | </ItemGroup> |
50 | 30 |
|
51 | 31 | <ItemGroup> |
52 | 32 | <ProjectReference Include="..\LibCpp2IL\LibCpp2IL.csproj" /> |
53 | | - |
| 33 | + |
54 | 34 | <!--Future: Consider moving to its own project and moving the impl in cpp2il to a plugin--> |
55 | 35 | <ProjectReference Include="..\StableNameDotNet\StableNameDotNet.csproj" /> |
56 | 36 | </ItemGroup> |
|
0 commit comments