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

Are there any way to avoid CS0433 ? #437

Open
Thaina opened this issue Dec 8, 2024 · 1 comment
Open

Are there any way to avoid CS0433 ? #437

Thaina opened this issue Dec 8, 2024 · 1 comment
Labels

Comments

@Thaina
Copy link
Contributor

Thaina commented Dec 8, 2024

Since visualscripting using CodeDom class and it was conflict with nuget codedom that being dependencies of some package

Library\PackageCache\com.unity.visualscripting@1.9.4\Editor\VisualScripting.Core\Platforms\MethodInfoStubWriter.cs(13,37): error CS0433: The type 'CodeStatement' exists in both 'System.CodeDom, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' and 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

The package that can cause this error is

    "com.unity.visualscripting": "1.9.4",
    "org.nuget.google.cloud.firestore": "3.9.0",

But I think anything using CodeDom will cause this error (such as Google.Api.Auth)

Currently now I can uninstall visualscripting I don't used. But it's not ideal if I need to work with project that require visualscripting

Should we remove the dependencies of System.CodeDom and similar library that incorporated into unity from nuget registry, or should we try to force visualscripting to use nuget. Or are there any other sensible fix?

Copy link

github-actions bot commented Jan 8, 2025

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

If you think this issue should stay open, please remove the Stale label or comment on the issue.

@github-actions github-actions bot added the Stale label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant