Skip to content

Commit

Permalink
Merge branch 'native' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
taiseiue authored Sep 2, 2023
2 parents acfbf61 + 3736cb3 commit cad610f
Show file tree
Hide file tree
Showing 8 changed files with 65 additions and 130 deletions.
11 changes: 10 additions & 1 deletion Losetta.Bench/Losetta.Bench.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- ネイティブAOT向けの項目 -->
<PublishAot>true</PublishAot>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<IlcDisableUnhandledExceptionExperience>false</IlcDisableUnhandledExceptionExperience>
<!-- ネイティブAOT向けの項目(終わり) -->
</PropertyGroup>

<ItemGroup>
Expand Down
12 changes: 11 additions & 1 deletion Losetta.Runtime/Losetta.Runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<ApplicationIcon>alice_logo.ico</ApplicationIcon>
Expand All @@ -21,8 +21,18 @@
<Description>Package of basic functions and APIs available in AliceScript</Description>
<PackageTags>scripting;scripting-language;scripting-engine;runtime;api;wrapper;</PackageTags>
<GenerateDocumentationFile>True</GenerateDocumentationFile>

<RepositoryType>git</RepositoryType>
<PackageOutputPath>bin\packages</PackageOutputPath>
<!-- ネイティブAOT向けの項目 -->
<PublishAot>true</PublishAot>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<IlcDisableUnhandledExceptionExperience>false</IlcDisableUnhandledExceptionExperience>
<!-- ネイティブAOT向けの項目(終わり) -->
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Win_X64|AnyCPU'">
Expand Down
122 changes: 0 additions & 122 deletions Losetta.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "alice", "alice\alice.csproj
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Losetta.Runtime", "Losetta.Runtime\Losetta.Runtime.csproj", "{DD4EFCA0-F2B9-448E-A124-0267C5066164}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Losetta.Bench", "Losetta.Bench\Losetta.Bench.csproj", "{623FC109-AB36-4A11-8897-7533E8E96D76}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug_Throw|Any CPU = Debug_Throw|Any CPU
Expand Down Expand Up @@ -404,126 +402,6 @@ Global
{DD4EFCA0-F2B9-448E-A124-0267C5066164}.Release|x64.Build.0 = Release|x64
{DD4EFCA0-F2B9-448E-A124-0267C5066164}.Release|x86.ActiveCfg = Release|Any CPU
{DD4EFCA0-F2B9-448E-A124-0267C5066164}.Release|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|Any CPU.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|Any CPU.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|ARM32.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|ARM32.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|ARM64.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|ARM64.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|x64.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|x64.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|x86.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug_Throw|x86.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|Any CPU.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|ARM32.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|ARM32.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|ARM64.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|x64.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|x64.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|x86.ActiveCfg = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Debug|x86.Build.0 = Debug|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_ARM64|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Linux_x64|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_ARM64|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_OSX_x64|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_ARM64|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X64|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release_Win_X86|x86.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|Any CPU.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|Any CPU.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|ARM32.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|ARM32.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|ARM64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|ARM64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|x64.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|x64.Build.0 = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|x86.ActiveCfg = Release|Any CPU
{623FC109-AB36-4A11-8897-7533E8E96D76}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion Losetta/FunctionBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public static void Remove(FunctionBase func, string name = "", ParsingScript scr
/// <summary>
/// 現在インタプリタに登録されている関数の名前の一覧を取得します
/// </summary>
public static List<string> Functions => new List<string>(ParserFunction.s_functions.Keys);
public static IEnumerable<string> Functions => ParserFunction.s_functions.Keys;
}
public delegate void FunctionBaseEventHandler(object sender, FunctionBaseEventArgs e);
public class FunctionBaseEventArgs : EventArgs
Expand Down
14 changes: 10 additions & 4 deletions Losetta/Import.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public NameSpace(string name)
Name = name;
}
public string Name { get; set; }
public List<FunctionBase> Functions = new List<FunctionBase>();
public List<ObjectBase> Classes = new List<ObjectBase>();
public HashSet<FunctionBase> Functions = new HashSet<FunctionBase>();
public HashSet<ObjectBase> Classes = new HashSet<ObjectBase>();
public Dictionary<string, string> Enums = new Dictionary<string, string>();
public void Add(FunctionBase func)
{
Expand All @@ -69,8 +69,14 @@ public void Add(string name, string val)
/// <param name="other">マージする名前空間</param>
public void Merge(NameSpace other)
{
Functions = Functions.Union(other.Functions).ToList();
Classes = Classes.Union(other.Classes).ToList();
foreach(FunctionBase f in other.Functions)
{
this.Functions.Add(f);
}
foreach(ObjectBase obj in other.Classes)
{
this.Classes.Add(obj);
}
}
}

Expand Down
10 changes: 10 additions & 0 deletions Losetta/Losetta.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<Company>WSOFT</Company>
<Authors>WSOFT</Authors>
<Product>Losetta</Product>
Expand All @@ -25,6 +26,15 @@
<RootNamespace>AliceScript</RootNamespace>
<RepositoryType>git</RepositoryType>
<PackageOutputPath>bin\packages</PackageOutputPath>
<!-- ネイティブAOT向けの項目 -->
<PublishAot>true</PublishAot>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<IlcDisableUnhandledExceptionExperience>false</IlcDisableUnhandledExceptionExperience>
<!-- ネイティブAOT向けの項目(終わり) -->
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_Win_X64|AnyCPU'">
Expand Down
17 changes: 16 additions & 1 deletion alice/alice.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,19 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable>
<!-- ネイティブAOT向けの項目 -->
<PublishAot>true</PublishAot>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<IlcDisableUnhandledExceptionExperience>false</IlcDisableUnhandledExceptionExperience>
<!-- ネイティブAOT向けの項目(終わり) -->

<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<ApplicationIcon>alice_logo.ico</ApplicationIcon>
<Version>0.9.23</Version>
Expand Down Expand Up @@ -292,6 +302,11 @@
<ItemGroup>
<Content Include="alice_logo.ico" />
</ItemGroup>
<!-- ネイティブAOT向けの項目 -->
<ItemGroup>
<RdXmlFile Include="rd.xml" />
</ItemGroup>
<!-- ネイティブAOT向けの項目(終わり) -->

<ItemGroup>
<None Include="..\..\..\WSOFT_Documents\Alice\alice_logo.png">
Expand Down
7 changes: 7 additions & 0 deletions alice/rd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application>
<Assembly Name="Losetta" Dynamic="Required All"></Assembly>
<Assembly Name="Losetta.Runtime" Dynamic="Required All"></Assembly>
</Application>
</Directives>

0 comments on commit cad610f

Please sign in to comment.