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

Does it support .NET Framewrok 4.7.2? #37

Open
foxi69 opened this issue Jan 29, 2024 · 2 comments
Open

Does it support .NET Framewrok 4.7.2? #37

foxi69 opened this issue Jan 29, 2024 · 2 comments

Comments

@foxi69
Copy link

foxi69 commented Jan 29, 2024

Version 5.1.0 works flawlessly, but 6.0 does not with 4.7.2

@paulirwin
Copy link
Member

Hello, can you provide more details about what the problem is? The library targets .NET Standard 2.0 which should support .NET Framework 4.7.2, but we do not actively test against .NET Framework.

We will eventually drop .NET Framework/Standard support, leaving the historical releases that support it still available. But for now we do want to continue to support .NET Standard releases where feasible. Thanks!

@foxi69
Copy link
Author

foxi69 commented Mar 3, 2024

JaroWinkler jw = new JaroWinkler();
double similarityValue = jw.Similarity(name, game.Name);


Method name : MoveNext
Date : 2024. 03. 03. 10:50:16
Version : 6.0.0

Exception type : System.BadImageFormatException
Message : Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Reference assemblies should not be loaded for execution. They can only be loaded in the Reflection-only loader context. (Exception from HRESULT: 0x80131058)
StackTrace : at System.MemoryExtensions.AsSpan(String text)
at F23.StringSimilarity.JaroWinkler.Similarity(String s1, String s2)
at MultiUploader.Categories.GameCategory.<>c__DisplayClass9_0.b__1(HtmlNode foundGameInSearch)
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.OrderedEnumerable1.<GetEnumerator>d__1.MoveNext() at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source)
at MultiUploader.Categories.GameCategory.d__9.MoveNext()
Exception type : System.BadImageFormatException
Message : Cannot load a reference assembly for execution.
StackTrace :

With https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects

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