I am referencing a class library project built for netstandard2.1 target by a netcoreapp3.0 project in my Jetbrains Rider IDE and getting a compatibility error. What I understood from .NET implementation support table in the official netstandard dedicated article (https://learn.microsoft.com/en-us/dotnet/standard/net-standard) is that they should be compatible. Is my understanding incorrect and is the concept of netstandard different from "standard for building .NET class libraries that should be compatible with both .NET Framework and .NET core"?
NetCore app 3.0 and NetStandard 2.1 compatibility issue
1.7k Views Asked by user2082616 At
1
There are 1 best solutions below
Related Questions in .NET
- Does compiler optimize operation on const variable and literal const number?
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- What is this namespace ITypeOfObjectsBoundToListBox ? Couldn't find it
- .net rest service with JSON string and consumed with java client
- What is best way to check if any of the property of object is null or empty?
- Telerik's WPF RadColorPicker NoColorText property not working
- Possible consequences of duplicate ProgId for different classes
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Optimizing C++ call from C#
- Make a per-web-application object available to Web API and SignalR controllers
- System.ComponentModel.DataAnnotations.Schema namespace conflict
- LINQ Except/Distinct based on few columns only, to not add duplicates
- Not displaying content by its URL string - absolute urls
Related Questions in .NET-CORE
- NLog with DNX Core 5.0
- How should I reference HttpClient for dnx451 and dnxcore50?
- DNX Core 5.0 library to target any platform. No System.Random class. Workarounds or options?
- Kestrel Running which framework?
- Directory.CreateDirectory not exists in .NET Core
- asp.net dnxcore50 load assembly by file path
- .NET Core doesn't depend on any installation?
- Why is linq to object implementing iterators manually?
- Microsoft Band and WPF
- Determine port in asp.net core
- ASP.NET Core IISIntegration.Tools and .NET Framework
- ANTLR 4.5.3 C# lexer fails to initialize (ATN UUID error)
- Opening Visual Studio 2017 projects in Visual Studio 2015
- dotnetCore (1.0.0-preview2-1-003177) - build warnings as errors - how?
- How to implement interface of C# use COM of native C++?
Related Questions in .NET-STANDARD-2.1
- NetCore app 3.0 and NetStandard 2.1 compatibility issue
- IBM.Data.DB2.Core error in new DB2Connection(connectionString)
- Visual studio 2019 doesn't show me .NET Standard 2.1 and .NET Core 3.1 as part of Target Framework. .NET Core 3.1 is installed on my system
- Could not load file or assembly 'netstandard' from FW 4.8 console app
- How can I generate an XML-schema from a class in a .NET Standard library?
- What to assign to an x:DataType when using System.Linq.IGrouping
- Can you mix .NET Standard 2.0 & 2.1 in a project?
- How to run dotnet restore forcing the restore to come from .NETStandard instead of .NETFramework?
- 'SubscriptionClient' does not contain a definition for 'PeekBatch' and ReceiveBatch
- .NET multi target frameworks copies System.* DLLs to .NET Framework output directory
- Error MSB3644 The reference assemblies for framework ".NETFramework,Version=v6.0" were not found on visual studio 2017 v15.9.51
- Error: Package 'NETStandard.Library.Ref 2.1.0' has a package type 'DotnetPlatform' that is not supported by project '...'
- How to solve type or namespace name 'ConfigurationManager' does not exist in the namespace 'System.Configuration' error in .net standard?
- Assembly 'XYZ' with identity 'XYZ' uses 'System.Runtime' which has a higher version than referenced assembly 'System.Runtime'
- How do I share a class between Blazor wasm and .Net 5?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can definitely reference a .NET Standard 2.1 project from a .NET Core 3.0 project.
I'm not familiar with Rider, so bear with be, but let's try to see what's wrong:
IntegrationTests.csproj, and not the opposite in the library project file?dotnet build IntegrationTests.csproj)?If the anwer to both questions is 'yes', I'm afraid we'll need to see the relevant parts of
.csprojfiles to understand what's going on.