dotnet / fsharp

The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
https://dotnet.microsoft.com/languages/fsharp
MIT License
3.89k stars 784 forks source link

Xamarin iOS templates throw error message on creation #13338

Open Happypig375 opened 2 years ago

Happypig375 commented 2 years ago

Try any of the 6 F# iOS templates from Visual Studio.

Repro steps

  1. image

  2. image

Expected behavior

Template loads successfully without error dialogs.

Actual behavior

An error dialog appears. It's unknown whether this affects the created project since reloading and building the project created does not generate any errors.

Known workarounds

Ignore the error dialog for now, or just use Fabulous templates.

Related information

Provide any related information (optional):

vzarytovskii commented 2 years ago

Same here, we don't host those IIRC, it's better to report them via VS internal mechanism. It might be related to the fact that VS now has built-in FSharp.Core and needs to be PackageReference'd differently.

Happypig375 commented 2 years ago

https://developercommunity.visualstudio.com/t/Creating-new-F-Xamarin-iOS-projects-cau/10077179?port=1025&fsid=55071e93-c606-437b-bf08-93742c29c69a&entry=myfeedback&space=8&scope=follow&ref=native&refTime=1655876655548&refUserId=564a998e-56b1-4ce3-aa20-ae39cbe01b82

TimLariviere commented 2 years ago

@Happypig375 I feel like those templates are not maintained by anyone anymore.

I recently started to create and maintain my own F# templates for Xamarin/Maui at https://github.com/fabulousfx/FSharp.Mobile.Templates

Right now, it's only .NET 6.0 templates but maybe we could add working Mono templates to this repository as well?

Happypig375 commented 2 years ago

@TimLariviere That's great news!

@vzarytovskii Is it possible to integrate that repository as the official source for Visual Studio F# Xamarin templates instead? Right now we provide a bad experience to newcomers by erring on first use.