Like many, I have been looking for VS 2017 support for Netduino and recently I came across an article discussing how to get NETMF 4.3 working with VS 2017. Now this is a bit of a hack but it seems to work.
Overview:
Install NETMF 4.4 (installers on the page linked above)
Install the VS 2017 add-in (installer on the page above)
Copy the NETMF 4.3 into the VS 2017 MSBuild file structure (instructions at the end of post above)
For the last step I had to copy all of the directories (except 4.4) in C:\Program Files (x86)\Microsoft .NET Micro Framework to the directory C:\Program Files (x86)\MSBuild\Microsoft\.NET Micro Framework
At the moment this is unsupported and provided as information for those who wish to try and get NETMF working with VS 2017. Iāve been using this configuration for the last 1-2 weeks.
Hi Mark
Thanks for taking the time to post this information. As soon as iām back in the office Iāll give it a try and feedback how it went. This would mean that I can get rid of my VS2015 install at last and just use VS2017.
Hi all,
First; thanks to take the time to build and share this solution.
I gave it a try and some codes worked ok but others I have got strange errors.
(I know this is still unsupported, but I thought; it may exist a simple solutionā¦);
The errors are pointing to System.Collections.Generic which by rights, isnāt supportet by .netmf.
Here are the error messages: Error CS0518 Predefined type āSystem.Collections.Generic.IEnumerator`1ā is not defined or imported
Error CS0656 Missing compiler required member 'System.Collections.Generic.IEnumerator`1.Currentā
and here is the method where it is happening:
public IEnumerator GetEnumerator()
{
for (int i = 0; i < this._ItemCount; i++)
{
yield return this._people[i];
}
}
If I change the target framework to version 4.4, it compiles beautifully
Note: The actual project was done on vs2012 using .netmf 4.3 and netduino plus 2 and is working perfectly.