Questions tagged [.net-standard-2.0]
766 questions
0
votes
1 answer
Where is CryptographicOperations?
I installed nuget package System.Security.Cryptography.Primitives 4.3.0,
I'm using Visual Studio 2017, NETStandard.Library 2.0.3
Target framework is netstandard2.0
Where is CryptographicOperations?

maraaaaaaaa
- 7,749
- 2
- 22
- 37
0
votes
1 answer
Existing MVC Web Application with .NET standard library, IDE errors
I converted one of our commonly used libraries to .NET standard 2.0 for mobile application use as well as use in existing applications.
Using this library in an existing Mvc application (4.7.1 Framework) it builds and runs successfully but the…

mhapps
- 1,023
- 8
- 15
0
votes
1 answer
Multi targetting net461 and netstandard - netstandard dependencies required even in net461 consumer
I'm working on a class library that I've multi-targetted to both net461 and netstandard2.0
One of the dependencies of this class library is Microsoft.ApplicationInsights
When it was targeting just net461, I could add a reference to…

Alex
- 37,502
- 51
- 204
- 332
0
votes
1 answer
nlog databse renderer for .net standard 2.0
Hi I am trying to implement database logging using nlog in .NET standard 2.0 Project.
Nuget Dependencies Used in Project:
- NLog 4.5.6
- NLog.Config 4.5.6
- NLog.Extended.Standard 1.0.0
- NLog.Web.AspNetCore 4.5.4
but it's failing with the…

manoj bist
- 1
- 1
0
votes
0 answers
TFS Build Xamarin Forms netstandard2.0
Im trying to setup a Build for my Xamarin Forms project targeting net standard2.0
The Build definition looks like:
Get Source
InstallNuget 4.6.2
NugetRestore
Build Xamarin iOS using VSMac as BuildTool
im using the newest build agent on my local…

Alex
- 600
- 1
- 7
- 20
0
votes
0 answers
Package 'PaymillWrapper 3.3.0' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'
I have a Xamarin.Android project and I use MVVMCross.
I have the latest MVVMCross version - 6.0.1.
I'm trying to use NuGet packages, in particular Paymill.But I have a problem:
Package 'PaymillWrapper 3.3.0' was restored using…

NaSt
- 301
- 1
- 5
- 16
0
votes
0 answers
LoadApplication(new App()) fails TypeLoadException in Xamarin Forms Acr.UserDialog
I migrated my Xamarin.Forms app from Portable to .NET Standard because I need to add a function that requires the upgrade. I [finally] got everything to build, now when I start up either the Droid or iOS project, my app throws a…

Russell de Pina
- 1
- 1
0
votes
0 answers
How to make actual UWP app itself .net standard 2.0 compliant?
I'm seriously confused. If one wants to create a UWP application that will work correctly on any platform that implements the .Net Standard 2.0 interface, how do you insure that your application doesn't use anything outside of that interface. It…

Dean Roddey
- 83
- 7
0
votes
0 answers
FileLoadException from netstandard.dll in installed version but not in debug
We ported our base libraries to netstandard2.0 and consume them in an wpf net461 application. While debugging in visual studio everthing works fine.
But when using the release version installed via setup we get an…

Kingpin
- 1,067
- 2
- 14
- 34
0
votes
0 answers
How to Get the acess token from Google to login Azure Mobile Apps
I'm trying to implement google sign in in my .Net Standart Xamarin Forms Application.
Here's what've done:
-I used xamarin.auth to authenticate the user, and I get the access token.
-I tried to…

Elielson Anjos
- 41
- 3
0
votes
1 answer
c# regex to capture everything between 2 double-quotes, escaped double-quote included
I am getting trouble writing a regex in C# that basically captures everything between 2 double quotes. If that group contains escaped double-quote, they would be captured as well. After reading the regex wiki I still haven't been able to write one…

icykof
- 53
- 6
0
votes
1 answer
.Net Standard project with nugets build target
I am using:
dotnet pack MyProject.csproj
for creating nuget netstandard/net462 packages and it works fine for simple use cases.
How do I configure MyProject.csproj to include files in the "build" nuget level?
Or can I add reference to nuspec file…

user007
- 1,122
- 1
- 10
- 30
0
votes
0 answers
Error Package System.Device.Location.Portable is not compatible with monoandroid81
I am working on Xamarin Forms app with VS2015 with Xamarin 4.5.1.481, Xamarin.Andorid 7.3.1.2 and Xamarin.iOS 10.10.0.36 wherein we use System.Device.Location.Portable 1.0.0 NuGet package. Everything was working fine.
Now, I am using VS2017 and have…

Shambhavi
- 1
- 2
0
votes
1 answer
Calling Process.GetProcesses() inside a .NET Standard library from a UWP app
I have a .NET standard library which is below:
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace process_library
{
public class ProcessHandler
{
public ProcessHandler()
{
}
…

Steve Fitzsimons
- 3,754
- 7
- 27
- 66
0
votes
0 answers
.NET Standard reference
I have two computers.
I was working with computer one to make a prototype of a project. I have created a .NET Standard 2.0 class library and added a .NET Framework 4.6.1 class library. I have referenced .NET Standard to .NET Framework and everything…

miechooy
- 3,178
- 12
- 34
- 59