-
Notifications
You must be signed in to change notification settings - Fork 367
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
What is the limitations/requirements to execute csharp code in notebook? #3534
Comments
This might be an issue with this specific package. Do you happen to know what location it's looking for? For example, if it's looking in a build output location, it won't find it, since there's no build output for the C# Script. Unrelated to the exception, |
@jonsequitur |
I was referring to this from your exception details:
My guess is that this is a file in the package that the build would normally copy to the build output (in a normal C# project build). The code is probably looking for this file in that location. But C# Script doesn't do a build and so the file isn't in the expected location (but it is in the NuGet package cache). This would be something that this package would need to account for in order to work correctly in C# Script / .NET Interactive. |
@jonsequitur I still do not know how to fix the problem, thanks for your time.
|
The package and version I'm asking about:
Polyglot Notebooks v1.0.5208010
Question
What is the limitations/requirements to execute csharp code in notebook?
I can execute a simple .net 8.0 csharp console app correctly in VS 2022.
But when copy the code to notebook, error occured when executing. What is missing when ported to notebook?
The code in notebook is as bellow:
the error message appeared as:
Following is the pdf file appeared in the code.
2007-1.pdf
The text was updated successfully, but these errors were encountered: