portable-class-library Questions
1
Is there any way I can reference to some type of class library on Asp.net core and Xamarin at the same time? I want to use some core code in Web API and on phone app.
PS. It looks like PCL doesn't...
Lifeblood asked 3/5, 2016 at 19:35
1
I'm in a C# shared project trying to find the PCL (Profile 259) equivalent for FSharpValue.GetUnionFields.
In object browser via the C# project, I see
namespace Microsoft.FSharp.Reflection
{
[A...
Guessrope asked 29/3, 2016 at 19:19
1
Solved
In Noda Time 1.3.1, our .csproj file referred to Profile 328 and our .nuspec file put the results in
lib\portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1+XamariniOS1
For Noda Time 2...
Brandwein asked 22/3, 2016 at 7:22
3
Solved
I was surprised to learn that System.Diagnostics.Trace is not included in the Portable Class Library profiles. System.Diagnostics.Debug is available though.
I'm porting a library to a PCL and have...
Gymkhana asked 11/5, 2014 at 13:57
2
Solved
Background
Hi all SO viewers. I am normally an Android developer, but now I'm developing a cross platform application targeting WPF and Android. That being said, there's practically no info on how...
Horseback asked 15/2, 2016 at 21:33
2
Solved
When running unit tests, calling any method in my portable runtime library DLL that references the "System.Reflection.TypeExtensions" generates a FileNotFound exception, searching for "System.Refle...
Cassandry asked 6/2, 2016 at 20:19
5
Solved
I have created a portable class library called DataContracts that contains my projects Messages and Views. Standard stuff like GetStockItemByIDRequest and StockView are contained in it.
The proble...
Trakas asked 18/11, 2013 at 18:27
1
What I have
I have Portable Class Library MyProj.Backend.Contracts.csproj with following
project.json:
{
"supports": {
"net46.app": {},
"uwp.10.0.app": {},
"dnxcore50.app": {}
},
"depend...
Elnaelnar asked 15/1, 2016 at 13:19
5
Solved
Is there any logging framework which supports Portable Class Library? I searched on Nuget but failed to find any.
Thanks,
Disc asked 4/1, 2013 at 4:30
6
Solved
I can't find a timer in portable library / Windows Store. (Targeting .net 4.5 and Windows Store aka Metro)
Does any have an idea on how to created some kind of timing event?
I need somekind of a ...
Jamnes asked 23/9, 2012 at 18:28
1
Solved
I am creating a Portable Class Library which means I must use System.Net.Http.HttpClient to call my web APIs as far as I understand. The challenge is that for my Universal Windows App, I cannot fig...
Caper asked 16/1, 2016 at 1:45
2
Solved
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.5 and Windows/Phone 8.1) can be used in .NET C...
Scratch asked 4/8, 2015 at 15:40
3
I'm build an app that needs some sort of caching, and since my models and viewmodels live in the portable class library i want some sort of caching there too... but PCL is limited, and I cant seem ...
Audit asked 23/11, 2013 at 7:56
1
Solved
There are different class libraries I can create in VS 2015 with Xamarin installed:
Class Library
Class Library (Android)
Class Library (Package)
Class Library (Portable for Universal Apps)
Class...
Stethoscope asked 28/9, 2015 at 0:1
2
Solved
I am trying to define and retrieve custom attributes on a class in a Metro Style App portable library.
Something like
[AttributeUsage(AttributeTargets.Class)]
public class FooAttribute : Attribut...
Allison asked 29/4, 2012 at 15:35
2
Similar to this question, which was marked as a duplicate (so I couldn't answer it directly).
I have a webapi project, which references a PCL project.
I was getting this DefaultContractResolver er...
Tia asked 7/1, 2015 at 5:3
1
Site runs fine locally, but throws this from Windows Azure Websites hosting environment.
CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a referen...
Shortage asked 5/12, 2014 at 19:18
1
Solved
In previous development, I have used a Portable Class Library to share code between a Windows 8.1 "Metro" app and a .NET/WPF desktop app.
Are Windows 10 Universal class libraries also usable from...
Packaging asked 29/7, 2015 at 21:46
1
Solved
I'm currently converting our .net business objects library to a PCL file so that it can be used with Xamarin IOS/Android and while it contains mainly POCO objects, it also contains custom exception...
Feaze asked 19/8, 2015 at 12:59
1
Solved
We are in the process of gutting a lot of shared functionality in our system and porting it to PCL libraries. I am having an issue using PCLCrypto. I am taking some existing data in our database, a...
Capon asked 19/8, 2015 at 19:51
1
I am trying to build documentation for a Portable Class Library (.Net40, Silverlight 4, .Net for Windows Store, Windows Phone 7.5) as HTML Help 1 and MS Help Viewer. I only have one "Documentation ...
Renell asked 23/3, 2013 at 17:55
1
Solved
I have a portable class library project that targets .NET 4.6 and Universal Windows Platform. This class library contains just one class with the following line of code in its constructor:
Directo...
Mizzenmast asked 18/8, 2015 at 6:30
1
Solved
What is the exact difference between xamarin shared project and portable class library?
When to use shared library and when to use portable class library?
Is this possible to write native functio...
Galitea asked 17/8, 2015 at 6:11
1
I have the code below.
public static IEnumerable<PropertyInfo> GetAllPublicInstanceDeclaredOnlyProperties(this Type type)
{
var result =
from PropertyInfo pi in type.GetProperties(Bindi...
Ranita asked 14/8, 2015 at 2:47
5
I am attempting to unit test a Portable Class Library that I've created and I want to make sure it's being tested with the same framework subset that it targets.
Per the Visual Studio ALM + Team F...
Straightaway asked 1/10, 2012 at 16:57
© 2022 - 2024 — McMap. All rights reserved.