CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
128 stars 61 forks source link

Switch to sdk project style to allow building with multiple .net versions #89

Closed nimrof closed 6 months ago

nimrof commented 6 months ago

Hi all, Did not think about this before, but it is possible to compile for multiple .net versions without that much extra work.

So with that i mind i think this is the better alternative for now, that will give us the option to allow testing with .net core and continue supplying 4.8.1 from the same sourcecode.

Before we can add more .net versions, we first need to convert the project from a msbuild to sdk style, so this is what this pr. is about.

Most of the changes comes from the microsoft upgrade tool and the rest should be minor.

trojanobelix commented 6 months ago

That sounds very good. It would be good if we could support different .net versions on the same code base.

I didn't think that would be possible without a lot of hassle.

nimrof commented 6 months ago

I didn't think that would be possible without a lot of hassle.

Me too, but i have tested it little bit and most of the problems has to do with the sourcegrid & mshtml usage and that can be solved with the preprocessor and in the project settings, its a little messy but it is only in a very small part of the code