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

Pre-built binaries for FSharp #354

Open
caxelrud opened this issue Aug 2, 2021 · 8 comments
Open

Pre-built binaries for FSharp #354

caxelrud opened this issue Aug 2, 2021 · 8 comments

Comments

@caxelrud
Copy link

caxelrud commented Aug 2, 2021

Is it possible to distribute pre-built binaries for FSharp from Nuget.org (Microsoft.ML.Probabilistic.FSharp.dll)?

@tminka
Copy link
Contributor

tminka commented Aug 2, 2021

What do you want those binaries to contain?

@caxelrud
Copy link
Author

caxelrud commented Aug 3, 2021

I am referring to FSharpWrapper DLL.
Currently, I download the source code and compile it (Microsoft Visual Studio Community 2019 (2)).

Other related issues (I plan to open new issue items after repeating them to get details):
I had problems using the netstandard2.0 in the F# Interactive so I use the net461 found in the TestFSharp folder.
Currently, I can't use VSCode F# Interactive anymore because it is asking for DLLs. The same code can be used in Visual Studio 2019 F# Interactive with no issues.

@sir-deenicus
Copy link

Hmm curious, I just used Infer.net in VS Code (and VS 2019) with netstandard2.0 library and it worked with no problems.

@caxelrud
Copy link
Author

I compiled the latest code from Github.
I tested, in VSCode, with the DLL from the folder: infer-main\test\TestFSharp\bin\Debug\netcoreapp3.1
It works. The problem that I am having with VSCode (and not with Visual Studio) is related to FSharp charting, more specific with
System.Windows.Forms.

@XiaoJiNu
Copy link

@sir-deenicus Could you please give the tutorial of runing infer.NET in vs code?

@caxelrud
Copy link
Author

You can find examples that can be executed in VSCode at:
[https://github.com/caxelrud/Fsharp-and-infer.NET]
At this moment, for VSCode, comment all FSharp charting usage (I am looking for a solution on that).

@XiaoJiNu
Copy link

@sir-deenicus Thank you, but I use c#, I don't know whether it can be used for it.

@sir-deenicus
Copy link

sir-deenicus commented Aug 21, 2021

@XiaoJiNu Do you know of .net-interactive? I think that's the easiest path for interactive development with C# and this library will give no problems running there.

@caxelrud Yeah, it makes sense that windows.forms is a cause. It might be the case that VS 2019 runs .net48 or so and vscode is on .netcore? With .net-interactive, plotly (xplot or plotly.net) are good.

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

4 participants