Incorrect DLL Version being used for build
I'm have a problem using VS 2005 when I build the solution I get a error that says:
System.IO.FileNotFoundException was unhandled by user code
Message="Could not load file or assembly 'INBLK$NamedDataSets_SYSTEM, Version=1.0.2405.25931, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
Source="INBLK$SystemClasses"
StackTrace:
at INBLK_SystemClasses.GetData.FormatDSP()
at INBLK_SystemClasses.GetData.Fill() in F:\Development\Traffic Management Environment (TME)\InfoBlock Objects\System Objects\INBLK$SystemClasses\clsDataTransporter.vb:line 78
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
After looking at the version of the DLL i realized that the version of the DLL refereced by the project is 1 version behind ( version: 1.0.2405.25931 is referenced) the one in the error message. I have looked at the project dependancies and it seem to be correct. funny thing though, the error does not happen all of the time sometimes it build using the correct DLL versions and everything is ok. Does anybody have any ideas on this

