microsoft / ClearScript

A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
https://microsoft.github.io/ClearScript/
MIT License
1.77k stars 148 forks source link

The type or namespace name 'ClearScript' does not exist in the namespace 'Microsoft' #527

Closed eliashezron closed 1 year ago

eliashezron commented 1 year ago

I keep getting this error when i try to build the program, Screenshot 2023-07-27 at 18 39 29

What could be the problem and how do I fix this?

ClearScriptLib commented 1 year ago

Hi @eliashezron,

What could be the problem and how do I fix this?

How did you incorporate ClearScript into your project?

eliashezron commented 1 year ago

As per the documentation example here

I am basically re-running it on my console.

ClearScriptLib commented 1 year ago

I am basically re-running it on my console.

Sorry, please clarify. In order to use ClearScript, you must add the appropriate ClearScript NuGet packages to your project. Have you done that?

Thanks!

eliashezron commented 1 year ago

I am basically re-running it on my console.

Sorry, please clarify. In order to use ClearScript, you must add the appropriate ClearScript NuGet packages to your project. Have you done that?

Thanks!

yes, Here is my file structure.

Screenshot 2023-08-06 at 17 08 24
ClearScriptLib commented 1 year ago

Hi @eliashezron,

It appears that Issue #528 refers to the same program, so we'll continue there and close this one for now. Please feel free to reopen it if you believe there's a separate issue here.

Thanks!