Skip to content

Commit

Permalink
Merge branch 'hotfix/5.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhomutov committed Dec 17, 2024
2 parents e90bcf3 + a8422ea commit ea02ae2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="MSBuild.Sdk.Extras">
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>net8.0-windows</TargetFrameworks>
<AssemblyName>Orc.NuGetExplorer.Example</AssemblyName>
Expand Down Expand Up @@ -29,7 +29,7 @@
<PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.5" />
<PackageReference Include="ModuleInit.Fody" Version="2.1.1" PrivateAssets="all" />
<PackageReference Include="Orc.Notifications" Version="5.0.0" />
<PackageReference Include="Orchestra.Core" Version="7.0.1" />
<PackageReference Include="Orchestra.Core" Version="7.0.3" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class PackagePathResolverFacts
[Explicit]
public void CheckPathAreExpected()
{
var applicationDataService = ServiceLocator.Default.ResolveType<IAppDataService>();
var applicationDataService = ServiceLocator.Default.ResolveRequiredType<IAppDataService>();
var contentPath = System.IO.Path.Combine(applicationDataService.GetApplicationDataDirectory(Catel.IO.ApplicationDataTarget.UserRoaming),
@"WildGums\PM\");
var pathResolver = new PackagePathResolver(contentPath);
Expand Down
6 changes: 3 additions & 3 deletions src/Orc.NuGetExplorer.Xaml/Orc.NuGetExplorer.Xaml.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="MSBuild.Sdk.Extras">
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>net6.0-windows;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net8.0-windows</TargetFrameworks>
<AssemblyName>Orc.NuGetExplorer.Xaml</AssemblyName>
<RootNamespace>Orc.NuGetExplorer</RootNamespace>
<DefaultLanguage>en-US</DefaultLanguage>
Expand All @@ -27,7 +27,7 @@
<PackageReference Include="Microsoft-WindowsAPICodePack-Shell" Version="1.1.5" />
<PackageReference Include="ModuleInit.Fody" Version="2.1.1" PrivateAssets="all" />
<PackageReference Include="Obsolete.Fody" Version="5.3.0" PrivateAssets="all" />
<PackageReference Include="Orc.Controls" Version="5.0.5" />
<PackageReference Include="Orc.Controls" Version="5.1.1" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 7 additions & 3 deletions src/Orc.NuGetExplorer.Xaml/Views/NuGetSettingsWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
namespace Orc.NuGetExplorer.Views;

using System;
using Catel.IoC;
using Catel.Services;
using Catel.Windows;
using Orc.Controls;
using Orc.NuGetExplorer.ViewModels;
Expand All @@ -27,13 +29,15 @@ protected override void OnLoaded(EventArgs e)
{
base.OnLoaded(e);

this.LoadWindowSize(true);
var appDataService = ServiceLocator.Default.ResolveRequiredType<IAppDataService>();
appDataService?.LoadWindowSize(this, true);
}

protected override void OnUnloaded(EventArgs e)
{
this.SaveWindowSize();
var appDataService = ServiceLocator.Default.ResolveRequiredType<IAppDataService>();
appDataService?.SaveWindowSize(this);

base.OnUnloaded(e);
}
}
}
2 changes: 1 addition & 1 deletion src/Orc.NuGetExplorer/Orc.NuGetExplorer.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>net6.0-windows;net8.0-windows</TargetFrameworks>
<TargetFrameworks>net8.0-windows</TargetFrameworks>
<AssemblyName>Orc.NuGetExplorer</AssemblyName>
<RootNamespace>Orc.NuGetExplorer</RootNamespace>
<DefaultLanguage>en-US</DefaultLanguage>
Expand Down

0 comments on commit ea02ae2

Please sign in to comment.