Skip to content

Commit

Permalink
[8.1.6.0] use x64
Browse files Browse the repository at this point in the history
  • Loading branch information
UlyssesWu committed Jul 3, 2021
1 parent 4068ec4 commit ea0601f
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CeVIO AI/CeVIO AI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ProjectGuid>{6DED98AF-CFC8-4FFB-A9A5-E769311A5889}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CeVIO.Editor.Properties</RootNamespace>
<RootNamespace>CeVIO.Editor</RootNamespace>
<AssemblyName>CeVIO AI</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
Expand All @@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down Expand Up @@ -53,7 +54,9 @@
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.ja-JP.resx" />
<EmbeddedResource Include="Properties\Resources.ja-JP.resx">
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.zh-CN.resx" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down
4 changes: 2 additions & 2 deletions CeVIO AI/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions CeVIO.KnobControl/CeVIO.KnobControl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down
1 change: 1 addition & 0 deletions CeVIO.SFE.Signer/CeVIO.SFE.Signer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>true</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand Down
9 changes: 7 additions & 2 deletions CeVIO.SFE.Signer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using System.IO;
using CeVIO.SFE.Signer.Properties;
using dnlib.DotNet;
using dnlib.DotNet.Writer;
using dnlib.PE;

namespace CeVIO.SFE.Signer
{
Expand Down Expand Up @@ -66,20 +68,23 @@ static void Main(string[] args)
static void Sign(string path, string key, Version v, string newPath = null)
{
var dll = AssemblyDef.Load(path);
var option = new ModuleWriterOptions(dll.ManifestModule) {PEHeadersOptions = {Machine = Machine.AMD64}};

dll.HasPublicKey = true;
dll.PublicKey = new PublicKey(key);

if (v != null)
{
dll.Version = v;
}

if (newPath == null)
{
dll.Write(path);
dll.Write(path, option);
}
else
{
dll.Write(Path.Combine(newPath, $"{dll.Name}.dll"));
dll.Write(Path.Combine(newPath, $"{dll.Name}.dll"), option);
}

}
Expand Down
1 change: 1 addition & 0 deletions CeVIO.SevenSegmentControl/CeVIO.SevenSegmentControl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down
1 change: 1 addition & 0 deletions CeVIO.SongEditorControl/CeVIO.SongEditorControl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down
1 change: 1 addition & 0 deletions CeVIO.TalkAnalyzeControl/CeVIO.TalkAnalyzeControl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down
1 change: 1 addition & 0 deletions CeVIO.ToolBarControl/CeVIO.ToolBarControl.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down

0 comments on commit ea0601f

Please sign in to comment.