Jean-David Moisan пре 1 година
родитељ
комит
372c790d30

+ 2 - 2
.vscode/launch.json

@@ -10,7 +10,7 @@
             "request": "launch",
             "preLaunchTask": "buildDesktopGL",
             // If you have changed target frameworks, make sure to update the program path.
-            "program": "${workspaceFolder}/Example/Platforms/DesktopGL/bin/Debug/net6/Example.dll",
+            "program": "${workspaceFolder}/Example/Platforms/DesktopGL/bin/Debug/net8/Example.dll",
             "args": [],
             "cwd": "${workspaceFolder}/Example/Platforms/DesktopGL",
             // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window
@@ -23,7 +23,7 @@
             "request": "launch",
             "preLaunchTask": "buildWindowsDX",
             // If you have changed target frameworks, make sure to update the program path.
-            "program": "${workspaceFolder}/Example/Platforms/WindowsDX/bin/Debug/net6-windows/Example.dll",
+            "program": "${workspaceFolder}/Example/Platforms/WindowsDX/bin/Debug/net8-windows/Example.dll",
             "args": [],
             "cwd": "${workspaceFolder}/Example/Platforms/WindowsDX",
             // For more information about the 'console' field, see https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md#console-terminal-window

+ 2 - 2
Example/Platforms/DesktopGL/DesktopGL.csproj

@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <OutputType>WinExe</OutputType>
-    <TargetFramework>net6</TargetFramework>
+    <TargetFramework>net8</TargetFramework>
     <AssemblyName>Example</AssemblyName>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
     <ApplicationManifest>app.manifest</ApplicationManifest>
@@ -10,7 +10,7 @@
     <PublishTrimmed>true</PublishTrimmed>
     <PublishReadyToRun>false</PublishReadyToRun>
     <TieredCompilation>false</TieredCompilation>
-    <RuntimeIdentifiers>win10-x64;linux-x64;osx-x64</RuntimeIdentifiers>
+    <RuntimeIdentifiers>win-x64;linux-x64;osx-x64</RuntimeIdentifiers>
   </PropertyGroup>
 
   <ItemGroup>

+ 1 - 1
Example/Platforms/WindowsDX/WindowsDX.csproj

@@ -2,7 +2,7 @@
 
   <PropertyGroup>
     <OutputType>WinExe</OutputType>
-    <TargetFramework>net6-windows</TargetFramework>
+    <TargetFramework>net8-windows</TargetFramework>
     <AssemblyName>Example</AssemblyName>
     <ApplicationIcon>Icon.ico</ApplicationIcon>
     <ApplicationManifest>app.manifest</ApplicationManifest>