fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

Xamarin iOS templates throw error message on creation

Open Happypig375 opened this issue 3 years ago • 4 comments

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

Repro steps

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):

  • Operating system Windows
  • .NET Runtime kind (.NET Core, .NET Framework, Mono) Xamarin iOS
  • Editing Tools (e.g. Visual Studio Version, Visual Studio) VS17.2.3

Happypig375 avatar Jun 21 '22 17:06 Happypig375

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.

vzarytovskii avatar Jun 21 '22 19:06 vzarytovskii

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

Happypig375 avatar Jun 22 '22 05:06 Happypig375

@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?

TimLariviere avatar Jun 22 '22 08:06 TimLariviere

@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.

Happypig375 avatar Jun 22 '22 12:06 Happypig375