Comments (6)
i am increasingly confident that the combination of <TargetFrameworks>
and conditional compilation is all that is needed to build from one .NET Standard project, supporting multiple platforms
https://docs.microsoft.com/en-us/dotnet/standard/frameworks
proposed support for this studio:
target framework moniker (TFM) | preprocessor symbol |
---|---|
netcoreapp2.2 |
NETCOREAPP2_2 |
netcoreapp2.1 |
NETCOREAPP2_1 |
netstandard2.0 |
NETSTANDARD2_0 |
net462 |
NET462 |
net452 |
NET452 |
my confidence is shaky around a scenario where, say, support for net35
is needed because netstandard2.0
supports more than what is in net35
and i am not going to manually tree-shake out what netstandard2.0
supports with a bunch of #if
-#elif
blocks ( π¬ one could test how this scenario works out by adding net35
to the project and reference its build in a .NET 3.5 test project)
the intention here is to use #if
-#elif
only to block out what netstandard2.0
does not supportβand this support should eliminate the need for #19 and #2
from songhaycore.
this @RickStrahl post is very important: https://weblog.west-wind.com/posts/2017/Sep/18/Conditional-TargetFrameworks-for-MultiTargeted-NET-SDK-Projects-on-CrossPlatform-Builds
from songhaycore.
also i have been missing this: https://docs.microsoft.com/en-us/dotnet/core/tutorials/libraries#how-to-multitarget
from songhaycore.
more @RickStrahl: https://weblog.west-wind.com/posts/2017/jun/22/multitargeting-and-porting-a-net-library-to-net-core-20
from songhaycore.
this issue addressed Error NU5125: The 'licenseUrl' element will be deprecated
[ https://github.com/NuGet/Home/issues/7509 ], replacing licenseUrl
with the license
element and a files
entry: https://docs.microsoft.com/en-us/nuget/reference/nuspec#license
from songhaycore.
also i should apologize to me for not using a branch during the resolution of this issue; pushing code that will not build to the master branch was not confidence building for any visitor that might have stumbled upon this repo π
from songhaycore.
Related Issues (20)
- the XML documentation for `TryGetValueWithKey` is incomplete
- the nullability sweep over `ToAzureStorageSignature` broke its logic
- add `AzureBlobStorageRestApiUtility`
- add `StreamReaderExtensions` πβ¨
- add `AzureKeyVaultRestApiUtility` πβ¨
- test names are not consistently plural or singular HOT 1
- add `AzureActiveDirectoryUtility` πβ¨
- change `StreamReaderExtensions.ReadLines` to `break` out of the `while` loop
- add `ByteExtensions` to support ASP.NET file-upload scenarios
- add new members to `IDictionaryExtensions` HOT 1
- consider adding a `Result<T1,T2>` type to provide alternative methods that do not throw exceptions
- review code for βBest practices for comparing strings in .NETβ HOT 1
- remove `DebuggerAttached*` attribute definitions ππ₯
- The name `ConvertDateTimeToUtc` confuses date formats and time zones HOT 1
- add `IPrincipalExtensions`
- add `ILoggerExtensions` and a dependency on `Microsoft.Extensions.Logging`
- add `MenuDisplayItemModelExtensions.GetAllBy` method
- add `IServiceProviderExtensions`
- add `TestScalars`
- update `Orderers` classes
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 songhaycore.