Skip to content

Commit

Permalink
另外两个项目也移植到api1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaofengdiZhu committed Jan 1, 2024
1 parent 7ea76d9 commit d7cdfd7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 53 deletions.
51 changes: 11 additions & 40 deletions Gigavolt.Expand/Gigavolt.Expand.csproj
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{27AAF39A-72D9-4836-91CA-181BBEDFD7A0}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Gigavolt.Expand</RootNamespace>
<RootNamespace>Game</RootNamespace>
<AssemblyName>Gigavolt.Expand</AssemblyName>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<TargetFramework>net8.0</TargetFramework>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<LangVersion>preview</LangVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -40,43 +40,15 @@
<HintPath>..\Gigavolt\reference\EntitySystem.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Esprima, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
<HintPath>..\packages\Esprima.3.0.0-beta-10\lib\net462\Esprima.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Jint, Version=3.0.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
<HintPath>..\packages\Jint.3.0.0-beta-2046\lib\net462\Jint.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="mscorlib"/>
<Reference Include="Survivalcraft">
<HintPath>..\Gigavolt\reference\Survivalcraft.exe</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System"/>
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Core"/>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Numerics"/>
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
<HintPath>..\Gigavolt\reference\Survivalcraft.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Xml.Linq"/>
<Reference Include="System.Data.DataSetExtensions"/>
<Reference Include="Microsoft.CSharp"/>
<Reference Include="System.Data"/>
<Reference Include="System.Xml"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Esprima" Version="3.0.4"/>
<PackageReference Include="Jint" Version="3.0.0-beta-2057"/>
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.2"/>
</ItemGroup>
<ItemGroup>
<Compile Include="JavascriptMicrocontroller\EditGVJavascriptMicrocontrollerDialog.cs"/>
Expand Down Expand Up @@ -392,5 +364,4 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"/>
</Project>
2 changes: 1 addition & 1 deletion Gigavolt.Expand/modinfo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "Gigavolt.Expand 十亿伏特·扩展",
"Version": "1.0",
"ApiVersion": "1.53",
"ApiVersion": "1.60",
"Description": "这是一个为生存战争游戏十亿伏特mod带来更多电路板和功能的mod",
"ScVersion": "2.3.0.0",
"Link": "https://github.com/XiaofengdiZhu/Gigavolt#gigavoltageexpand-%E5%8D%81%E4%BA%BF%E4%BC%8F%E7%89%B9%E6%89%A9%E5%B1%95",
Expand Down
16 changes: 5 additions & 11 deletions Gigavolt.Helper/Gigavolt.Helper.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')"/>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -9,9 +7,11 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Game</RootNamespace>
<AssemblyName>Gigavolt.Helper</AssemblyName>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<TargetFramework>net8.0</TargetFramework>
<FileAlignment>512</FileAlignment>
<LangVersion>preview</LangVersion>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down Expand Up @@ -42,14 +42,9 @@
<Private>False</Private>
</Reference>
<Reference Include="Survivalcraft">
<HintPath>..\Gigavolt\reference\Survivalcraft.exe</HintPath>
<HintPath>..\Gigavolt\reference\Survivalcraft.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System"/>
<Reference Include="System.Core"/>
<Reference Include="System.Data"/>
<Reference Include="System.Xml"/>
<Reference Include="System.Xml.Linq"/>
</ItemGroup>
<ItemGroup>
<Compile Include="ComponentGVHelper.cs"/>
Expand Down Expand Up @@ -135,7 +130,6 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
Expand Down
2 changes: 1 addition & 1 deletion Gigavolt.Helper/modinfo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Name": "Gigavolt.Helper 十亿伏特·帮助包",
"Version": "1.0",
"ApiVersion": "1.53",
"ApiVersion": "1.60",
"Description": "这是一个为生存战争游戏十亿伏特mod及其扩展mod带来帮助包的mod",
"ScVersion": "2.3.0.0",
"Link": "https://github.com/XiaofengdiZhu/Gigavolt",
Expand Down

0 comments on commit d7cdfd7

Please sign in to comment.