Skip to content

Latest commit

 

History

History
99 lines (74 loc) · 3.33 KB

File metadata and controls

99 lines (74 loc) · 3.33 KB

CLRNet Windows Phone 8.1 - .NET Version Analysis

🎯 .NET Version Information

Based on the project configuration and debug output, here's the complete .NET version breakdown:

Primary Runtime Environment:

Windows Phone 8.1 .NET Framework

  • Platform: Windows Phone 8.1 (WinRT-based)
  • Base Framework: .NET Framework 4.5.1 subset
  • Runtime: Windows Phone Silverlight 8.1 + WinRT APIs
  • Architecture: ARM (targeted for Windows Phone devices)

Project Configuration Details:

<TargetPlatformVersion>8.1</TargetPlatformVersion>
<ProjectTypeGuids>{76F1466A-8B6D-4E39-A767-685A06062A39};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_PHONE_APP</DefineConstants>

Key Identifiers:

  • NETFX_CORE - Indicates .NET Core for Windows Store/Phone apps
  • WINDOWS_PHONE_APP - Windows Phone 8.1 universal app model
  • TargetPlatformVersion: 8.1 - Windows Phone 8.1 platform

Runtime Analysis from Debug Output:

The debug log shows the application is running on CoreCLR:

'CLRNetSampleApp.exe' (CoreCLR: DefaultDomain): Loaded 'C:\windows\system32\mscorlib.ni.dll'

This indicates:

  • CoreCLR Runtime - Microsoft's cross-platform .NET runtime
  • Native Image (NI) assemblies - Pre-compiled for performance
  • Windows Runtime (WinRT) integration - Windows Phone 8.1 APIs

Specific .NET Framework Version:

Windows Phone 8.1 uses:

  • .NET Framework 4.5.1 (subset) as the base
  • WinRT APIs for Windows Phone-specific functionality
  • CoreCLR as the runtime engine
  • Silverlight 8.1 compatibility layer

API Surface Available:

// Available .NET APIs in Windows Phone 8.1:
- System.* (core .NET 4.5.1 subset)
- Windows.* (WinRT APIs)
- Microsoft.Phone.* (Phone-specific APIs)
- System.Runtime.InteropServices (for P/Invoke)
- System.Threading.Tasks (async/await support)

CLRNet Compatibility:

Our CLRNet runtime targets this environment by:

  1. Using .NET 4.5.1 compatible APIs

    using System.Runtime.InteropServices;
    using System.Threading.Tasks;
    using Windows.ApplicationModel;
  2. P/Invoke Integration

    [DllImport("CLRNetCore.dll")]
    private static extern int CLRNet_Initialize(IntPtr config);
  3. WinRT Async Patterns

    public async Task<bool> InitializeAsync()

Summary:

The CLRNet Windows Phone 8.1 app runs on:

  • Base Framework: .NET Framework 4.5.1 (Windows Phone subset)
  • Runtime Engine: CoreCLR (Microsoft's cross-platform runtime)
  • Platform APIs: Windows Runtime (WinRT) for Windows Phone 8.1
  • Compatibility Layer: Silverlight 8.1 for legacy support
  • Development Tools: Visual Studio 2013, MSBuild 14.0
  • Target Architecture: ARM (Windows Phone devices)

Version Timeline:

  • Windows Phone 8.1 released April 2014
  • Based on .NET Framework 4.5.1 (released October 2013)
  • CoreCLR integration for better performance and cross-platform compatibility
  • Universal Windows Platform precursor - bridge to Windows 10 UWP

This represents a mature, stable .NET platform that provides excellent performance and comprehensive API access for mobile applications while maintaining compatibility with the broader .NET ecosystem.