OK so finally dedicated about 4hrs to mucking around with this.
Using the various tips around the web, I got the basics setup on VS2017, specifically the links that have been posted before: http://informatix.miloush.net/microframework/Articles/VS2017SDK.aspx
I’m not so sure WHY this whole solution hasn’t been made an “official” bundle here, seems like the usual stupid Netduino thing where there’s a flurry of activity then the most obvious projects never get completed or updated to the latest software releases, but there you go. Its not so bad… install all the core NETMF stuff, then install those 2 files, then hand copy the MSBUILD files over to the correct directories, and… things looked OK - at least in terms of VS2017 showing valid choices for the older NETMF version platforms.
Except… when I went to try to import my old VS2010 projects. OK I could compile fine for MF4.4 but of course not 4.2 or 4.3 so lot of good that does me… (again… why no firmware for 4.4 yet despite it being out for 3-4 years now or whatever? Netduintarded.)
I would get a host of errors trying to rebuild the projects under either legacy version. Mostly BC2017 “could not find” type stuff despite the exact path listed being verifiable and legit. References and imports all looked and should have been totally fine in the IDE, but the errors were still there.
Here’s where I should sheepishly add that I was probably part of the schtoopit .001% of people in the original-Netduino-era who’d ever tried to develop using VB instead of C#. That had often proven to be a mistake but I kept thinking I’d get over some hurdles (specifically a massive lack of documentation and inconsistency w/ the C# implementation and examples…) and so I had a couple apps in VB. About the time I abandoned Netduino between a combo of total annoyance and time conflicts, I had been intending to ditch VB and use C# like everybody else, but I did get pretty pissed off at what a crappy poorly supported platform it was and so it went into cold storage until last year…
After a good deal of searching around I dug deeper into it and found that the VisualBasic.targets files in the older msbuild directories were significantly different to the v.4.4 version. So I copied the 4.4 VisualBasic.targets file -> v.4.2 and v.4.3 directories, edited the one key version text string pointing to the correct directories, and… voila. Well almost. Down to only one error message. BC2000, which is basically duplicate Import statements, specifically for mscorlib. Deleted the mscorlib ref/import for the project, no help. In my one stupid source file there is no Import for it. Where is the stupid thing coming from… Thinking again about the msbuild files, I found import sections for mscorlib in Device.targets and deleted those. Voila2, can haz compiles.
Im too annoyed to go get the hardware at the moment so havent deployed yet to see if it actually works but at least it compiles. So it could still be a poopshow but i’m allowing myself a momentary celebration anyway.
Now I’m pretty sure I’ll have to do the same thing in CSharp.targets to get apps to compile there (aka copy the 4.4 version over and change version string for the directory…) but hopefully that was what was needed…?
If anybody has any watchouts or “no its not going to work”’ or “you should have done X instead” or “you are an idiot”, that would be much appreciated, this was definitely hacking around in a fairly hamfisted manner… I meantime hell maybe I will be able make this hardware useful again…