Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

Commit af93106

Browse files
committed
Fix #if's in frmMain
1 parent 16a6bd0 commit af93106

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

86BoxManager/frmMain.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#if NETFRAMEWORK
1+
#if !NETCOREAPP
22
using IWshRuntimeLibrary;
33
#endif
44
using Microsoft.Win32;
@@ -52,7 +52,7 @@ public frmMain()
5252
LoadSettings();
5353
LoadVMs();
5454

55-
#if !NETFRAMEWORK
55+
#if NETCOREAPP
5656
createADesktopShortcutToolStripMenuItem.Enabled = false;
5757
#endif
5858
}
@@ -1136,7 +1136,7 @@ private void VMOpenFolder()
11361136

11371137
private void createADesktopShortcutToolStripMenuItem_Click(object sender, EventArgs e)
11381138
{
1139-
#if NETFRAMEWORK
1139+
#if !NETCOREAPP
11401140
VM vm = (VM)lstVMs.SelectedItems[0].Tag;
11411141
WshShell shell = new WshShell();
11421142
string shortcutAddress = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) + @"\" + vm.Name + ".lnk";

0 commit comments

Comments
 (0)