Cannotload assembly. Error details: Could not load file or assembly
'C:\Users***\Documents\Visual Studio
2013\Projects\CSharpPlugin\CSharpPlugin\bin\Debug\CSharpPlugin.dll' or one of
its dependencies. This assembly is built by a runtime newer than the currently
loaded runtime and cannot be loaded.
Thanks Owen,
I glanced over much of what was in the link you referenced. After re-reading, the small first plug in Autocad project I am trying to run in C# would I guess be what BricsCad calls .net. I'm capable of learning and have worked with lots of Autolisp but even for that I needed to refresh what I knew 20 year ago. For the last 5 or so years before I retired we were using Revit for all new construction projects. I kept using AutoCAD but some of the younger guys in the office wouldn't touch it. Revit still can't create decent details. I drew them and imported them with a reference to a Revit "underlay" detail that we would hide.
I'm not sure if 2D/3D Cad will still be supported at all a few years from now but I still hear from many one or 2 person architectural firms who can't afford AutoCAD, can't take the needed time to learn Revit don't need it for small projects and can't afford it even if the wanted to use it.
Our AutoCAD setup has always been highly customized mainly with Autolisp. I always wanted to learn more programming languages but being an Architect had to come first. I programmed Autolisp routines quite a bit as sort of a hobby. ARX/BRX was and still is over my head for now but I'm determined to try learning it. C# seems to be somewhat easier to understand. I just need a good tutorial geared specifically to BricsCad/AutoCAD. The link you sent gives me a few more clues and is helpful.
I have used and admired your work for many years. I know you are not really a writer but if you did write down some of what you know and tell it in plain English tutorial form I know I would buy it. Hint,
I appreciate the kind words Jim. The problem with technical documentation is that it's extremely expensive to produce and maintain. Unless there's an audience of thousands, it just isn't practical to invest in professional documentation. The alternative is peer support and muddling through it on your own, which actually can be quite rewarding if you make it through the initial trepidation.
A good way to get started is to open the C# sample (API\dotNet\CsBrxMgd) in VS, build it, load it, and play with the sample commands. You need to get familiar with the IDE before you start programming. Then you need to familiarize yourself with the API before you start writing your own code form scratch. It takes time, and a whole bunch of mistakes, but rest assured that there are a whole bunch of people just like you happily writing C# plugins for BricsCAD, and they all started out the same way.
3a8082e126