When I build a gha in Visual Studio, I then manually copy it over to the Grasshopper Components folder. If grasshopper and rhino are already open, it seems that I need to close and restart both in order to see the results of any changes I make to the gha.
This process is a little tedious. Is there a way to tell grasshopper to reload ghas without having to close Rhino?
Would it be stupid to use the Grasshopper Components Folder as my build path in VS?
Can I have multiple build paths in VS express? Would I just have to edit the xml in the .vbproj file?
I'm having issues debugging some code. Every single breakpoint I set turns into a hollow circle with a warning saying: "The breakpoint will not currently be hit. No symbols have been loaded for this document." as soon as I step into debugging mode. I've tried with some other code but still getting the same warning.
By the way, everything Giulio described in the thread is working fine, it's just the debugging part which is refusing to work properly. Ah, using Visual Studio 2008 (although I still have VS 2010 installed. I know there are some debugging issues with 2010, should I remove it completely?).
I also seem to be encountering problems with this -- I'm getting a very weird error using VS Express 2010 with Rhino 4: It's unable to load my assemblies stating:
Could not load file or assembly 'file:///filepath\filename.gha' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Anyone know a fix to this? I'm compiling for Grasshopper 0.8.01.
I guess this should rather be in a MSDN's forum, but anyway, I'll post here just in case someone has a clue:
after starting to debug (VS 2008 Express attaches to Rhino alright), I get this weird error message from VS if I try to hit Break All (pause debugging):
Unable to break execution. This process is not currently executing the type of code that you selected to debug.
Riccardo La Magna
I'm having issues debugging some code. Every single breakpoint I set turns into a hollow circle with a warning saying: "The breakpoint will not currently be hit. No symbols have been loaded for this document." as soon as I step into debugging mode. I've tried with some other code but still getting the same warning.
By the way, everything Giulio described in the thread is working fine, it's just the debugging part which is refusing to work properly. Ah, using Visual Studio 2008 (although I still have VS 2010 installed. I know there are some debugging issues with 2010, should I remove it completely?).
Cheers!
r
Nov 25, 2010
Suryansh Chandra
Could not load file or assembly 'file:///filepath\filename.gha' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
Anyone know a fix to this? I'm compiling for Grasshopper 0.8.01.
Many Thanks.
Nov 29, 2010
Riccardo La Magna
Neat, I'm always back on the same thread.
I guess this should rather be in a MSDN's forum, but anyway, I'll post here just in case someone has a clue:
after starting to debug (VS 2008 Express attaches to Rhino alright), I get this weird error message from VS if I try to hit Break All (pause debugging):
Unable to break execution. This process is not currently executing the type of code that you selected to debug.
Any help?
r
May 24, 2011