-
Notifications
You must be signed in to change notification settings - Fork 446
Open
Labels
a:questionGeneral questionGeneral questiondependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Prerequisites
- I made sure I am running the latest development build
- I tried to look for similar issues before opening a new one
- I have set
debugmessages=truein config to diagnose my issue - I have redacted session tokens and passwords before attaching screenshots
Minecraft Version
0.0.0
Console Client Version
20250522-285
Expected Behavior
编译成功
Actual Behavior
编译时提示未能找到类型或命名空间名“ConsoleInteractive”(是否缺少 using 指令或程序集引用?)
Steps to Reproduce the bug
- 运行debian13
- 下载源码
- 运行编译命令
Attach screenshot here (If applicable)
No response
Anythings that could help diagnosing the bug
root@192:/home/test/Minecraft-Console-Client# dotnet publish MinecraftClient -f net7.0 -r linux-x64 --no-self-contained -c Release -p:UseAppHost=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None
/usr/share/dotnet/sdk/10.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: 目标框架“net7.0”不受支持,将来不会收到安全更新。有关支持策略的详细信息,请参阅 https://aka.ms/dotnet-core-support。
/usr/share/dotnet/sdk/10.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: 目标框架“net7.0”不受支持,将来不会收到安全更新。有关支持策略的详细信息,请参阅 https://aka.ms/dotnet-core-support。
MinecraftClient net7.0 linux-x64 失败,出现 2 错误和 2 警告 (15.8 秒)
/usr/share/dotnet/sdk/10.0.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(32,5): warning NETSDK1138: 目标框架“net7.0”不受支持,将来不会收到安全更新。有关支持策略的详细信息,请参阅 https://aka.ms/dotnet-core-support。
/usr/share/dotnet/sdk/10.0.102/Microsoft.Common.CurrentVersion.targets(2189,5): warning MSB9008: 引用的项目 ../ConsoleInteractive/ConsoleInteractive/ConsoleInteractive/ConsoleInteractive.csproj 不存在。
/home/test/Minecraft-Console-Client/MinecraftClient/ConsoleIO.cs(196,52): error CS0246: 未能找到类型或命名空间名“ConsoleInteractive”(是否缺少 using 指令或程序集引用?)
/home/test/Minecraft-Console-Client/MinecraftClient/ConsoleIO.cs(295,64): error CS0246: 未能找到类型或命名空间名“ConsoleInteractive”(是否缺少 using 指令或程序集引用?)
在 17.6 秒内生成 失败,出现 2 错误和 2 警告
root@192:/home/test/Minecraft-Console-Client#Device
Laptop
Operating System
Linux
Server Address (If applicable)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a:questionGeneral questionGeneral questiondependenciesPull requests that update a dependency filePull requests that update a dependency file