Trying to use old assembly version?
-
I have an application where I incremented the version on one of the projects now when I try and run it I get an Invalid Caste exception when I try to cast an object to a class that it is (specifically I have a class that implements an interface and I'm trying to cast it to that interface). I get the little message that pops up warning me that some assembly was compiled in release mode so I won't have debugging or some such. This pop up lists the assembly as 1.0.0.0 when I have set the assembly to 1.1.0.0. Why won't it use the new version? I have already removed all references and readded them in all projects that are dependent on this assembly.
-
I have an application where I incremented the version on one of the projects now when I try and run it I get an Invalid Caste exception when I try to cast an object to a class that it is (specifically I have a class that implements an interface and I'm trying to cast it to that interface). I get the little message that pops up warning me that some assembly was compiled in release mode so I won't have debugging or some such. This pop up lists the assembly as 1.0.0.0 when I have set the assembly to 1.1.0.0. Why won't it use the new version? I have already removed all references and readded them in all projects that are dependent on this assembly.
-
Here is what they do in the Web.config to rebind the MS AJAX stuff, it should work the same for Castle if the assebmliesare compatible. xacc.ide - now with TabsToSpaces supportIronScheme - 1.0 alpha 4a out now (29 May 2008)
Thanks for the suggestion, I actually just figured it out. There is an XML file that lists all a bunch of types for this Query Builder tool we have and in this XML file it specifies the version, so all I had to do was update the version number in this file and it started working fine.