mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Added .NET Framework 4.0 build to host apps
This commit is contained in:
@@ -64,7 +64,9 @@ namespace ZuneHost.Wpf
|
||||
Directory.Delete(decompResultDir, true);
|
||||
Directory.CreateDirectory(decompResultDir);
|
||||
IrisApp.DebugSettings.DecompileResults.CollectionChanged += DecompileResults_CollectionChanged;
|
||||
#if NET6_0_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
IrisApp.DebugSettings.Bridge.InterpreterStep += Bridge_InterpreterStep;
|
||||
#endif
|
||||
}
|
||||
|
||||
IrisApp.DebugSettings.GenerateDataMappingModels = false;
|
||||
@@ -76,8 +78,11 @@ namespace ZuneHost.Wpf
|
||||
IrisApp.DebugSettings.DataMappingModels.CollectionChanged += DataMappingModels_CollectionChanged;
|
||||
}
|
||||
|
||||
// Set decompiler for marketplace track preview menu item
|
||||
IrisApp.DebugSettings.Breakpoints.Add("res://ZuneMarketplaceResources!SelectionActions.uix (121, 14)");
|
||||
|
||||
IntPtr hWnd = new System.Windows.Interop.WindowInteropHelper(this).Handle;
|
||||
Thread zuneThread = new Thread(new ThreadStart(() =>
|
||||
Thread zuneThread = new(new ThreadStart(() =>
|
||||
{
|
||||
IrisApp.Initialized += delegate
|
||||
{
|
||||
@@ -94,7 +99,7 @@ namespace ZuneHost.Wpf
|
||||
foreach (var result in e.NewItems.Cast<Microsoft.Iris.Debug.DecompilationResult>())
|
||||
{
|
||||
int count = 0;
|
||||
string ctx = Path.GetFileName(result.Context[(result.Context.LastIndexOf('/') + 1)..]);
|
||||
string ctx = Path.GetFileName(result.Context.Substring(result.Context.LastIndexOf('/') + 1));
|
||||
|
||||
FileInfo file = new(Path.Combine(decompResultDir, ctx + ".uix"));
|
||||
while (file.Exists)
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net6.0-windows10.0.22000</TargetFramework>
|
||||
<TargetFrameworks>net6.0-windows10.0.22000;net40</TargetFrameworks>
|
||||
<LangVersion>11.0</LangVersion>
|
||||
<UseWPF>true</UseWPF>
|
||||
<ApplicationIcon>Assets\ZuneFluentGem.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -2,8 +2,9 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFrameworks>net6.0-windows10.0.22000;net6.0</TargetFrameworks>
|
||||
<TargetFrameworks>net6.0-windows10.0.22000;net6.0;net40</TargetFrameworks>
|
||||
<Platforms>AnyCPU;x64;x86;ARM32</Platforms>
|
||||
<LangVersion>11.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user