I am trying to write Unit TestCase in our Application. (Environment--VS2010,SilverLight 4.0,Moss2010,Sql 2008)
i am getting this error
Test method Test.ImportDataUnitTest.ImportDataBLTest.ProcessUserDataTest threw exception:
System.BadImageFormatException: Could not load file or assembly Test.TestPr.BusinessLogic_Accessor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime
and cannot be loaded.
---this error will come only for Private Methods in Unit Test,if the methods are Public its not comming.