为了能快速了解并处理您的问题,请提供以下基础信息: 面板、插件版本:bt11.3和bt10.02这两个我都做了测试 问题描述:Net建站从去年9月份左右推出之后,我测试就没有成功过,不知道是什么原因,是不是我还没有学会?我每次测试按照官方视频教程使用的blog.core做的测试 相关截图(日志、错误):/www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: “WarnForInvalidProjectsTask”任务意外失败。 [/www/wwwroot/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.csproj] /www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.NuGetEnvironment.GetHome() [/www/wwwroot/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.csproj] /www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.CreateValue() [/www/wwwroot/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.csproj] /www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.CheckIfFileSystemIsCaseInsensitive() [/www/wwwroot/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.csproj] /www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at System.Lazy`1.CreateValue() [/www/wwwroot/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.csproj] /www/server/dotnet/8.0.100/sdk/8.0.100/NuGet.targets(424,5): error MSB4018: at NuGet.Common.PathUtility.GetStringComparerBasedOnOS() [/www/wwwroot/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.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/Blog.Core-master/Blog.Core.Api/Blog.Core.Api.csproj] 生成失败。请修复生成错误并重新运行。
可能就是我一直没有学会,从去年到现在。到底怎么用堡塔linux面板创建net网站呢?第一次创建都是正常成功的,就是重新启动后,就无法正常运行了,重启后,运行日志如上,我是哪里操作错了? |
|