2) Add reference RabbitMQ.Client dll from extract folder by browsing option.
But i want to build the project with framework 2.0. Please help me.
------ Rebuild All started: Project: CLRMessageQueue, Configuration: Debug Any CPU ------
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): Warning: MSB3268: The primary reference "RabbitMQ.Client" could not be resolved because it has an indirect dependency on the framework assembly "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "RabbitMQ.Client" or retarget your application to a framework version which contains "System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): Warning: MSB3268: The primary reference "RabbitMQ.Client" could not be resolved because it has an indirect dependency on the framework assembly "System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "RabbitMQ.Client" or retarget your application to a framework version which contains "System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): Warning: MSB3268: The primary reference "RabbitMQ.Client" could not be resolved because it has an indirect dependency on the framework assembly "System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "RabbitMQ.Client" or retarget your application to a framework version which contains "System.IdentityModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): Warning: MSB3268: The primary reference "RabbitMQ.Client" could not be resolved because it has an indirect dependency on the framework assembly "System.IdentityModel.Selectors, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v2.0". To resolve this problem, either remove the reference "RabbitMQ.Client" or retarget your application to a framework version which contains "System.IdentityModel.Selectors, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
C:\Program Files (x86)\MSBuild\12.0\bin\Csc.exe /noconfig /nowarn:1701,1702,2008 /nostdlib+ /errorreport:prompt /warn:4 /errorendlocation /preferreduilang:en-US /highentropyva- /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /optimize- /out:obj\Debug\CLRMessageQueue.dll /target:library /warnaserror- /utf8output GetDetailsFromAMQP.cs "C:\Users\pattku01\AppData\Local\Temp\3\.NETFramework,Version=v2.0.SqlClrAttributes.cs"
C:\Users\pattku01\Desktop\MessageQueue\Fw 2.0\CLRMessageQueue\CLRMessageQueue\GetDetailsFromAMQP.cs(3,7): Error: CS0246: The type or namespace name 'RabbitMQ' could not be found (are you missing a using directive or an assembly reference?)
C:\Users\pattku01\Desktop\MessageQueue\Fw 2.0\CLRMessageQueue\CLRMessageQueue\GetDetailsFromAMQP.cs(5,7): Error: CS0246: The type or namespace name 'RabbitMQ' could not be found (are you missing a using directive or an assembly reference?)
Done building project "CLRMessageQueue.sqlproj" -- FAILED.