newt 🐀
newt 🐀
Explore posts from servers
CC#
Created by newt 🐀 on 10/13/2023 in #help
❔ Failed to publish on Ubuntu with strange error
Hello, I have limited experience with C#, so I am sorry if I am missing any key terminology. I am trying to publish a solution on Ubuntu, but it is erroring because I am apparently missing version 4.0.3.0 of System.Security.Permissions. This version does not exist on nuget, so I can not add it. What is the issue, and how do I fix it?
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: The "GenerateResource" task failed unexpectedly. [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified. [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: File name: 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Shared.ExceptionHandling.IsXmlException(Exception e) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Shared.ExceptionHandling.NotExpectedIoOrXmlException(Exception e) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.ShouldRebuildResgenOutputFile(String sourceFilePath, String outputFilePath) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.GetResourcesToProcess(List`1& inputsToProcess, List`1& outputsToProcess, List`1& cachedOutputFiles) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.Execute() [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: The "GenerateResource" task failed unexpectedly. [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: System.IO.FileNotFoundException: Could not load file or assembly 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified. [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: File name: 'System.Security.Permissions, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Shared.ExceptionHandling.IsXmlException(Exception e) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Shared.ExceptionHandling.NotExpectedIoOrXmlException(Exception e) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.ShouldRebuildResgenOutputFile(String sourceFilePath, String outputFilePath) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.GetResourcesToProcess(List`1& inputsToProcess, List`1& outputsToProcess, List`1& cachedOutputFiles) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.Tasks.GenerateResource.Execute() [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
/usr/lib/dotnet/sdk/6.0.123/Microsoft.Common.CurrentVersion.targets(3264,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/home/newt/johnny/docker/PixelStacker/src/PixelStacker.Resources/PixelStacker.Resources.csproj]
14 replies
SIASapphire - Imagine a framework
Created by newt 🐀 on 1/10/2023 in #sapphire-support
Is there a way to disable ApplicationCommandRegistries logs?
5 replies