fsprojects / Paket.VisualStudio

Manage your Paket (http://fsprojects.github.io/Paket/) dependencies from Visual Studio!
MIT License
147 stars 51 forks source link

Tutorial non-existent?! #178

Open dredgy opened 3 years ago

dredgy commented 3 years ago

Trying to get FsXAML up and running on VS 2017 and I'm thinking of just going back to programmatically designing Windows Forms. Is there an actual official tutorial to get this working? Is the project even still supported?

I followed a tutorial on CSharp corner (https://www.c-sharpcorner.com/article/create-wpf-application-with-f-sharp-and-fsxaml/) and it seemed easy but the damn project wouldn't build (with an "Unknown Error"). So hard to narrow that down.

I'm now trying to build the WpfSimpleDrawingApp. I was unable to get any of the other demo files to build. With the WpfSimpleDrawingApp I'm at least able to install all the dependencies, but on build I get an error.

C:\Users\dredgy\source\.paket\paket.targets(65,5): error MSB3073: The command ""C:\Users\dredgy\source\.paket\paket.exe" restore --references-file "C:\Users\dredgy\source\repos\WpfSimpleDrawingApplication\paket.references"" exited with code 9009.

I have no paket.exe in that folder (I do have paket.bootstrapper.exe there, but it failed when I used that too).

I didn't have paket installed, but tried to through NuGet, only to get an error there too "Package 'Paket 5.249.2' has a package type 'DotnetTool' that is not supported by project 'WpfSimpleDrawingApplication'."

If the project is still supported, I'd love a step by step tutorial or a demo solution that builds.

Appreciate your time, and in theory I love what FsXAML does, I'm shocked that MS doesn't support F# GUI in Visual Studio at all.

FoggyFinder commented 3 years ago

Wrong project? You probably wanted to create issue in the FsXaml repo?

I'm shocked that MS doesn't support F# GUI in Visual Studio at all.

True. At least for small applications there is Avalonia

dredgy commented 3 years ago

Wrong project? You probably wanted to create issue in the FsXaml repo?

Sure did, will do that now haha. Thanks for the Avalonia recommendation!