为了能快速了解并处理您的问题,请提供以下基础信息:
正在生成...
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: “WarnForInvalidProjectsTask”任务意外失败。 [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: System.InvalidOperationException: 未设置必需的环境变量“HOME”。请尝试设置“DOTNET_CLI_HOME”或“HOME”并再次运行该操作 [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetValueOrThrowMissingEnvVarsDotnet(Func`1 getValue, String home, String dotnetHome) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetHome() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.<>c.<.cctor>b__20_0() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.CreateValue() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetFolderPath(SpecialFolder folder) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetFolderPath(NuGetFolderPath folder) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.CheckIfFileSystemIsCaseInsensitive() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.CreateValue() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.get_IsFileSystemCaseInsensitive() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.GetStringComparerBasedOnOS() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Build.Tasks.WarnForInvalidProjectsTask.Execute() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/www/wwwroot/FL/FL.Web/FL.Web.csproj]
生成失败。请修复生成错误并重新运行。
这个问题从昨天晚上到今天早上7点之前,已经复现过两次。每一次都是刚开始第一次是成功的,但是只要重新启动后,就再也启动不起来了。还有,为什么我6点多已经发过帖子了,还是在审核中?我看linux版本帖子很多几分钟就能看到了。
|
|