alternetsoft / AlternetUI

MIT License
24 stars 2 forks source link

Detect version of framework #61

Closed neoxeo closed 9 months ago

neoxeo commented 9 months ago

@generalloki

In all samples, when you click on Run button, it would be interesting to detect which framework is running. If ControlSamples.exe using .net 7.0, Run button should compile sample with --framework net7.0. not with net6.0.

generalloki commented 9 months ago

@neoxeo, great idea.

I have already thought about it and already implemented this. After update to master is posted, I will write here. 'Run' button will use the same .Net version as main app uses. Also were added 'Build' and 'Build UI' buttons as they are useful for the development/testing on Linux/MacOs.

generalloki commented 9 months ago

@neoxeo , I updated master with this feature, so this issue is closed.