Asked
Resolved Resolved by DJ Sures!

Could Not Load File Or Assembly Visual Studio 2022

DJ,

So following the tutorial went as far as debugging ARC. When I tried to double click on MainForm.cs to add the button got the following error:

Could not load file or assembly 'EZ_B, Version=2015.7.28.0, Culture=neutral, PublicKeyToken=c3a3457c97d352d9' or one of its dependencies. The system cannot find the file specified.

I search the forum here to see how to resolve it. There are references to a "readme" file but I can't find where that is or where to download the sdk.

Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.1.0 .NET 4.8.03761

Can share a link that has list of all pre-reqs. I did install .NET 4.7 as well. I also saw a nuget package for EZ-B but that didn't help either.

Thanks, A


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

PRO
Synthiam
#1   — Edited

Oh there’s a major bug with visual studio 2022. Well lots of major bugs actually - we even have a few open with Microsoft about that. Specifically this one is what you’re running into: https://developercommunity.visualstudio.com/t/winforms-net-framework-projects-cant-display-the-d/1601210?from=email&viewtype=all

so you have to use visual studio 2019 until they fix their bugs. Not sure why Microsoft broke vs so bad with 2022 but it’s caused us a lot of grief as well.

PRO
Synthiam
#2  

Oh and you shouldn’t have to install anything. It does it for you. Specially .net 4.7 because it’s included with windows and visual studio.

if it wasn’t for visual studio 2022 bugs, the process of creating a robot skill is easy.

as for the read me and sdk, you must be looking at community conversations. Community conversations on the forum can’t be edited for historically reasons. You’ll find forums on the internet like that. Mainly because we won’t edit someone else’s post or content. And it would be a very difficult exercise to go through past posts to update.

it’s best to use the support section when learning how to use arc. It will have the most updated stuff - except for some videos and screenshots take a bit of liberty. Can’t realistically update 100 videos because a button name or color changed :D

#3  

I'll try to downgrade. I followed the link in ARC to download VS. Might need to add a warning or update the link.

PRO
Synthiam
#4   — Edited

Yah supporting third party bugs is what we do lol. Such a pain:)  now we have to add a notice and then monitor that until Microsoft fixes it. And hopefully we remember that notice is there

ps, there’s no other link we can really send anyone to because that’s the visual studio download page. If Microsoft didn’t release broken software, it would be the correct link lol

if the visual studio bug is causing you issues, I’d recommend commenting on the bug link I posted above. As it’s not something in our control. We need Microsoft to fix their bug. There’s nothing more I can unfortunately do :(

#5  

Downgraded to 2019 and it worked. Thanks

PRO
Synthiam
#6   — Edited

You bet it does - don't forget to comment on the Microsoft bug report about the inconvenience they've caused you :). That might help them prioritize a bug that's quite significant.