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

.NET 4 throws error #7

Open
psydack opened this issue May 26, 2021 · 5 comments
Open

.NET 4 throws error #7

psydack opened this issue May 26, 2021 · 5 comments

Comments

@psydack
Copy link

psydack commented May 26, 2021

I had this error when tried to use .net 4 (mono or il)

com.kuraiandras.numericsconverter\ConverterExtensions.cs(8,34): error CS0234: The type or namespace name 'Vector<>' does not exist in the namespace 'System.Numerics' (are you missing an assembly reference?)
@KuraiAndras
Copy link
Owner

Isn't this a duplicate of #3 ?

@psydack
Copy link
Author

psydack commented May 26, 2021

Yes, sorry, When I added Numerics.dll I can't use .NET 2.0, that's a bit strange.

@KuraiAndras
Copy link
Owner

You mean that you could not add the System.Numerics.dll to Unity with the .Net Standard 2.0 profile?

@psydack
Copy link
Author

psydack commented May 26, 2021

That's right.

Packages\NumericsTest\com.kuraiandras.numericsconverter\ConverterExtensions.cs(8,34): error CS0433: The type 'Vector<T>' exists in both 'System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' and 'System.Numerics.Vectors, Version=4.1.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

The libs is Numerics.dll from 46 folder
image

@KuraiAndras
Copy link
Owner

Did you try the dll from the netstandard2.0 folder?

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

2 participants