Covenant
Covenant copied to clipboard
dotnet run not working
(kali㉿kali)-[~/Desktop/Covenant] └─$ sudo dotnet run [sudo] password for kali: Couldn't find a project to run. Ensure a project exists in /home/kali/Desktop/Covenant, or pass the path to the project using --project.
can someone help me understand whats going on and how can fix this problem
Given the file structure, you probably want /Desktop/Covenant/Covenant
.
i did that the same error
now its showing me this
──(root㉿kali)-[/Covenant/Covenant] └─# dotnet run You must install or update .NET to run this application.
App: /Covenant/Covenant/bin/Debug/netcoreapp3.1/Covenant Architecture: x64 Framework: 'Microsoft.AspNetCore.App', version '3.1.0' (x64) .NET location: /usr/share/dotnet
The following frameworks were found: 6.0.8 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Learn about framework resolution: https://aka.ms/dotnet/app-launch-failed
To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=kali.2022.4-x64
You need to install .Net Core 3.1, seems the only one you have installed right now is .NET 6
its showing this now
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support. at System.Environment.FailFast(System.String) at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode() at System.Globalization.GlobalizationMode..cctor() at System.Globalization.CultureData.CreateCultureWithInvariantData() at System.Globalization.CultureData.get_Invariant() at System.Globalization.CultureInfo..cctor() at System.StringComparer..cctor() at McMaster.Extensions.CommandLineUtils.CommandLineApplication..ctor(McMaster.Extensions.CommandLineUtils.CommandLineApplication, McMaster.Extensions.CommandLineUtils.HelpText.IHelpTextGenerator, McMaster.Extensions.CommandLineUtils.Abstractions.CommandLineContext) at McMaster.Extensions.CommandLineUtils.CommandLineApplication..ctor() at Covenant.Program.Main(System.String[])
Follow the proper instructions to install .NET Core 3.1: https://dotnet.microsoft.com/en-us/download/dotnet/3.1 Or you could try the Covenant dev branch which I believe is using .NET 5.
Follow the proper instructions to install .NET Core 3.1: https://dotnet.microsoft.com/en-us/download/dotnet/3.1 Or you could try the Covenant dev branch which I believe is using .NET 5.
Currently facing the same issue and apparently .NET core 3.1 is no longer supported on debian based systems. https://learn.microsoft.com/en-us/dotnet/core/install/linux-debian#supported-distributions how am I supposed to install it then? The supplied binaries do not appear to work, following instructions here https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/sdk-3.1.426-linux-arm64-binaries upon installing the 3.1 SDK it is not registered by the dotnet utility itself
Friends This command solves this problem
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
is there any alternative to solve this issue ?