语言

Menu
Sites
Language
The Visual Studio template "ElmSharp-Beta" uses the wrong TargetFramework

When creating a new ElmSharp project, the template uses:

<TargetFramework>netcoreapp2.0</TargetFramework>

This "works", but may result in the wrong libraries being referenced when packages are installed.

For example, I am building a package (SkiaSharp.Views) that supports various Tizen UI elements that work for both Xamarin.Forms (via renderers) and plain old ElmSharp views. To indicate that this is platform code, is use the "tizen40" lib folder. Obviously, the current TargetFramework will not actually install it and might give an error.

I just changed the template to be:

<TargetFramework>tizen40</TargetFramework>

This works now, but not everyone will know this.

响应

1 回复
Armaan-Ul- Islam

Thanks for Sharing, Hope the Tizen dotnet runtime team would take this input into consideration for further 'Project Template' releases.