Kaynağa Gözat

Change TargetFramework to net6.0-windows and add lockfile

Dragon 3 yıl önce
ebeveyn
işleme
324cdf4896
2 değiştirilmiş dosya ile 15 ekleme ve 1 silme
  1. 2 1
      HuntBuddy/HuntBuddy.csproj
  2. 13 0
      HuntBuddy/packages.lock.json

+ 2 - 1
HuntBuddy/HuntBuddy.csproj

@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
 
     <PropertyGroup>
-        <TargetFramework>net5.0-windows</TargetFramework>
+        <TargetFramework>net6.0-windows</TargetFramework>
         <Nullable>enable</Nullable>
         <AssemblyVersion>0.9.1.0</AssemblyVersion>
         <FileVersion>0.9.1.0</FileVersion>
@@ -12,6 +12,7 @@
     </PropertyGroup>
     <PropertyGroup>
         <ProduceReferenceAssembly>false</ProduceReferenceAssembly>
+        <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
     </PropertyGroup>
     <PropertyGroup>
         <DalamudLibPath>$(AppData)\XIVLauncher\addon\Hooks\dev\</DalamudLibPath>

+ 13 - 0
HuntBuddy/packages.lock.json

@@ -0,0 +1,13 @@
+{
+  "version": 1,
+  "dependencies": {
+    "net6.0-windows7.0": {
+      "DalamudPackager": {
+        "type": "Direct",
+        "requested": "[2.1.7, )",
+        "resolved": "2.1.7",
+        "contentHash": "jnZ/sdInyn07ycuWI+pPOtP/xE3v+c4+jYJfDt36FWnBF9NKqkpzfviJtPl/jGLgbaCmFIXu+Yid0N8GvdKefg=="
+      }
+    }
+  }
+}