Skip to content

Commit

Permalink
Upgrading to dotnet 7
Browse files Browse the repository at this point in the history
We have api-win-core-winrt missing error in executing the app on Windows 7.
This problem was solved in dotnet 7.
Also, we set TrimMode to partial.
  • Loading branch information
InvisibleManVPN committed Mar 23, 2023
1 parent c9cf9cd commit 3243a8a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion InvisibleMan-XRay/Handlers/NotifyHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void HandleNotifyIconClick()

private void AddMenuStrip()
{
AddMenuItem("Open InvisibleMan XRay", onOpenClick);
AddMenuItem("Open Invisible Man XRay", onOpenClick);
AddMenuItem("Check for updates", onUpdateClick);
AddMenuItem("About", onAboutClick);
AddMenuItem("Close", onCloseClick);
Expand Down
16 changes: 8 additions & 8 deletions InvisibleMan-XRay/InvisibleMan-XRay.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net7.0-windows</TargetFramework>
<RootNamespace>InvisibleManXRay</RootNamespace>
<AssemblyName>InvisibleMan XRay</AssemblyName>
<Product>InvisibleMan XRay</Product>
<PackageId>InvisibleMan XRay</PackageId>
<Company>InvisibleMan</Company>
<AssemblyName>Invisible Man XRay</AssemblyName>
<Product>Invisible Man XRay</Product>
<PackageId>Invisible Man XRay</PackageId>
<Company>Invisible Man</Company>
<Copyright>Copyright (C) 2023 Invisible Man</Copyright>
<Version>0.3.0.0</Version>
<AssemblyVersion>0.3.0.0</AssemblyVersion>
<Version>0.4.1.0</Version>
<AssemblyVersion>0.4.1.0</AssemblyVersion>
<Nullable>enable</Nullable>
<NoWarn>0108;8600;8601;8602;8603;8604;8618;8625;8762</NoWarn>
<UseWPF>true</UseWPF>
Expand All @@ -19,7 +19,7 @@
<_SuppressWpfTrimError>true</_SuppressWpfTrimError>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>Link</TrimMode>
<TrimMode>partial</TrimMode>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 3243a8a

Please sign in to comment.