I'm trying to create a Web Part to view the status of video encoding jobs in Azure. The main problem I'm having is that I need to use
Microsoft.WindowsAzure.MediaServices.Client.dll in the web part. When I add it as a reference, it gives me several warnings similar to the following:
The primary reference "Microsoft.WindowsAzure.MediaServices.Client" could not be resolved because it has an indirect dependency on the framework assembly "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "Microsoft.WindowsAzure.MediaServices.Client" or retarget your application to a framework version which contains "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Test
I think the problem is that Sharepoint 2010 does not support .NET Framework 4. Is there a way around this?
The primary reference "Microsoft.WindowsAzure.MediaServices.Client" could not be resolved because it has an indirect dependency on the framework assembly "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v3.5". To resolve this problem, either remove the reference "Microsoft.WindowsAzure.MediaServices.Client" or retarget your application to a framework version which contains "System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".
Test
I think the problem is that Sharepoint 2010 does not support .NET Framework 4. Is there a way around this?