Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Build warning (Silverlight v4 mscorlib is v2.0.5) (Read 11442 times)
t_h_048d3
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Nov 27th, 2010
Build warning (Silverlight v4 mscorlib is v2.0.5)
Nov 27th, 2010 at 5:38am
Print Post  
I am recieving a warning that MindFusion.Scheduling.Silverlight.dll and MindFusion.Diagramming.Silverlight.dll
reference and older mscorlib library. Is this correct?

[code]Warning 41
CA0060 : The indirectly-referenced assembly 'mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' could not be found.
This assembly is not required for analysis, however, analysis results could be incomplete.
This assembly was referenced by: C:\MyProject\Dev\Src\Libraries\Silverlight\MindFusion.Scheduling.Silverlight.dll, C:\MyProject\Dev\Src\Libraries\Silverlight\MindFusion.Diagramming.Silverlight.dll.
[/code]
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Build warning (Silverlight v4 mscorlib is v2.0
Reply #1 - Nov 27th, 2010 at 7:02am
Print Post  
Are you using the assemblies from the "VS2010"  subfolder under the controls install folder? ILDASM shows mscorlib 2.0.5 referenced from them:

"// Metadata version: v2.0.50727
.assembly extern System.Core
{
  .publickeytoken = (7C EC 85 D7 BE A7 79 8E )                         // |.....y.
  .ver 2:0:5:0
}
  
Back to top
 
IP Logged
 
t_h_048d3
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Nov 27th, 2010
Re: Build warning (Silverlight v4 mscorlib is v2.0
Reply #2 - Nov 27th, 2010 at 11:59am
Print Post  
I just uninstalled all MindFusion apps, downloaded the latest 'Pack for Silverlight' (trial) and installed it.
I then copied the .NET 4 Scheduler samples to a temp directory, loaded the 'OnlineDemo' sample into VS2010, switched on "Enable Code Analysis on Build" and "Rebuilt the Solution". It built successfully, but 3 warnings came up, including the mscorlib reference warning (as above).

A check of MindFusion.Scheduling.Silverlight.dll using Reflector shows 2 references to mscorlib, one v1.0.5000.0, the other v2.0.5.0.
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Build warning (Silverlight v4 mscorlib is v2.0
Reply #3 - Nov 29th, 2010 at 7:54am
Print Post  
Hi,

It turned out our obfuscator was adding the second mscorlib reference for no apparent reason. Can you check out the following build and see if the problem has been resolved:

https://mindfusion.eu/_pln_trial/MindFusion.Scheduling.Silverlight.2.2.3.zip

Let me know if that helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
t_h_048d3
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Nov 27th, 2010
Re: Build warning (Silverlight v4 mscorlib is v2.0
Reply #4 - Nov 29th, 2010 at 8:19am
Print Post  
Success, Thank you.

Note: this issue also occurs on MindFusion.Diagramming.Silverlight.dll
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Build warning (Silverlight v4 mscorlib is v2.0
Reply #5 - Nov 29th, 2010 at 2:49pm
Print Post  
Yup, it is caused by the obfuscator we are using. We will revise this for future releases. Thank you for pointing this out.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint