提交示例代码

This commit is contained in:
Bob.Song
2026-03-05 11:39:06 +08:00
commit 25958f58c3
2534 changed files with 209593 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,34 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>../../Bin</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>../../Bin</OutputPath>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Packages\Fantasy\Fantasy.Net\Fantasy.Net\Fantasy.Net.csproj" />
<ProjectReference Include="..\..\Packages\Fantasy\Fantasy.Packages\Fantasy.NLog\Fantasy.NLog.csproj" />
<ProjectReference Include="..\Entity\Entity.csproj" />
<ProjectReference Include="..\Hotfix\Hotfix.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="NLog.xsd">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd">
<targets async="true">
<target name="ServerDebug" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Debug.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerInfo" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Info.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerWarn" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Warn.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerError" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Error.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerTrace" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Trace.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ConsoleColor" xsi:type="ColoredConsole"
useDefaultRowHighlightingRules="false"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}">
<highlight-row condition="level == LogLevel.Debug" foregroundColor="DarkGreen" />
<highlight-row condition="level == LogLevel.Info" foregroundColor="Gray" />
<highlight-row condition="level == LogLevel.Warn" foregroundColor="Yellow" />
<highlight-row condition="level == LogLevel.Error" foregroundColor="DarkRed" />
<highlight-row condition="level == LogLevel.Fatal" foregroundColor="Red" />
</target>
</targets>
<rules>
<!-- 控制台 调试或编辑器启动的时候会调用-->
<logger ruleName="ConsoleTrace" name="Server" level="Trace" writeTo="ConsoleColor" />
<logger ruleName="ConsoleDebug" name="Server" level="Debug" writeTo="ConsoleColor" />
<logger ruleName="ConsoleInfo" name="Server" level="Info" writeTo="ConsoleColor" />
<logger ruleName="ConsoleWarn" name="Server" level="Warn" writeTo="ConsoleColor" />
<logger ruleName="ConsoleError" name="Server" level="Error" writeTo="ConsoleColor" />
<!-- 服务端日志输出文件 发布到服务器后会调用-->
<logger ruleName="ServerDebug" name="Server" level="Debug" writeTo="ServerDebug" />
<logger ruleName="ServerTrace" name="Server" level="Trace" writeTo="ServerTrace" />
<logger ruleName="ServerInfo" name="Server" level="Info" writeTo="ServerInfo" />
<logger ruleName="ServerWarn" name="Server" level="Warn" writeTo="ServerWarn" />
<logger ruleName="ServerError" name="Server" level="Error" writeTo="ServerError" />
</rules>
</nlog>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
using Fantasy;
using Fantasy.Assembly;
using Fantasy.ConfigTable;
// using Fantasy.ConfigTable;
using Fantasy.DataBase;
using Fantasy.Helper;
using Fantasy.IdFactory;
using Fantasy.Platform.Net;
// 设置配置表的路径
ConfigTableHelper.Initialize("../../Config/Binary");
// 设置ID生成规则
IdFactoryHelper.Initialize(IdFactoryType.World);
// 获取配置文件
// 比如通过远程获取这个配置文件,这样可以多组服务器共享一套配置了
var machineConfigText = await FileHelper.GetTextByRelativePath("../../Config/Json/Server/MachineConfigData.Json");
var processConfigText = await FileHelper.GetTextByRelativePath("../../Config/Json/Server/ProcessConfigData.Json");
var worldConfigText = await FileHelper.GetTextByRelativePath("../../Config/Json/Server/WorldConfigData.Json");
var sceneConfigText = await FileHelper.GetTextByRelativePath("../../Config/Json/Server/SceneConfigData.Json");
// 初始化配置文件
// 如果重复初始化方法会覆盖掉上一次的数据,非常适合热重载时使用
MachineConfigData.Initialize(machineConfigText);
ProcessConfigData.Initialize(processConfigText);
WorldConfigData.Initialize(worldConfigText);
SceneConfigData.Initialize(sceneConfigText);
// 注册日志模块到框架
// 开发者可以自己注册日志系统到框架只要实现Fantasy.ILog接口就可以。
// 这里用的是NLog日志系统注册到框架中。
Fantasy.Log.Register(new Fantasy.NLog("Server"));
// 初始化框架,添加程序集到框架中
await Fantasy.Platform.Net.Entry.Initialize(Fantasy.AssemblyHelper.Assemblies);
// 启动Fantasy.Net
await Fantasy.Platform.Net.Entry.Start();

View File

