I have met a exception,like:
Abnormal untreated:System.TypeInitiallizationException:"ICT.Server.Program" ,The type initializer was an exception. ------->System.BadImageFormatExeption:Failed to load the file or assembly“Shuttle.ESB.Core,Version=188.8.131.52,Culture=neutral,PublicKeyToken=null” orOne of its dependencies, trying to load is not in the correct format.
I think this is a version's problem about the .NET Framework.
I created there new project(According to the Pub/Sub demo),and then ,I added the Shuttle ESB's source code I need.
I have already changed them to ".NET Framework 4.0"(Because I find all the source code projects are .NET Framework 3.5).
When I Compile all the code,It succeed.
But When I run it ,it will send me this wrong message.
the reason I do this,is because I want to use it in our Project.I used the demo I download,it can run normally.
However,When I create a new project,I met the problem above.
I guess it is the creating environment's problem.Do you think so?