Tuesday, November 13, 2018

.NET 'the reference assemblies for framework ".NETFramework, Version=4.5" were not found

Windows thoroughly confused about this issue.

Fix was to go to a machine with the assemblies and just copy the 100MB over.

Directory
c:\program files(x86)\reference assemblie\microsoft framework\.NETFramework\v4.5\


4/2019: found an alternative, with VS 2017 installer you can right click on the right hand side components and hand pick the various .NET components you want to install. what a mess!

--adam

Monday, November 12, 2018

remote debugging reminders

When i try to get remote debug working on a new system, I usually try with a completely empty very simple Hello World to make sure all the shares are mounted, permissions are correct, etc.

Recently had a simple sample not work right and had to iron out some things i had forgotten:

Reminder if you've only installed 64bit remote debug tools you need to build 64bit binary for remote deployment.

Also, to get remote access to mount a shared drive you have to enable sharing and do a trial run with Remote Desktop both directions just to make sure the systems can see each other.

Randomly had a 'hello world' build from one of the Visual Studio wizards refuse to let me set a breakpoint. Creating an empty project (no files, no .pch, etc.) I got things to work.