Hello,
I am trying to integrate Microsoft Dyamics CRM 2015 with one MVC web application. I made a MVC project and added below dlls to use CRM sdk 2015 :
1. Microsoft.Xrm.Sdk
2. Microsoft.Crm.Sdk.Proxy
I am aware that .Net framework 4.5.2 is required for CRM SDK 2015 update 1 that I installed. Now I want to deploy this application in Azure Cloud Service.
Q. 1
I am not able to see the option of converting my project to Azure cloud project on right click of project in visual studio. Till now target framework was .Net framework 4.5.2 and not able to convert to cloud solution. What shall I do for converting this project to cloud project?
Q. 2
When I change it's framerwork to 4.5, I am getting the option to convert to cloud solution and I converted it. But, then CRM dlls are erroring out with not supported .Net framework version and showing error
The type or namespace name 'Crm' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)'.
So I changed framework to 4.5.2 and uploaded the package to Azure cloud service. When I run the URL of cloud service, it is showing error :
'The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.'
Please suggest what I am missing here.
Thank you.