.net-standard-2.0 Questions

2

Solved

I created a .NET Standard v2.0 project in Visual Studio 2017 v15.3.1 and I'm unable to install "Microsoft.EntityFrameworkCore 2.0.0" package in it (by Nuget 4.3). Previously the .NET SDK and Runtim...
Opportina asked 20/8, 2017 at 16:17

2

Solved

I have a Visual Studio 2019 solution which has several Class Library projects targeting .NET Standard 2. Every one of these projects has a properties tab like the one described in the below image: ...
Irresoluble asked 23/10, 2019 at 11:33

2

Solved

So as far as I have been understanding from my research. A .net Standard Library can not be used on its own, so it needs to be tested through a different framework, either with .net Framework or .n...
Correggio asked 7/10, 2019 at 16:25

2

currently I'm working on a Xamarin app, which uses the .Net-Standard code sharing strategy. While I ca build and run the succesfully on android, i have some problems with the UWP project. When I tr...
Rachele asked 28/5, 2018 at 10:28

2

Solved

I have a .NET Framework 4.6.1 WebApi project that is referencing a small NuGet package we use internally to share common utility methods. We want to start moving some of our stuff to .NET Core, so...
Adynamia asked 20/9, 2017 at 12:57

3

Solved

On Windows, for .NET Framework classes we can specify sslkeyrepository as *SYSTEM/*USER.On linux where does the .NET Core classes search for the certificates by default and what could be the values...
Chitterlings asked 8/8, 2018 at 11:27

1

Solved

I ported a library targeting the .NET Framework to a .NET Standard 2.0 library. The two project files (.NET Framework library and the .NET Standard library) are in the same folder and share most of...
Folketing asked 30/7, 2019 at 15:18

2

Solved

I am developing a class library based on the NetStandard 2.0 framework for multiple platform compatibility sakes, and I need to serialize and deserialize objects. So I added a reference to the Newt...
Caitlyncaitrin asked 13/12, 2017 at 1:36

3

Solved

I've created three .NET Standard class librariy C# projects with Visual Studio 2017 and default settings. Projects: MainProject TimeProject Dependencies -> MainProject ClockProject Dependen...
Supple asked 12/6, 2019 at 20:49

2

Solved

I have just upgraded a net451 classic dotnet project to multi-target project using net461/netstandard2.0 with reasonable success. Did however come across this compiler error for net461 when it co...
Toting asked 14/9, 2017 at 18:46

2

Solved

I have a netstandard20 project that references a .Net 4.6 Project, all compiles and runs except where I call any functionality in the .Net 4.6 project, I get the following error. FileNotFoundExc...
Sloatman asked 29/8, 2017 at 9:16

0

I ran the .NET Portability Analyzer against a class library that I want to use from my own .NET Standard class library. The class I want to use has a dependency on .NET framework. The compatibility...

2

Solved

I have a .NET Standard 2.0 DLL project. It has no other references, apart from NETStandard.Library 2.0.1 and all is fine. It is referenced by a WPF application and everything seems to work fine. O...

1

Solved

I have an Azure Function v2 that calls into an utility library, which in turn instantiates a DocumentClient. When running my function locally, it throws an exception on this line: _client = new Do...

1

Solved

Background: The project we are wokring on consists of several solutions that share two libraries. Everything is written in .NET Framework 4.6.1 today. A goal for the project has been to adopt .NET ...
Nordau asked 9/11, 2018 at 11:37

4

Solved

As I need to import a library targeting .NET Standard 2, I had upgraded my library to .NET 4.7.1, as I understood from this MS video that should avoid this issue: https://www.youtube.com/watch?v=u6...
Niphablepsia asked 30/3, 2018 at 7:46

4

I have a .NET Standard 2.0 class library project with installed Nuget package System.Data.SqlClient version 4.4.0 and a Windows Form .NET Framework 4.7 project that has a reference to that class li...
Whig asked 17/8, 2017 at 15:53

1

Solved

Background: I'm maintaining an integration platform that pulls data from various unreliable APIs. Some of those actions generate potentially high costs, so for diagnostic purposes, every outgoing a...
Hungary asked 16/11, 2018 at 16:8

1

Solved

I have a netstandard 2.0 project with a reference to System.ComponentModel.Annotations. It builds fine on my local computer, but when I try to build it using Azure DevOps pipeline, I get the follow...

2

Solved

In a typical .NET app, product and version information are stored in the AssemblyInfo.cs file under the 'Properties' folder, like so... DLL Project - Properties Folder - AssemblyInfo.cs In our...
Ambrosine asked 31/8, 2018 at 5:13

1

Solved

In a netstandard 2.0 application, I have the following method that is part of a static class: public static class Argument { /// <param name="inst">Inst.</param> /// <param name...
Sternick asked 13/8, 2018 at 21:27

2

Solved

I have code equivalent to String.Join(',', new List<ulong>()) in a .NET Standard 2.0 project. I get two error from this line: Argument 1: cannot convert from 'char' to 'string' Argument 2: ...
Radioman asked 4/8, 2018 at 20:6

2

Solved

I have been reading about span for a while now, and just tried to implement it. However, while I can get span to work I cannot figure out how to get a stream to accept it like they do in the exampl...
Talbert asked 28/4, 2018 at 16:22

2

Is there a way how to run Azure Cloud Service Classic project with worker role that targets .netstandard2.0? I have such project, but any time I try to build it I receive this error: Severity C...
Bogusz asked 7/11, 2017 at 14:57

0

Project Setup : Mixed framework solution .Net Framework 4.6.2 projects in solution : 15 .Net Standard 2.0 projects in solution - 1 Development Machine Visual Studio 2017(15.7.4) : Builds with...
Cruise asked 10/7, 2018 at 15:8

© 2022 - 2024 — McMap. All rights reserved.