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

Edge.js library is not recognized by VS Code Poject. #727

Closed
tarekahf opened this issue Mar 27, 2022 · 1 comment
Closed

Edge.js library is not recognized by VS Code Poject. #727

tarekahf opened this issue Mar 27, 2022 · 1 comment

Comments

@tarekahf
Copy link

I did the following:

  1. Create a new console application in vscode using dotnet new console.
  2. Add the Edge.js package using NuGet Add-Package command from vscode ctrl-shift-p
  3. When writing the program as follows:
using System;
using EdgeJs;
...

I am getting the error:

The type or namespace name 'EdgeJs' could not be found

What I am going wrong?

@tarekahf
Copy link
Author

The problem is that the project was created using the default framework which is net50. According to the Edge.js package description, this is not supported. I changed it to net48 and it worked.

@tarekahf tarekahf closed this as completed Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant