tagged [portable-class-library]
Modify request headers per request C# HttpClient PCL
Modify request headers per request C# HttpClient PCL I'm currently using the [System.Net.Http.HttpClient](https://www.nuget.org/packages/Microsoft.Net.Http) for cross platform support. I read that it ...
- Modified
- 7 May at 15:11
Class libraries in VS 2015 - Building Cross Platform Libraries
Class libraries in VS 2015 - Building Cross Platform Libraries There are different class libraries I can create in VS 2015 with Xamarin installed: 1. Class Library 2. Class Library (Android) 3. Class ...
- Modified
- 28 Sep at 00:1
SQLite net PCL - Simple select
SQLite net PCL - Simple select I use SQLite from windows app and now I am developing in Xamarin a portable app so I am using the plugin sqlite net pcl and I am having great trouble to understand how i...
- Modified
- 9 Jun at 20:34
ServiceStack Service Client for Universal App
ServiceStack Service Client for Universal App We have a WinRT app that uses the `ServiceStack.Client`. We now want to create a Windows Phone 8.1 version of it. The best option for that in terms of cod...
- Modified
- 8 Jun at 17:20
Portable Class Library in MVC 4 / Razor with Visual Studio 2012 RC?
Portable Class Library in MVC 4 / Razor with Visual Studio 2012 RC? since working with Visual Studio 2012 RC we get an HttpCompileException when using a class out of an portable class library (.net 4....
- Modified
- 28 May at 21:28
Portable Class library and reflection
Portable Class library and reflection I am building new application for Desktop, Windows 8 store and Windows phone at the same time. so I created Portable Class library to have common functionality ac...
- Modified
- 27 Dec at 21:4
What's the difference between .NET Core and PCLs?
What's the difference between .NET Core and PCLs? I was writing up the supported platforms for my PCL recently, one of which is other PCLs. I was confused if my library (which targets .NET Framework 4...
- Modified
- 4 Aug at 16:7
Build error: You must add a reference to System.Runtime
Build error: You must add a reference to System.Runtime I'm preparing a brand new ASP.NET MVC 5.1 solution. I'm adding in a bunch of NuGet packages and setting it up with Zurb Foundation, etc. As part...
- Modified
- 27 Nov at 00:11
Portable class library: recommended replacement for [Serializable]
Portable class library: recommended replacement for [Serializable] I am porting a .NET Framework C# class library to a Portable Class Library. One recurring problem is how to deal with classes decorat...
- Modified
- 16 Oct at 06:21
using SQLite inside portable class library
using SQLite inside portable class library recently we started to work on a new project which includes clients for Windows 8 Metro, Windows Phone and Desktop application. it was decided to use MVVM pa...
- Modified
- 4 Dec at 09:20
What does the portable class library actually solve?
What does the portable class library actually solve? I was wondering, what does the PCL actually solve? If all it does is limit me to what types are cross-platform, then why didn't Microsoft just make...
- Modified
- 2 May at 12:42
Why is HttpClient's GetStringAsync is unbelivable slow?
Why is HttpClient's GetStringAsync is unbelivable slow? I have a Windows Phone 8 project where I've taken to use the PCL (Portable Class Library) project too since I'm going to build a Win8 app to. Ho...
- Modified
- 9 Nov at 21:49
What's wrong with consuming ConfiguredTaskAwaitable from PortableClassLibrary's class under Debugger from MSTest Runner or Console App?
What's wrong with consuming ConfiguredTaskAwaitable from PortableClassLibrary's class under Debugger from MSTest Runner or Console App? ## Problem: While running with Debugger attached and calling a m...
- Modified
- 26 Feb at 17:51
Having NServiceBus messages in Portable Class Library PCL
Having NServiceBus messages in Portable Class Library PCL Is there a way to create a PCL with NServiceBus messages (like you can for ServiceStack)? I tried to add the NuGet package but I doesn't seem ...
- Modified
- 26 Aug at 09:5
C# Portable Class Library Equivalent of System.Diagnostics.StackTrace
C# Portable Class Library Equivalent of System.Diagnostics.StackTrace A program I am working on has a logging function appropriately named "Error," to notify of errors without crashing the program, ho...
- Modified
- 27 Dec at 09:37
Convert async lambda expression to delegate type System.Func<T>?
Convert async lambda expression to delegate type System.Func? I have an async method inside a portable class library with this signature: It fetches a resource that is cast back as a concrete type T. ...
- Modified
- 21 Jun at 12:31
HTML Linq with HtmlAgilityPack, or alternative, in PCL
HTML Linq with HtmlAgilityPack, or alternative, in PCL I have written a project on .NET 4 and am currently in the process of allowing it to run on Windows Phone as well. I am using HtmlAgilityPack, a ...
- Modified
- 12 Mar at 00:21
Trying to use ServiceStack RequiredPermission attribute in PCL service model project
Trying to use ServiceStack RequiredPermission attribute in PCL service model project I am trying to port over our existing ServiceStack DTO service model project to a Portable Class Library, and findi...
- Modified
- 18 Feb at 17:55
Trigger an action to start after X milliseconds
Trigger an action to start after X milliseconds I'm developing a Xamarin Forms mobile app, which has a page containing a SearchBar, a ListView, and Map control. The list view contains a list of addres...
- Modified
- 7 Aug at 18:26
Localization for mobile cross platform using xamarin and issue with iOS only
Localization for mobile cross platform using xamarin and issue with iOS only I have a project in Xamarin which targets Android, iOS and windows phone. I used core (PCL library) to share common code be...
- Modified
- 11 Apr at 05:51
How to workaround missing ICloneable interface when porting .NET library to PCL?
How to workaround missing ICloneable interface when porting .NET library to PCL? I am porting an existing .NET class library to a Portable Class Library. The .NET library makes extensive use of the [I...
- Modified
- 4 Dec at 18:6
error APPX3212: SDK root folder for 'Portable 7.0' cannot be located
error APPX3212: SDK root folder for 'Portable 7.0' cannot be located I'm trying to build my solution using TeamCity / MSBuild. It's a WebAPI project which shares some entities in a PCL with a mobile c...
- Modified
- 23 May at 12:25
Referencing a .NET Standard library from a Windows Class Library
Referencing a .NET Standard library from a Windows Class Library There are two projects in my solution currently: a and another class library that targets I'm using Visual Studio 2015 Update 3. I've a...
- Modified
- 15 Feb at 16:11
Thread.Sleep() in a Portable Class Library
Thread.Sleep() in a Portable Class Library The docs say `Thread.Sleep()` can be used in a class library. The compiler says otherwise. What are my alternatives besides a spin-loop? `Thread.CurrentThrea...
- Modified
- 5 Apr at 06:50
Building Portable Class Library Project in build server fails
Building Portable Class Library Project in build server fails I've recently added some custom Portable Class Library projects to an application that is built in an build server. The build was working ...
- Modified
- 13 Dec at 00:1