# PlatformAbstractions **Repository Path**: mirrors_aspnet/PlatformAbstractions ## Basic Information - **Project Name**: PlatformAbstractions - **Description**: OBSOLETE - used only for 1.0/1.1 patch builds - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: dev - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-09-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Platform Abstractions ===================== ## This repository is obsolete and no longer used or maintained except for 1.0/1.1 patch builds. As a result, we're not accepting anymore changes to this project. Please file any new issues on http://github.com/dotnet/cli. ### Replacing API usage The information this API provided maps to the following .NET APIs. Microsoft.Extensions.PlatformAbstractions | Equivalent .NET API :-- | :-- ApplicationEnvironment.ApplicationBasePath | `System.AppContext.BaseDirectory` or `System.AppDomain.CurrentDomain.BaseDirectory` ApplicationEnvironment.ApplicationName | `System.Reflection.Assembly.GetEntryAssembly().GetName().Name` or `System.AppDomain.CurrentDomain.SetupInformation.ApplicationName` ApplicationEnvironment.ApplicationVersion | `System.Reflection.Assembly.GetEntryAssembly().GetName().Version` ApplicationEnvironment.RuntimeFramework | `System.Reflection.Assembly.GetEntryAssembly().GetCustomAttribute().FrameworkName` or `System.AppDomain.CurrentDomain.SetupInformation.TargetFrameworkName`