@@ -0,0 +1,10 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"profiles": {
"Main": {
"commandName": "Project",
"environmentVariables": {},
"commandLineArgs": "--m Develop"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

View File

@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Main")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Main")]
[assembly: System.Reflection.AssemblyTitleAttribute("Main")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@@ -0,0 +1 @@
73a846e799d8ee769f4e4dc02756eb24673accb05fd3a22128b4b3e41a505989

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Main
build_property.ProjectDir = /Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 8.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@@ -0,0 +1 @@
0b51ee52768bb4c60ec4d12b69c413176424410d05f873ee15309e780511a600

View File

@@ -0,0 +1,18 @@
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.csproj.AssemblyReference.cache
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.GeneratedMSBuildEditorConfig.editorconfig
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.AssemblyInfoInputs.cache
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.AssemblyInfo.cs
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.csproj.CoreCompileInputs.cache
/Users/fantasy/Movies/物品背包开发之旅/B/Bin/net8.0/Main
/Users/fantasy/Movies/物品背包开发之旅/B/Bin/net8.0/Main.deps.json
/Users/fantasy/Movies/物品背包开发之旅/B/Bin/net8.0/Main.runtimeconfig.json
/Users/fantasy/Movies/物品背包开发之旅/B/Bin/net8.0/Main.dll
/Users/fantasy/Movies/物品背包开发之旅/B/Bin/net8.0/Main.pdb
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.csproj.Up2Date
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.dll
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/refint/Main.dll
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.pdb
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/Main.genruntimeconfig.cache
/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/Debug/net8.0/ref/Main.dll
/Users/fantasy/Movies/物品背包开发之旅/B/Bin/net8.0/NLog.config
/Users/fantasy/Movies/物品背包开发之旅/B/Bin/net8.0/NLog.xsd

View File

@@ -0,0 +1 @@
b92867b672246249b6f9a7307b5f1a5b678661553eb02f4c70677faf71731cfc

View File

@@ -0,0 +1,489 @@
{
"format": 1,
"restore": {
"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/Main.csproj": {}
},
"projects": {
"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj": {
"version": "2024.2.24",
"restore": {
"projectUniqueName": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj",
"projectName": "Fantasy-Net",
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj",
"packagesPath": "/Users/fantasy/.nuget/packages/",
"outputPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/obj/",
"projectStyle": "PackageReference",
"crossTargeting": true,
"configFilePaths": [
"/Users/fantasy/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0",
"net9.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
},
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"allWarningsAsErrors": true,
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"dependencies": {
"CommandLineParser": {
"target": "Package",
"version": "[2.9.1, )"
},
"MongoDB.Bson": {
"target": "Package",
"version": "[3.1.0, )"
},
"MongoDB.Driver": {
"target": "Package",
"version": "[3.1.0, )"
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.3, )"
},
"System.IO.Pipelines": {
"target": "Package",
"version": "[9.0.0, )"
},
"protobuf-net": {
"target": "Package",
"version": "[3.2.45, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
},
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"CommandLineParser": {
"target": "Package",
"version": "[2.9.1, )"
},
"MongoDB.Bson": {
"target": "Package",
"version": "[3.1.0, )"
},
"MongoDB.Driver": {
"target": "Package",
"version": "[3.1.0, )"
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.3, )"
},
"protobuf-net": {
"target": "Package",
"version": "[3.2.45, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.ConfigTable/Net/Fantasy.ConfigTable.csproj": {
"version": "2024.2.0",
"restore": {
"projectUniqueName": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.ConfigTable/Net/Fantasy.ConfigTable.csproj",
"projectName": "Fantasy-Net.ConfigTable",
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.ConfigTable/Net/Fantasy.ConfigTable.csproj",
"packagesPath": "/Users/fantasy/.nuget/packages/",
"outputPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.ConfigTable/Net/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/fantasy/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"dependencies": {
"Fantasy-Net": {
"target": "Package",
"version": "[2024.2.22, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/Fantasy.NLog.csproj": {
"version": "2024.1.20",
"restore": {
"projectUniqueName": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/Fantasy.NLog.csproj",
"projectName": "Fantasy-Net.NLog",
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/Fantasy.NLog.csproj",
"packagesPath": "/Users/fantasy/.nuget/packages/",
"outputPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/fantasy/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"dependencies": {
"Fantasy-Net": {
"target": "Package",
"version": "[2024.2.22, )"
},
"NLog": {
"target": "Package",
"version": "[5.3.4, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj",
"projectName": "Entity",
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj",
"packagesPath": "/Users/fantasy/.nuget/packages/",
"outputPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/fantasy/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj": {
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj"
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.ConfigTable/Net/Fantasy.ConfigTable.csproj": {
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.ConfigTable/Net/Fantasy.ConfigTable.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/Hotfix.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/Hotfix.csproj",
"projectName": "Hotfix",
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/Hotfix.csproj",
"packagesPath": "/Users/fantasy/.nuget/packages/",
"outputPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/fantasy/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj": {
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/Main.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/Main.csproj",
"projectName": "Main",
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/Main.csproj",
"packagesPath": "/Users/fantasy/.nuget/packages/",
"outputPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/fantasy/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"/usr/local/share/dotnet/library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj": {
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj"
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/Fantasy.NLog.csproj": {
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/Fantasy.NLog.csproj"
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj": {
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj"
},
"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/Hotfix.csproj": {
"projectPath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/Hotfix.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "all"
},
"SdkAnalysisLevel": "9.0.100"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/fantasy/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/fantasy/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/Users/fantasy/.nuget/packages/" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
{
"version": 2,
"dgSpecHash": "hbtLQiBB+7o=",
"success": true,
"projectFilePath": "/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/Main.csproj",
"expectedPackageFiles": [
"/Users/fantasy/.nuget/packages/commandlineparser/2.9.1/commandlineparser.2.9.1.nupkg.sha512",
"/Users/fantasy/.nuget/packages/dnsclient/1.6.1/dnsclient.1.6.1.nupkg.sha512",
"/Users/fantasy/.nuget/packages/microsoft.extensions.logging.abstractions/2.0.0/microsoft.extensions.logging.abstractions.2.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/microsoft.netcore.platforms/5.0.0/microsoft.netcore.platforms.5.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/microsoft.win32.registry/5.0.0/microsoft.win32.registry.5.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/mongodb.bson/3.1.0/mongodb.bson.3.1.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/mongodb.driver/3.1.0/mongodb.driver.3.1.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/newtonsoft.json/13.0.3/newtonsoft.json.13.0.3.nupkg.sha512",
"/Users/fantasy/.nuget/packages/nlog/5.3.4/nlog.5.3.4.nupkg.sha512",
"/Users/fantasy/.nuget/packages/protobuf-net/3.2.45/protobuf-net.3.2.45.nupkg.sha512",
"/Users/fantasy/.nuget/packages/protobuf-net.core/3.2.45/protobuf-net.core.3.2.45.nupkg.sha512",
"/Users/fantasy/.nuget/packages/sharpcompress/0.30.1/sharpcompress.0.30.1.nupkg.sha512",
"/Users/fantasy/.nuget/packages/snappier/1.0.0/snappier.1.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/system.buffers/4.5.1/system.buffers.4.5.1.nupkg.sha512",
"/Users/fantasy/.nuget/packages/system.collections.immutable/7.0.0/system.collections.immutable.7.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/system.io.pipelines/9.0.0/system.io.pipelines.9.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/system.memory/4.5.5/system.memory.4.5.5.nupkg.sha512",
"/Users/fantasy/.nuget/packages/system.runtime.compilerservices.unsafe/5.0.0/system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/system.security.accesscontrol/5.0.0/system.security.accesscontrol.5.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/system.security.principal.windows/5.0.0/system.security.principal.windows.5.0.0.nupkg.sha512",
"/Users/fantasy/.nuget/packages/zstdsharp.port/0.7.3/zstdsharp.port.0.7.3.nupkg.sha512",
"/Users/fantasy/.nuget/packages/fantasy-net/2024.2.24/fantasy-net.2024.2.24.nupkg.sha512",
"/Users/fantasy/.nuget/packages/fantasy-net.nlog/2024.1.20/fantasy-net.nlog.2024.1.20.nupkg.sha512"
],
"logs": []
}

View File

@@ -0,0 +1 @@
"restore":{"projectUniqueName":"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/Main.csproj","projectName":"Main","projectPath":"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/Main.csproj","outputPath":"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Main/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"/usr/local/share/dotnet/library-packs":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj":{"projectPath":"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Net/Fantasy.Net/Fantasy.Net.csproj"},"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/Fantasy.NLog.csproj":{"projectPath":"/Users/fantasy/Movies/物品背包开发之旅/B/Packages/Fantasy/Fantasy.Packages/Fantasy.NLog/Fantasy.NLog.csproj"},"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj":{"projectPath":"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Entity/Entity.csproj"},"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/Hotfix.csproj":{"projectPath":"/Users/fantasy/Movies/物品背包开发之旅/B/Server/Hotfix/Hotfix.csproj"}}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"all"},"SdkAnalysisLevel":"9.0.100"}"frameworks":{"net8.0":{"targetAlias":"net8.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/local/share/dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"}}

View File

@@ -0,0 +1 @@
17428701567253970

View File

@@ -0,0 +1 @@
17428701567253970