Based on the project configuration and debug output, here's the complete .NET version breakdown:
- 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)
<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>NETFX_CORE- Indicates .NET Core for Windows Store/Phone appsWINDOWS_PHONE_APP- Windows Phone 8.1 universal app modelTargetPlatformVersion: 8.1- Windows Phone 8.1 platform
The debug log shows the application is running on CoreCLR:
'CLRNetSampleApp.exe' (CoreCLR: DefaultDomain): Loaded 'C:\windows\system32\mscorlib.ni.dll'
- 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
- .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
// 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)Our CLRNet runtime targets this environment by:
-
Using .NET 4.5.1 compatible APIs
using System.Runtime.InteropServices; using System.Threading.Tasks; using Windows.ApplicationModel;
-
P/Invoke Integration
[DllImport("CLRNetCore.dll")] private static extern int CLRNet_Initialize(IntPtr config);
-
WinRT Async Patterns
public async Task<bool> InitializeAsync()
- 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)
- 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.