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

Errors when adding to project. #11

Closed
Randolphjand opened this issue Mar 10, 2022 · 4 comments
Closed

Errors when adding to project. #11

Randolphjand opened this issue Mar 10, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Randolphjand
Copy link

Randolphjand commented Mar 10, 2022

When I add Roslina to the project with the application that I want to convert to toolkit, I get these errors.
It is the same with 2021.2 and in 2022
Assembly 'Packages/com.eastylabs.rosalina/Editor/Roslyn/Microsoft.CodeAnalysis.CSharp.dll' will not be loaded due to errors:
Reference has errors 'Microsoft.CodeAnalysis'.
Microsoft.CodeAnalysis.Workspaces.dll' will not be loaded due to errors:
Microsoft.CodeAnalysis.Workspaces references strong named System.Runtime.CompilerServices.Unsafe Assembly references: 5.0.0.0 Found in project: 4.0.4.1.
Assembly Version Validation can be disabled in Player Settings "Assembly Version Validation"
Assembly 'Packages/com.eastylabs.rosalina/Editor/Roslyn/Microsoft.CodeAnalysis.VisualBasic.Workspaces.dll' will not be loaded due to errors:
Reference has errors 'Microsoft.CodeAnalysis.Workspaces'.
Assembly 'Packages/com.eastylabs.rosalina/Editor/Roslyn/Microsoft.CodeAnalysis.VisualBasic.dll' will not be loaded due to errors:
Reference has errors 'Microsoft.CodeAnalysis'.

Created new 2021.2.14 project and got errors with nothing installed except Roslina.

@Eastrall Eastrall added the bug Something isn't working label Mar 11, 2022
@Eastrall
Copy link
Owner

Thanks for the feedback. I am going to try this on version 2021.2.X.
I see that the error specifies:

Assembly Version Validation can be disabled in Player Settings "Assembly Version Validation"

Have you tried to disable that option for testing?

@Randolphjand
Copy link
Author

I hope that disabling that does not cause any other issues. I tried it and it worked.
Is there a way to keep Roslina from creating a file when I close uxml files that I previously have the code working for in a different way than the new Roslina method?

@Randolphjand
Copy link
Author

I updated Unity and now it will not work again.

@Eastrall
Copy link
Owner

@Randolphjand I just released a new version that removes all roslyn related libraries and replace them with a single one. You shouldn't have errors anymore.
Check out the release here: https://github.com/Eastrall/Rosalina/releases/tag/v1.0.2

Let me know if you still have the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants