Quantcast
Channel: MVVM Light Toolkit
Viewing all articles
Browse latest Browse all 1826

Commented Unassigned: fxcop 10 warning ca 0060 [7641]

$
0
0
Project vb.net 4 installed with mvvmlight version 4.3.31. Execution is OK. No problem. However, fxcop 10 message is
The indirectly-referenced assembly 'Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: C:\Users\User\Documents\Visual Studio 2010\Projects\Version 12 apps\SrimadBhagavatam\SrimadBhagavatam\bin\Release\GalaSoft.MvvmLight.Extras.WPF4.dll. The bundled microsoft.practices.servicelocation is version 1.2.0.0.

If I upgrade to the latest version available 4.4, then it is not compiling at all saying that the dll does not have strong name.
Comments: You can download the file Microsoft.Practices.ServiceLocation.dll, add reference to it, set it as Copy To Output. This will resolve the errors at build time when the build machine may not have this dll readily available in its GAC. Download: https://servicelocation.codeplex.com/

Viewing all articles
Browse latest Browse all 1826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>