NETStandard.WindowsCE 1.8.1

dotnet add package NETStandard.WindowsCE --version 1.8.1                
NuGet\Install-Package NETStandard.WindowsCE -Version 1.8.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NETStandard.WindowsCE" Version="1.8.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NETStandard.WindowsCE --version 1.8.1                
#r "nuget: NETStandard.WindowsCE, 1.8.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NETStandard.WindowsCE as a Cake Addin
#addin nuget:?package=NETStandard.WindowsCE&version=1.8.1

// Install NETStandard.WindowsCE as a Cake Tool
#tool nuget:?package=NETStandard.WindowsCE&version=1.8.1                

NETStandard.WindowsCE

Nuget version (NETStandard.WindowsCE)

A library that implements the API of .NET Standard specification on Microsoft Windows CE platform.

Getting Started

Install the NuGet package

How existing classes are extended

The naming of classes that extends existing types are the same but appended '2' digit, as Activator2 and Int322. Instance methods are implemented using extension methods and class methods as static method.

using System;

// Lesser disruptive way for a code that needs to be compatible
// with multiple platforms
#if !WindowsCE
using static System.Int32;
#else
using static System.Int322;
#endif

namespace Tests
{
    static class Program
    {
        static void Main(string[])
        {
            int result;
            // Calls System.Int322.TryParse for Windows CE platforms
            // or calls System.Int32.TryParse for others
            if (!TryParse("123", NumberStyles.None, null, out result))
                System.Console.WriteLine("Could not parse provided string");
            else
                System.Console.WriteLine("The provided string could be parsed");
            
            const string text = "Lorem ipsum dolor sit amet";
            string croppedText = text.Remove(11);	// <-- Extension method
            System.Console.WriteLine("The text after processing: {0}", croppedText);
        }
    }
}

How not supported API are marked

The API that is not supported on Microsoft Windows CE platform throw PlatformNotSupportedException exception when called and are marked as deprecated using ObsoleteAttribute attribute.

VS showing deprecated message for not supported API

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.0 is compatible.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net35-client is compatible.  net35-cf is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 3.5

  • .NETFramework 3.5 Client

  • .NETFramework 3.5 CompactFramework

    • No dependencies.
  • .NETFramework 4.0

  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETStandard 1.0

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on NETStandard.WindowsCE:

Package Downloads
Hprose.RPC

Hprose is a popular high-performance RPC library for .NET

Hprose.IO

Hprose is a popular high-performance serialization library for .NET

Hprose.RPC.Plugins

Hprose is a popular high-performance RPC library for .NET

Hprose.RPC.Codec.JSONRPC

Hprose is a popular high-performance RPC library for .NET

WindowsCE.Collections.Immutable

This package provides collections that are thread safe and guaranteed to never change their contents, also known as immutable collections. Like strings, any methods that perform modifications will not change the existing instance but instead return a new instance. For efficiency reasons, the implementation uses a sharing mechanism to ensure that newly created instances share as much data as possible with the previous instance while ensuring that operations have a predictable time complexity.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NETStandard.WindowsCE:

Repository Stars
hprose/hprose-dotnet
Hprose 3.0 for .NET
Version Downloads Last updated
1.8.1 34,803 3/8/2020
1.8.0 645 12/4/2019
1.7.1 1,150 10/29/2019
1.7.0 612 10/14/2019
1.6.0 49,769 12/7/2018
1.5.0 1,028 8/1/2018
1.4.0 1,198 6/14/2018
1.3.1 1,164 4/13/2018
1.3.0 977 4/10/2018
1.2.0 1,151 3/5/2018
1.1.0 1,129 1/7/2018
1.0.0 1,042 12/3/2017
1.0.0-alpha010 920 11/5/2017
1.0.0-alpha009 936 10/4/2017
1.0.0-alpha008 1,360 9/24/2017
1.0.0-alpha007 979 9/10/2017
1.0.0-alpha006 965 9/2/2017
1.0.0-alpha005 940 8/22/2017
1.0.0-alpha004 1,003 8/18/2017
1.0.0-alpha003 933 8/17/2017
1.0.0-alpha002 898 8/15/2017
1.0.0-alpha001 778 8/14/2017

Fix assembly compilation