wintin Forum Index wintin
Wintin Discussion Forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Invalid file format.

 
Post new topic   Reply to topic    wintin Forum Index -> Addins
View previous topic :: View next topic  
Author Message
Xanadin



Joined: 28 May 2006
Posts: 2

PostPosted: Sun May 28, 2006 9:33 pm    Post subject: Invalid file format. Reply with quote

Hey,

I'm using VS.NET 2005. When I try to load up an addin that I compile it spits out a bunch of error code information. What it really boils down to is that the addin dll is being called invalid.

Now I downloaded the System Command addin, installed it, and it worked fine. When I built the dll myself, it spit out the same error messages. I was wondering if there is a reference or compiler option that I need to be using?

I'm using C# to build this in. If you need to see it, I can copy my code.

Any help will be appreciated!
Back to top
View user's profile Send private message
Xanadin



Joined: 28 May 2006
Posts: 2

PostPosted: Mon Jun 05, 2006 9:06 pm    Post subject: Reply with quote

I was really hoping to get started on some addin development, but I am still running into this problem. I have yet to come up with a solution to the problem. The only thing I can think of is that there was some dll construction changes between VS.Net 2003 and 2005.

If nothing else, is anyone else using VS.Net 2005 able to compile and use the Addintest that comes with the addin documentation?
Back to top
View user's profile Send private message
william
Site Admin


Joined: 07 Dec 2003
Posts: 539

PostPosted: Tue Jun 06, 2006 7:24 pm    Post subject: Reply with quote

Sorry, I'm not a complete expert on .Net interop, but I think it's unlikely that you'll be able to write an addin in VS.Net 2005, because Wintin itself is compiled in 2003, and the two versions of VS.Net target different versions of the .Net runtime.

regards

William
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    wintin Forum Index -> Addins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group