Hey, On Mon, May 10, 2010 at 5:34 PM, Jan <[email protected]> wrote: > If I reference an .NET 2.0 assembly written by Cecil i get the > following warning from CSC: > > C:\Windows\Microsoft.NET\Framework > \v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3258: The > primary reference "D:\views\tfs\Main\Source\Examples\ExamplesQSF > \FirstStepsClasses\bin\cs\20\FirstStepsClasses.dll" could not be > resolved because it has an indirect dependency on the .NET Framework > assembly "mscorlib, Version=2.0, Culture=neutral, > PublicKeyToken=b77a5c561934e089" which has a higher version > "2.0.65535.65535" than the version "2.0.0.0" in the current target > framework. > > With reflector I can see two references to mscorlib, one is ok, the > other says: > > // Assembly Reference mscorlib > > > Version: 2.0.65535.65535 > Name: mscorlib, Version=2.0.65535.65535, Culture=neutral, > PublicKeyToken=b77a5c561934e089 > > > Do you have an idea what happens?
Looks like an horrible overflow of the version. Any way to get a small repro? -- Jb Evain <[email protected]> -- -- mono-cecil
