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
Issues with .NET 5.0 #274
Comments
@tminka I can take a look at these problems myself, but BinaryFormatter usage indicates on possible internal testing process which I cannot guess how to replace. Do you interested in me pursuing these changes? |
There is no need to use BinaryFormatter there. It is only storing the results of one test to be used in another test. Also, those tests are developer tests, not unit tests. You can comment out the offending lines and leave a TODO to have them fixed later. Thanks. |
@tminka I think I made necessary change for BinaryFormatter. |
Except first one item in the list everything is done. and #273 can be looked at. |
@tminka I added this issue regarding Binary Serialization - Binary Formatter. I see the code change @kant2002 made w.r.t. to that test but is there a solution for actually serializing in the .Net 5.0 environment. for example with incremental learning models? |
I attempt to re-target solution to .NET 5.0 and found couple issues
c:\Users\minka\Downloads\rcv1
. https://github.com/dotnet/infer/blob/master/test/Tests/BpmSpeedTests.cs#L109dotnet build -c DebugCore
produces Exception during build ClassifierModels.csproj somewhere insideMicrosoft.ML.Probabilistic.Compiler.ModelCompiler.CompileWithoutParams
. Have to post that later if needed.dotnet build -c DebugFull
producesFSC : error FS0078: Unable to find the file 'netstandard.dll' in any of .....
(See FSC : error FS0078: Unable to find the file 'netstandard.dll' fsharp#10009)dotnet build -c DebugCore
produces 'error : Expected file "obj\DebugCore\net5.0\ref\TestFSharp.dll" does not exist' (See Cannot compile console app on .NET 5.0 fsharp#10012)The text was updated successfully, but these errors were encountered: