revit-api

System.BadImageFormatException An attempt was made to load a program with an incorrect format

那年仲夏 提交于 2019-11-27 12:18:26
I'm writing a plug-in for another program that is based on a public .NET API. Typically these plugins are made by creating a class library DLL that references the API assembly. Then a command class is created by inheriting from a base command class in the API assembly. The application is then set to reference the plug-in DLL file, and is then also responsible for actually firing up the custom command class when the user requests it. However, now I'm trying to automate some code generation through System.CodeDOM , and want to create a simple console application that automatically generates new