Use net35 reference assemblies; use C# 9

This commit is contained in:
ghorsington committed 2021-01-05 22:54:45 +02:00
1 parent 7b67bf8b3f
commit 965d9ae1c8
8 files changed
+17 -8

No files matched your search

+4 -1
View File
@@ -5,12 +5,15 @@
<Product>BepInEx.Bootstrap</Product>
<DebugType>none</DebugType>
<OutputPath>..\bin\Patcher\</OutputPath>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\BepInEx.Core\BepInEx.Core.csproj" />
<ProjectReference Include="..\BepInEx.Unity\BepInEx.Unity.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="jnm2.ReferenceAssemblies.net35" Version="1.0.1" PrivateAssets="All" />
</ItemGroup>
<Import Project="..\BepInEx.Shared\BepInEx.Shared.projitems" Label="Shared" />
</Project>
+2 -1
View File
@@ -4,7 +4,7 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AssemblyTitle>BepInEx</AssemblyTitle>
<Product>BepInEx</Product>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<OutputPath>..\bin\Core\$(TargetFramework)</OutputPath>
<DocumentationFile>$(OutputPath)\BepInEx.Core.xml</DocumentationFile>
<Description>Unity plugin injection framework</Description>
@@ -17,6 +17,7 @@
<DebugType>portable</DebugType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="jnm2.ReferenceAssemblies.net35" Version="1.0.1" PrivateAssets="All" />
<PackageReference Include="HarmonyX" Version="2.3.1" />
<PackageReference Include="MonoMod.Utils" Version="20.11.26.2" />
<PackageReference Include="SemanticVersioning" Version="1.3.0" />
+1 -1
View File
@@ -6,7 +6,7 @@
<Product>BepInEx.IL2CPP</Product>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputPath>..\bin\IL2CPP\</OutputPath>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
@@ -5,7 +5,7 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<AssemblyTitle>BepInEx.NetLauncher</AssemblyTitle>
<Product>BepInEx.NetLauncher</Product>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -25,6 +25,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="HarmonyX" Version="2.3.1" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
<Import Project="..\BepInEx.Shared\BepInEx.Shared.projitems" Label="Shared" />
</Project>
+2 -1
View File
@@ -8,7 +8,7 @@
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\bin\Patcher\</OutputPath>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
@@ -17,6 +17,7 @@
</PropertyGroup>
<Import Project="$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets" Condition="Exists('$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets')" />
<ItemGroup>
<PackageReference Include="jnm2.ReferenceAssemblies.net35" Version="1.0.1" PrivateAssets="All" />
<PackageReference Include="ILRepack" Version="2.0.16" />
<PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="2.0.16.1" />
<PackageReference Include="Mono.Cecil" Version="0.10.4" />
@@ -5,7 +5,7 @@
<Product>BepInEx.Preloader.Core</Product>
<OutputPath>..\bin\Core\$(TargetFramework)</OutputPath>
<DocumentationFile>$(OutputPath)\BepInEx.Preloader.Core.xml</DocumentationFile>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -18,6 +18,7 @@
<ProjectReference Include="..\BepInEx.Core\BepInEx.Core.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="jnm2.ReferenceAssemblies.net35" Version="1.0.1" PrivateAssets="All" />
<PackageReference Include="HarmonyX" Version="2.3.1" />
<PackageReference Include="MonoMod.RuntimeDetour" Version="20.11.26.2" />
<PackageReference Include="MonoMod.Utils" Version="20.11.26.2" />
@@ -5,7 +5,7 @@
<Product>BepInEx.Preloader.Unity</Product>
<OutputPath>..\bin\Unity\</OutputPath>
<DocumentationFile>$(OutputPath)\BepInEx.Preloader.Unity.xml</DocumentationFile>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -19,6 +19,7 @@
<ProjectReference Include="..\BepInEx.Preloader.Core\BepInEx.Preloader.Core.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="jnm2.ReferenceAssemblies.net35" Version="1.0.1" PrivateAssets="All" />
<PackageReference Include="HarmonyX" Version="2.3.1" />
</ItemGroup>
<Import Project="..\BepInEx.Shared\BepInEx.Shared.projitems" Label="Shared" />
+2 -1
View File
@@ -5,7 +5,7 @@
<Product>BepInEx.Unity</Product>
<OutputPath>..\bin\Unity\</OutputPath>
<DocumentationFile>$(OutputPath)\BepInEx.Unity.xml</DocumentationFile>
<LangVersion>8</LangVersion>
<LangVersion>9</LangVersion>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -26,6 +26,7 @@
<ProjectReference Include="..\BepInEx.Preloader.Unity\BepInEx.Preloader.Unity.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="jnm2.ReferenceAssemblies.net35" Version="1.0.1" PrivateAssets="All" />
<PackageReference Include="HarmonyX" Version="2.3.1" />
</ItemGroup>
<Import Project="..\BepInEx.Shared\BepInEx.Shared.projitems" Label="Shared" />