More Visual Studio Nodes - nasa/gunns GitHub Wiki

Build on C:\ to avoid “mark of the web” errors

On our Visual Studio hosts (win71 and win10), we can no longer build or debug the GunnShow project directly from the Tricklab linux file space. We get lots of these errors:

Couldn’t process file XYZ due to its being in the Internet or Restricted zone or having the mark of the web on the file. Remove the mark of the web if you want to process these files.

We think this is due to a new NDC domain rule that forces Windows to distrust everything on our remote network drive (to the Linux file space via the Samba server.)

The workaround is to clone or copy the gunnshow/ repo onto the local Windows drive, and build from there.

Debugging: make sure GunnShowAddIn is the Startup project

When running Debug and you get this error:

A project with an Output Type of Class Library cannot be started directly. In order to debug this project, add an executable project to this solution which references the library project Set the executable project as the startup project.

…it may be due to the Startup project of the GunnShow solution being set to the wrong project. In the Solution Explorer, right-click on the very top Solution ‘GunnShow’ (5 project), then select Properties. Make sure Single startup project is selected and GunnShowAddIn is selected the startup project.

This defaults to GunnShowAddIn in the project solution file (gunnshow/GunnShow/GunnShow.sln). However, it may be overridden in the GunnShow.suo file. That is a user options file that can override settings in the .sln, but it’s a binary so it’s hard to see what’s in there. We don’t and shouldn’t git track that .suo file. Deleting your .suo file is an option.

⚠️ **GitHub.com Fallback** ⚠️