Home > Net >  Could not load type errors
Could not load type errors

Time:09-19

A website is to use vs2019 development framework is. Net4.0, released in local did not test well, once released to generate a single assembly will appear this error:

Could not load type 'System. Collections. Generic. SortedDictionary ` 2' from the assembly 'MyService, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.

What reason is this?

CodePudding user response:

The
refer to the original poster qjqmoney response:
... Once released to generate a single assembly will appear this error:...


Single don't released into the assembly, then test again,

Few server applications need to release as a single assembly, the user can't see again,

CodePudding user response:

CSDN fail? Now the problem has never been out of hair, very disappointing!

CodePudding user response:

Version may be wrong, could you again the DLL has other dependent DLL you don't have a full,,,

CodePudding user response:

But also a kind of situation is likely to be both 32-bit and 64 - bit problem,,
  • Related