What steps will reproduce the problem?
1. Get a fresh svn checkout
2. Upgrade solution to Visual Studio 2010
3. Build Solution
What is the expected output? What do you see instead?
It should build the solution with no issues, instead if throws a warning:
Build started: Project: TiviT.NCloak, Configuration: Debug Any CPU
warning CS1685: The predefined type
'System.Runtime.CompilerServices.ExtensionAttribute' is defined in multiple
assemblies in the global alias; using definition from
ncloak\lib\Mono.Cecil.dll'.
This causes build errors:
error CS0656: Missing compiler required member
'System.Runtime.CompilerServices.ExtensionAttribute..ctor'
What version of the product are you using? On what operating system?
Clean svn checkout r28 upgraded to VS2010. Using Windows 7 with Visual Studio
2010 Ultimate SP1
Please provide any additional information below.
This can be easily fixed rebuilding Mono.Cecil.dll using the net_3_5
configuration, available at https://github.com/jbevain/cecil . Tried it and it
picked up the right assembly for ExtensionAttribute (which is M$ assemblies)
Note: sometimes VS randomly pick ups the M$ assembly instead of the bugged
Mono.Cecil one but it still throws a warning about it.
Original issue reported on code.google.com by giacomo...@gmail.com on 20 Jun 2011 at 10:49
Original issue reported on code.google.com by
giacomo...@gmail.com
on 20 Jun 2011 at 10:49