Hi,
Quote:There was a .NET crash during the build. You don't crash in shipped code. Ever.
If the software crashed and closed that shouldn't happen and vs shouldn't let it happen. Is that repeatable? So far you just posted an error not a crash report?
Versions Which version of Visual Studio? Help>About?
Quote:Yes, we have problems resolving includes. It's been a consistent problem, not helped by Arduino playing musical chairs with the file locations. The Arduino stuff is very good at automagically finding stuff, until suddenly it stops working. Which tends to be the case where you start using good SW Eng. practices like splitting stuff into modules.
I'm going to address the resolution problems by removing some of the explicit paths and seeing if the libraries can be found anyway.
Explicit paths. Uggh. Arduino doesn't use explicit paths and that's difficult to test for or know what results you will get.
You haven't said what happens if you switch off "vMicro>Compiler>Deep Search" or were you aware of the feature and have coded for it. Adding library #includes to the project_name.ino negates most of what "deep search" is designed to do.
Quote:Meanwhile, I notice that if I add libraries to a project they now appear in a completely different folder, i.e. no longer under "_libraries" in the project. Plus all the example code is imported. That's not what we need.
Okay maybe this gives some clue as to the problem. This is an area that changed in the last release (see release notes)
Let;s be clear about what the _libraries folder is/was. The _libraries folder used to appear when you click "vMicro>Toggle Hidden Files". Clicking again removes the folder. The folder has been renamed to src\_micro-api-readonly\libraries.
Toggle hidden files gives "read only" shortcuts to the original source. These additions to a project are ignored by visual micro during compile because they are catered for during core and lib compilation. The hidden files are for display purposes only making it easier to reference them during project code creation.
You can click delete or right click "remove" these files which is the same as clicking the Toggle menu item again. I will do some more testing but it sounds like a bug related to hidden files is confusing the compiler library resolution.
In the meantime I suggest you remove all library and and core short cuts from the project because they are easy to re-add, don't affect the source and will remove an element of confusion while we resolve the issue.