Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: You must install or update .NET to run this application. #57

Closed
Konard opened this issue Jan 17, 2024 · 0 comments
Closed

error: You must install or update .NET to run this application. #57

Konard opened this issue Jan 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Konard
Copy link
Member

Konard commented Jan 17, 2024

gitpod /workspace/Protocols.Lino/csharp (main) $ dotnet test
  Determining projects to restore...
  All projects are up-to-date for restore.
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/obj/Debug/net7/Parser.peg.g.cs(40,37): warning CS1584: XML comment has syntactically incorrect cref attribute 'IList{Link{string}}' [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/obj/Debug/net7/Parser.peg.g.cs(40,43): warning CS1658: Type parameter declaration must be an identifier not a type. See also error CS0081. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/obj/Debug/net7/Parser.peg.g.cs(40,48): warning CS1658: Type parameter declaration must be an identifier not a type. See also error CS0081. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/id.cs(7,19): warning CS8981: The type name 'id' only contains lower-cased ascii characters. Such names may become reserved for the language. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Link.cs(128,30): warning CS8765: Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes). [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/LinksGroup.cs(69,30): warning CS8765: Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes). [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/LinksGroup.cs(37,65): warning CS8625: Cannot convert null literal to non-nullable reference type. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Link.cs(33,91): warning CS8602: Dereference of a possibly null reference. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Link.cs(33,91): warning CS8604: Possible null reference argument for parameter 'reference' in 'string Link<TLinkAddress>.EscapeReference(string reference)'. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Link.cs(36,109): warning CS8604: Possible null reference argument for parameter 'reference' in 'string Link<TLinkAddress>.EscapeReference(string reference)'. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Link.cs(71,47): warning CS8604: Possible null reference argument for parameter 'id' in 'Link<TLinkAddress>.Link(TLinkAddress id, IList<Link<TLinkAddress>> values)'. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Link.cs(107,104): warning CS8604: Possible null reference argument for parameter 'reference' in 'string Link<TLinkAddress>.EscapeReference(string reference)'. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/Platform.Protocols.Lino.csproj]
  Platform.Protocols.Lino -> /workspace/Protocols.Lino/csharp/Platform.Protocols.Lino/bin/Debug/net7/Platform.Protocols.Lino.dll
/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino.Tests/TupleTests.cs(4,7): warning CS8981: The type name 'id' only contains lower-cased ascii characters. Such names may become reserved for the language. [/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino.Tests/Platform.Protocols.Lino.Tests.csproj]
  Platform.Protocols.Lino.Tests -> /workspace/Protocols.Lino/csharp/Platform.Protocols.Lino.Tests/bin/Debug/net7/Platform.Protocols.Lino.Tests.dll
Test run for /workspace/Protocols.Lino/csharp/Platform.Protocols.Lino.Tests/bin/Debug/net7/Platform.Protocols.Lino.Tests.dll (.NETCoreApp,Version=v7.0)
Microsoft (R) Test Execution Command Line Tool Version 17.8.0 (x64)
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Testhost process for source(s) '/workspace/Protocols.Lino/csharp/Platform.Protocols.Lino.Tests/bin/Debug/net7/Platform.Protocols.Lino.Tests.dll' exited with error: You must install or update .NET to run this application.
App: /workspace/Protocols.Lino/csharp/Platform.Protocols.Lino.Tests/bin/Debug/net7/testhost.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: /home/gitpod/dotnet/
The following frameworks were found:
  8.0.0 at [/home/gitpod/dotnet/shared/Microsoft.NETCore.App]
Learn more:
https://aka.ms/dotnet/app-launch-failed
To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=linux-x64&os=ubuntu.22.04
. Please check the diagnostic logs for more information.

Test Run Aborted.
gitpod /workspace/Protocols.Lino/csharp (main) $ 
@Konard Konard added the bug Something isn't working label Jan 17, 2024
@Konard Konard closed this as completed in 358307a Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant