|
|
@@ -1,5 +1,19 @@
|
|
|
<Project>
|
|
|
- <PropertyGroup>
|
|
|
- <MicrosoftNETPlatformLibrary>Microsoft.AspNetCore.All</MicrosoftNETPlatformLibrary>
|
|
|
+ <!--
|
|
|
+ The _AspNetCoreAllSharedFxIsEnabled property is meant for internal use only. When set to 'false',
|
|
|
+ the default value of MicrosoftNETPlatformLibrary will be Microsoft.NETCore.App. It was added to support
|
|
|
+ a better SDK exprience on platforms where the ASP.NET Core shared framework is not avaiable.
|
|
|
+ In these cases, ASP.NET Core can still be as if it were just a set of NuGet packages.
|
|
|
+ -->
|
|
|
+ <PropertyGroup Condition=" '$(_AspNetCoreAllSharedFxIsEnabled)' == '' ">
|
|
|
+ <!--
|
|
|
+ Disable the base runtime, Microsoft.AspNetCore.App, when this package is imported
|
|
|
+ -->
|
|
|
+ <_AspNetCoreAppSharedFxIsEnabled>false</_AspNetCoreAppSharedFxIsEnabled>
|
|
|
+
|
|
|
+ <!--
|
|
|
+ NB: this is _AspNetCore*All*SharedFxIsEnabled, not _AspNetCore*App*SharedFxIsEnabled
|
|
|
+ -->
|
|
|
+ <_AspNetCoreAllSharedFxIsEnabled>true</_AspNetCoreAllSharedFxIsEnabled>
|
|
|
</PropertyGroup>
|
|
|
-</Project>
|
|
|
+</Project>
|