Comments (7)
@terrajobst For the record the correct link is https://github.com/dotnet/standard/blob/release/2.0.0/docs/netstandard-20/README.md#net-framework-461-supporting-net-standard-20
i.e. on master branch the page has been wipe out -> 404 page not found
from standard.
This section should answer the first part of your question:
Also, why is updating .NET Framework such a big issue?
.NET Framework is a machine wide installation. When you don't own the machine, you cannot necessarily and install a new version of the .NET Framework. Consider IT departments in larger companies, or hosted scenarios (e.g. Azure).
from standard.
What will happen when a .NET Standard 2.0-targeted program runs on .NET Framework 4.6.1 which doesn't have all the capabilities? Will it crash?
Yes, the program will throw a MissingMemberException
, if you call one of the ~40 members that aren't available there. If that's unhandled, the program will crash.
from standard.
Note that we don't expect those members to be heavily used or impactful compared to the thousands that are there. We're looking to find a good solution to ensure people don't hit those problems.
from standard.
Ah, so it's basically ".NET Framework 4.6.1 supports .NET Standard 2.0 but (intentionally/knowingly) violates this promise in these few members", could I say that? Not that I had any problem with that, I just like to know.
from standard.
Yes, that's right. Wish we had a time machine but you could say that 4.6.1 has an extremely small setown of known issues.
from standard.
@ygoe it's common for many enterprises to update .net very slowly, sometimes due to incompatibilities with other software (example: if you have Exchange installed, you cannot install .NET 4.6.2). until very recently even 4.6 did not have a lot of traction across some industries.
having net461 support netstandard2.0 therefore gets netstandard2.0 to wide availability years earlier. i think it would be worth the back-compat break that was originally proposed too, but either way it's still a good move.
from standard.
Related Issues (20)
- Build issues when referencing project that targets multiple frameworks C# WPF HOT 1
- Questions about tagging within this repository / future versions HOT 1
- System.Drawing.Printing.PrinterSettings slow HOT 1
- Support with Universal Windows Platform HOT 2
- How to build .NET Standard based library for ARM architecture HOT 6
- Update docs to reflect the status of .NET Standard in 2020 HOT 2
- [BUG] [UWP] GetManifestResourceInfo doesn't work on UWP HOT 3
- Value Tuple Could not load file or assembly 'System.ValueTuple, Version=4.0.1.0, HOT 1
- mono and .NET5+ HOT 8
- Security Vulnerability due to System.Text.RegularExpressions HOT 4
- Issue with resolving between .NET Standard 2.0 and .NET Standard 2.1 HOT 3
- Class ValueTask has different definitions between .Net Standard 2.1 and .Net 5 HOT 1
- Strong name signature not valid HOT 5
- Assembly version for DispatchProxy shim is too low resulting in duplicate types for DispatchProxy HOT 10
- linq using GetValueOrDefault in Where clause problem HOT 3
- DbCommand.ExecuteReaderAsync throws TaskCanceledException with wrong CancellationToken HOT 2
- [Feature Request] Allow Static Method In Interface HOT 3
- [question] Will Garbage Collector Collect Memebers, When Object Is Casted To Parent Type, That Is Now Inaccessible On The Type Of Reference? HOT 2
- [Feature Request] Support for MultiSet & MultiMap in System.Collections.Generic HOT 3
- Support of 'IAsyncComparer' for Linq operations. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from standard.