I am a complete newbie here. I've downloaded both VB.NET and C#.NET 2005
Express Editions. I've tried to compile the Autodesk labs and load them in
ADT2006. My vb .DLL error message is below. What is the secret to getting
the Express versions to work in AutoCAD 2006?
I understand the negatives to these Express versions is that there is no way
to debug using them. If worse comes to worse, I guess I could buy Visual
Studio Standard - but since I am just getting my feet wet, I thought I'd try
things out on the free version.
Thanks,
Craig
---------------------------------------------------------------------------------
Command: netload
Cannot load assembly. Error details: System.BadImageFormatException: The
format
of the file 'Lab1.dll' is invalid.
File name: "Lab1.dll"
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase,
Boolean isStringized, Evidence assemblySecurity, Boolean
throwOnFileNotFound,
Assembly locationHint, StackCrawlMark& stackMark)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile, Evidence
securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm)
at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
at loadmgd()
=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\@Custom\Lab1.dll
LOG: Appbase = C:\Program Files\Autodesk Architectural Desktop 2006\
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/@Custom/Lab1.dll.