Dec 7, 2011 at 3:12 PM
Edited Dec 7, 2011 at 3:16 PM
I am trying to build EnterpriseLibrary.2010.sln using msbuild. I have used the following command:-
msbuild EnterpriseLibrary.2010.sln /t:Build
I have also delay signed all the projects inside the solution. I also had to update the project references as even in 2010 solution if a project references another project, it reference the VS2008 project instead of VS2010 project.
Example: Logging.2010.csproj references Common.csproj instead of Common.2010.csproj so I updated the project reference to Common.2010.csproj
When I do a build I get following error:-
:error cs1705: Assembly 'Microsoft.Practices.EnterpriseLibrary.Common, version=5.0.414.0, ..........' uses 'System.Core, version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089' which has a higher version than referenced assembly 'System.Core,
version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089'
When I build the same solution using VS 2010 it builds fine.
I couldn't understand what is going wrong.
Note that I also tried building the solution without delay signing the assemblies and the solution built fine but I need to the sign the assemblies in any case.