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

Fix the warnings in the C# Notebook #1

Open
lmalenfant opened this issue Feb 15, 2024 · 1 comment
Open

Fix the warnings in the C# Notebook #1

lmalenfant opened this issue Feb 15, 2024 · 1 comment

Comments

@lmalenfant
Copy link
Member

The C# notebook works by it is getting the VTS library using NuGet, there are several warnings but it plots. We need to fix these warnings.

@lmalenfant
Copy link
Member Author

These are the warnings that we see in the notebook. It appears that because .NET 8 is installed for the kernel but the VTS is still using .NET 6, it assumes version 6.0.0.0. There doesn't appear to be a way to select a specific .NET version in the Jupyter notebook.

warning CS1701: Assuming assembly reference 'System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'Vts' matches identity 'System.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.ObjectModel', you may need to supply runtime policy

warning CS1701: Assuming assembly reference 'System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'Vts' matches identity 'System.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.ObjectModel', you may need to supply runtime policy

warning CS1701: Assuming assembly reference 'System.ObjectModel, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'Vts' matches identity 'System.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.ObjectModel', you may need to supply runtime policy

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