J
Joan
Hi,
I've made some .NET software in C#, existing of 2 appls and 2 dlls
(let's call them: My.Crls.dll & My.Wrap.dll).
I signed all (strong name) with keys and all seemed to work fine.
All 2 apps and 2 dlls are always installed in the same directory.
After doing some bug fixing and building a new set of apps and dlls,
everything seemed to work fine, until I call the print functionality,
which uses printing & serialisation functionality in one of the dlls.
Then, I get a "SerializationException" in "mscorlib": "Cannot find the
assembly My.Ctrls, Version=1.0.2007.27546, Culture=neutral,
PublicKeyToken=4bb0de2aa339ad49".
Calling any other functionality in My.Ctrls.dll works fine.
However, both apps and both dlls are of Version 1.0.2021.????? by now,
not the version mentioned above.
I have removed all of them from the GAC (gacutil /uf). GAC says OK. On
printing I get the same error.
I have forcibly added all of them to the GAC (gacutil /if). Same
results.
I have tried to remove all signatures and strong names from both apps
and both dlls, but I still got the same error.
Where does "mscorlib" get this 1.0.2007 from, why doesn't it attach to
the new version number?
Has anyone any ideas? Thanks!
Joan
I've made some .NET software in C#, existing of 2 appls and 2 dlls
(let's call them: My.Crls.dll & My.Wrap.dll).
I signed all (strong name) with keys and all seemed to work fine.
All 2 apps and 2 dlls are always installed in the same directory.
After doing some bug fixing and building a new set of apps and dlls,
everything seemed to work fine, until I call the print functionality,
which uses printing & serialisation functionality in one of the dlls.
Then, I get a "SerializationException" in "mscorlib": "Cannot find the
assembly My.Ctrls, Version=1.0.2007.27546, Culture=neutral,
PublicKeyToken=4bb0de2aa339ad49".
Calling any other functionality in My.Ctrls.dll works fine.
However, both apps and both dlls are of Version 1.0.2021.????? by now,
not the version mentioned above.
I have removed all of them from the GAC (gacutil /uf). GAC says OK. On
printing I get the same error.
I have forcibly added all of them to the GAC (gacutil /if). Same
results.
I have tried to remove all signatures and strong names from both apps
and both dlls, but I still got the same error.
Where does "mscorlib" get this 1.0.2007 from, why doesn't it attach to
the new version number?
Has anyone any ideas? Thanks!
Joan