.net-standard-2.0 Questions
4
Solved
I'm working in a .netstandard library, because it should work both in .NetFramework 4.7 and .NetCore. In that library, I have a method that receives a HttpRequest object, process the request using ...
Solenne asked 21/6, 2018 at 14:30
3
I've created a cross platform library which has 3 platform specific implementations:
Android
iOS
.NET Standard 2.0
I've packed the library with Nuget in a similar vein as the cross platform lib...
Arezzini asked 1/6, 2018 at 14:6
2
I have a private key in PEM format. How can I extract the public key from it. I need to be able to do this in code, pragmatically, without executing a process (using openssl).
Sample unused priva...
Rae asked 16/4, 2018 at 19:40
1
Solved
Create a solution with the following projects.
A .NetStandard2.0 project, name it "1"
A .NetStandard2.0 project, name it "2"
Add a reference of project 1 in 2
A .Net4.6.1 console project name i...
Harvestman asked 13/4, 2018 at 12:21
1
Solved
Error indexing method 'Class.Method' Cannot bind parameter 'log' to type TraceWriter
I have "upgraded" a bunch of my Azure Functions to .netstandard 2.0 and I get the following error:
Error indexing method 'Class.Method' Cannot bind parameter 'log' to
type TraceWriter. Make sur...
Capernaum asked 5/4, 2018 at 12:8
3
Solved
Does someone know if there's any way to use AutoMapper with ASP.Net Core 2.0?
There's no extension for IServiceCollection.
And optional question, does anyone tryed to work with AutoMapper with .Ne...
Hinds asked 19/9, 2017 at 15:38
1
Solved
I have a stateless .Net Core services running in Service Fabric. In my services, I reference a class library that targets .Net Framework 4.7.1. I deploy the application via VSTS and one of the buil...
Adamok asked 12/3, 2018 at 13:5
2
Solved
Is it possible to make Visual Studio to copy all dependencies of referenced projects into the output path?
Example
In the Solution, Project A (Library, .NET Standard) defines some functions and i...
Myiasis asked 7/3, 2018 at 8:40
1
Solved
Don't use my work to train AI models.
Give asked 21/2, 2018 at 3:54
2
Solved
.NET Standard Library — One library to rule them all.
The .NET Standard Library functionality may vary depending on the .NET platform that runs it:
.NET Framework
.NET Core
Xamarin
How to ch...
Repentance asked 15/1, 2018 at 8:34
1
Solved
I'm attempting to register my own custom options. I have, in my ASP.Net project (Kimble.API), an appsettings.json file. It looks like this:
{
"NotificationHub": {
"AccountName": "my-notification...
Millisecond asked 31/1, 2018 at 19:4
3
I'm trying to create a .NET Standard 2.0 project, however on the project properties page it only has options up to .NET Standard 1.6. I went to Visual Studio > Tools > Extensions and Updates > Upda...
Initial asked 25/1, 2018 at 18:26
2
Solved
I changed the project type I am packaging from .net framework v4.6 to .net standard 2.0, now the build definition is failing in Nuget packager step and I am getting this error message.
[error]Th...
Sciamachy asked 3/1, 2018 at 13:17
0
When we add the reference, we are able to use the .netstandard libs classes in our .net core console project (in Visual Studio), and it compiles.
When we run the app, it immediately crashes with th...
Jewish asked 19/1, 2018 at 14:49
1
Does anyone know if .NET Standard 2.0.0 is supported on Mono? I currently have a build that is working fine on windows 10. When I attempt to use in Mono in a Ubuntu Linux environment I get the foll...
Locket asked 2/1, 2018 at 12:49
1
Solved
We are currently moving our Xamarin projects from PCL to .Net Standard 2.0, also core library project format. Most things works well. We use resx-files in the core project for localization. This wo...
Equilibrant asked 14/11, 2017 at 13:45
1
Apologies if this is a very naive question. I wrote a Windows Form application using .Net 4.5 sometime ago. Recently, I thought it would be a good idea to port it to a .Net Standard 2.0 application...
Icy asked 5/11, 2017 at 22:16
1
I am attempting to convert my Xamarin project to use .net Standard 2.
I have added the .net standard 2 library
I have installed all the nuget packages that previously existed in my pcl library. ...
Flori asked 29/10, 2017 at 14:51
5
Solved
I'm getting
Unable to resolve 'NETStandard.Library (>= 1.6.1)' for '.NETStandard,Version=v2.0'.
in VSTS build using Hosted2017 build agent after I upgraded my aspnetcore app to netcoreapp2.0 ...
Rosenquist asked 16/8, 2017 at 15:13
1
I'm creating a .NET Standard 2.0 library to be consumed from a .NET Framework 4.6.1 application.
This library needs EF Core, but I can't figure out how to read the app.config.
In a .NET Framework ...
Polydeuces asked 28/9, 2017 at 10:33
1
Solved
A project targets .NET Framework 4.6.2.
A project uses NuGet package Entity Framework Core that references .NET Standard 2.0 (it appeared in packages folder)
As far as I know, .NET 4.6.2 and .NET...
Epitome asked 5/10, 2017 at 9:10
1
I have the following error from my Roslyn analyzer test case from the following project
https://github.com/Weingartner/Migrations.Json.Net
Expected collection to be empty, but found {Test0.cs(5...
Lauricelaurie asked 26/9, 2017 at 8:43
1
Solved
I am getting the following exception when running a .Net 4.6.1 unit test that uses System.IO.Compression.ZipFile.Open, if the unit test project references a .Net Standard 2.0 assembly:
System.Miss...
Eligibility asked 21/9, 2017 at 15:41
2
I've a good old .NET Framework 4.7 Class Library in Visual Studio 2015 currently using Microsoft.Extensions.Configuration NuGet package version 1.1.2. I'm trying to update this to version 2.0, but ...
Altricial asked 1/9, 2017 at 5:39
1
Solved
I have a csproj which targets .NET framework 4.6.1 and .NET Standard 2.0.
It can be compiled in my local machine with Visual Studio 2017 (v15.3.2)
Now I am setting up our building server(Jenkins)...
Semantics asked 31/8, 2017 at 10:48
© 2022 - 2024 — McMap. All rights reserved.