unoplatform / uno.templates

Uno Platform project templates
https://platform.uno/
Other
16 stars 9 forks source link

Consider adding .run configurations for unoapp template #676

Closed Takoooooo closed 3 weeks ago

Takoooooo commented 2 months ago

What would you like to be added:

Currently if you will create an unoapp and try to run it with Rider you would probably get an error because by default for each configuration it would select in my case net8.0-ios which wouldn't work with the majority of configurations. To let Rider correctly match project configuration with the TFM we could ship .run configurations so using unoapp template with Rider would be much easier. Sadly there is no such configuration for VS or at least i can't find any ;(

Anything else we need to know?

Here is the documentation about .run configurations.

Takoooooo commented 2 months ago

Here are the .run configs for Desktop, WebAssembly, WebAssembly IIS, WinAppSDK Unpacked. Other targets aren't displayed in the Rider for me but if you could find out why that happens i may generate the configs for other targets too. Also you will need to replace ProjectName occurences in the file name and in the XML. After that if you put these file in .run folder Rider should pick them up and use correct TFMs