Compiling Dynamo src on Github


I’m trying to get the dynamo src code to compile from Guithub on Windows 10 and I get the following error message in a couple of project:

Task failed because “resgen.exe” was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for “resgen.exe” in the “bin” subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx35Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the “ToolPath” parameter of the task.

I’m not able to install the specified version in the error on my machine, but I have installed the latest one which does not seem to be helping.
Does anyone had this before and know how to resolve this?

would be very appreciated.


Hi! Try to follow the steps given by @Kulkul here:


Thanks for your reply.
Could the issue I’m having be because of the version of Visual Studio I’m on? I’m on 2017 community?


That’s most likely the reason, yes

Did installing VIsual Studio 2015 resolve your issue? I’m facing the same problem, would be nice to know in advance if it is worth the hassle. Having both VS on the same machine caused conflicts with building another application I follow via Git.

Yes it will very likely fix it - you an also try installing .net 2/3 sdk instead of visual studio 2015 - but I find vs 2015 easier to find personally.

@Michael_Kirschner2 I went through installing Visual Studio 2015 on my private machine and can confirm that this fixed the issue. Still, when I try compiling with VS2017, the error message went away, but I have no nodes available on the left hand side of the Dynamo Window. So, as it seems, VS2015 is a must to successfully compile Dynamo atm.

@d.kreide I don’t think this is the case -
The dynamo development team all compiles with visual studio 2017.

How are you running Dynamo?

Can you also make sure you have installed the vc++ 2013 redistributables

@Michael_Kirschner2 That’s interesting. I’ve checked that VC++ 2013 redistributables are installed. In fact, I have both x86 and x64, as well as two versions of it: 12.0.30501.0 and 12.0.21005.1.

I compile the Dynamo.All solution using either Debug or Release Target, and then run Dynamo Sandbox. What I’ve noticed too is that I need to manually copy some .dlls after compilation to make the nodes work. The error message is for example on the Cone.ByPointsRadii node:

Warning: Cone.ByPointsRadii operation failed.
Die Datei oder Assembly “file:///D:\dynamo-git\bin\AnyCPU\Release\LibG.ProtoInterface.dll” oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.

So the library Dynamo is looking for cannot be found, but it is present in some sub-folders. When I copy them from the …\libg_223 folder back to the bin folder, the nodes work as they should. Maybe I’m doing this all wrong, a hint to the right direction is greatly appreciated!

yes, definitely don’t copy the libG dlls.
To use the geometry libraries you’ll likely need to have revit installed or some other Autodesk application that provides ASM - do you have some version of revit installed?

While dynamo is open source its geometry library is not.

@Michael_Kirschner2 Ah, that makes sense. I don’t have Revit, but I have Autodesk Alias Surface 2019 available, which also comes with Dynamo. No clue however on how to make that work now with Dynamo Sandbox however.

@Michael_Kirschner2 I have now repeated the same installations on my computer at work - VS 2015 and additionally .NET framework 3.5 SP1. Here I can compile Dynamo both in VS 2015 and 2017. Must be something I missed on my Laptop at home.