Issues with retargeting app for windows 8.1 - c#

I am trying to retarget my app for windows 8.1 and I am experiencing some issues.
I am getting an error that personally I do not recognize nor I found any information online
Syntax Error found in XBF generation AdSettingsFlyout.xaml
I do not have an AdSettingsFlyout.xaml file in my project and I suppose is one of the files that get built with the project due to Windows Ad SDK. I did not find a windows 8.1 SDK. How can I fix the issue? I need some of the 8.1 functionality in my app

Microsoft reported an error with the Ad SDK flyout here:
http://msdn.microsoft.com/en-us/library/advertising-windows-sdk-api-reference-adsettingsflyout-known-issues(v=msads.10).aspx
Windows 8.1 Advertising SDK is included in the VS2013 package or you can get it as described here:
http://msdn.microsoft.com/en-US/library/advertising-windows-prereqs(v=msads.10).aspx
Try removing any references to the Advertising SDK from your projects before upgrading.

Related

UWP exception “Could not load file or assembly Windows.Data......"

I have a application UWP that I downloaded for to check how managed UWP with SQLServer from here: https://github.com/Microsoft/DesktopBridgeToUWP-Samples/tree/master/Samples/SQLServer
When I try to Build the application I got so many errors about the Windows resource is not found,,, I have the last version of VS2017 and also W10 Pro SO....
I tried to add references and reinstall nugets, change the debug type, change the Frameworks... and I don't get works....
Can you tell me what more to do?? Maybe you can download the Project and see the same error than me...
This reference is used to call UWP APIs in "SqlBridge" windows console project.
To call UWP APIs from a classic .NET Framework application, you could install UWPDesktop NuGet package
For more info, please see Calling Windows 10 APIs From a Desktop Application.

Adding LiveSDK via NuGet VS 2017

Whenever I try to add the Microsoft.LiveSDK to a UWP the assembly is not recognized and right clicking in the Solution Explorer shows no properties.
When adding a a "using Microsoft." has no Live assembly.
I am trying to use the LiveAuthClient.
My app targets NET 4.0
Everything works fine when developing using Visual Studio 2015.
Live SDK seems to be deprecated now. It has been replaced by the Microsoft Graph and Microsoft Grpah SDKs.
LiveSDK-for-Windows is still available for Windows 8.1/ Windows Phone 8.1, but may not for UWP app. It hasn’t yet been updated for UWP.
So if you are developing a UWP app, please use Microsoft Graph instead.

Microsoft Office 365 Developing in iOS

I want to use Office 365 in my project, but when I try to add, I get this error
I have a Xamarin.iOS project but can't add it..
This topic says that I can use Xamarin.iOS also
The following projet templates support adding Office 365 APIs as a
connected service: .NET Windows Store 8.1 Apps .NET Windows Store 8.1
Universal Apps .NET Windows Phone 8.1 Apps .NET Windows Phone 8.1
Silverlight Apps Windows Forms Applications WPF Applications ASP.NET
MVC Web Applications ASP.NET Web Forms Applications Xamarin Android
and iOS Applications Multi-device Hybrid (Cordova) Apps
I downloaded and installed OfficeToolsForVS2013Update1.exe and my visual studio version is Visual Studio 2013 Update 4.
So what can be problem?
PS: I created also a new ios blank project but still the same error.
As of right now, you can add Office 365 as a connected service to iOS "Classic API" project types. Having read the documentation you reference, I agree that it's not specific enough. I have filed a bug against it and hopefully it will be updated soon. Sorry for the confusion!

Google Api Tasks Client Library for windows phone 8.1

Where i can find sourse code for this google tasks api? Or dll for windows phone 8.1?
Nuget link for this library: google api tasks v1
This library doesn't support windows phone 8.1 (i need it for wp8.1 winrt core, it platform like supported windows 8.1), but i need this library.
And i don't know when they add support.
Denis, I think you already know that, but I want other users to notice that as well...
signed google.apis.dll is giving compiler error
All sources are available at - https://google-api-client-libraries.appspot.com/download/library/[API_NAME]/[API_VERSION]/csharp, so the tasks source can be downloaded from:
https://google-api-client-libraries.appspot.com/download/library/tasks/v1/csharp
A lot of the code works if i add google library for windows 8.1, I think with the exception of the authorization. Authentication i found here nokia.develop.

nuget failed to add references into Windows phone 8.1 project in universal apps

I have a strange problem, I am migrating a Windows Phone 8 app to Windows Phone 8.1 universal app. In that I am using Facebook and Facebook.Client packages. In Windows Phone 8.1 universal app project nuget package manager failed to add Facebook packages into the project by saying the error like Couldn't find any packages that support Windows phone 8.1, after this error I added the Facebook and Facebook.Client references manually from my old Windows Phone 8 project, when I build the project compiler throwing error:
Error 1 Cannot find type System.Windows.Controls.Control in module System.Windows.dll
Actually I added Windows Phone 8 Facebook.Client.dll. So compiler throws this error. After this I have added Windows 8 Facebook.Client.dll, the build succeeded. But when I call facebook Loginasync() method, I am getting NotImplementedException.
Any one help me how to resolve this exception. I guess Facebook packages are not updated to support Windows Phone 8.1 universal app. If so can any one help me how to integrate the Facebook in Windows Phone 8.1 universal app (Windows 8.1 its working fine).
The Facebook package has been migrated to the Universal app stack, however the Facebook.Client package has not. The Facebook.Client version for Windows Phone 8 targets the Silverlight version of the APIs, so it won't auto-magically convert to supporting Windows Phone 8.1 Universal projects. Someone is going to need to port it.
The source can be found here:
https://github.com/facebook-csharp-sdk/facebook-winclient-sdk
For Windows Phone 8.1 there is a new step in the login process you need to do.
In OnActivated of app.xaml.cs add the following code:
if (args.Kind == ActivationKind.WebAuthenticationBrokerContinuation)
{
App.MobileService.LoginComplete(args as WebAuthenticationBrokerContinuationEventArgs);
}

Categories