-
Notifications
You must be signed in to change notification settings - Fork 1
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
JDK install? #175
Comments
@webreidi @smitpatel can you help here? It's an odd message to require JDK for a C# project build. |
That error message is from https://marketplace.visualstudio.com/items?itemName=redhat.java extension. Not sure why it is trying to interfere while working with C# project. |
After disabling the Language Support for Java extensions the file now runs without the error. It still takes about 5 seconds to complete and prints the file ext to console everytime. Is this normal behaviour for c#? Seems like a long compile time for a simple hello world. I've worked in python and javascript before but this is my firth time using c#. Source Code: Output: |
@BeccaDunnington - It is being tracked by microsoft/vscode-dotnettools#631 |
URL
https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/run
Operating system
macos
More information about your system
Sonoma 14.5 (23F79)
Arm64
Description
When running the project I receive an error pop-up with the following information. "Please download and install a JDK to compile your project. You can configure your projects with different JDKs by the setting 'java.configuration.runtimes'"
then after 3/5 seconds the console prints a path ending with ".vscode/extensions/
ms-dotnettools.csharp-2.34.12-darwin-arm64/
.debugger/arm64/vsdbg --interpreter=vscode
--connection=/var/folders/x0/yjsz5svj2_9bvc
y53jvwkcmr0000gn/T/CoreFxPipe_vsdbg-ui-05a8
910508d64fbeb238aab3e2d35824 " and finally outputs the expected 'Hello, World!'
dotnet --info
.NET SDK:
Version: 8.0.302
Commit: ef14e02af8
Workload version: 8.0.300-manifests.f6879a9a
MSBuild version: 17.10.4+10fbfbf2e
Runtime Environment:
OS Name: Mac OS X
OS Version: 14.5
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/8.0.302/
.NET workloads installed:
There are no installed workloads to display.
Host:
Version: 8.0.6
Architecture: arm64
Commit: 3b8b000a0e
.NET SDKs installed:
8.0.101 [/usr/local/share/dotnet/sdk]
8.0.302 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
rcdunnington@Rs-MacBook-Air untitled folde
The text was updated successfully, but these errors were encountered: