Hi Julian,
please be aware that there are some differences for macros running on TBC 5.40 and older and v5.5 and v5.60. Please have a look at the old threads talking about that and use the last examples which includes try...except for dealing with 5.40 or older and 5.50 etc.
Your error message seems to be one of this, although apparently one of System.IO and not Trimble.Vce... or Trimble.Sdk... so not sure why
Regarding why it´s not keeping the reference to IronPython 2.7 not sure why. I think you need to install the latest SDK posted by Gary Lantaff in the forum in August so far I remember but after you have installed VS (in case you installed a newer version or similar).
I can see my Environments as follows:

and the 2.7 64-bit is stored here:

I would recommend you starting with individual macros from the examples so you can see the whole imports and exceptions etc and start seeing the classes functions, etc.
I hope this helps.
Regards,
Fernando
------------------------------
Fernando Calvo
calvo@calvo-geospatial.com------------------------------
Original Message:
Sent: 12-19-2021 06:55
From: Julian Weber
Subject: Iron Python installation Problem
Hey Guys,
I've installed Visual Studio on Win 10, then ironpython 2.7.9 + Macro sdk 5.5
When i start a project on visual studio "TBCMacros1.sln", ironpython is missing in the Environment section.
I tried many things, like setting a new environment for iron python manually but it just won't work...
When in start TBC, i also get the following error message attached.
it is so frustrating :(...
------------------------------
Julian Weber
------------------------------