You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ This is similar to Codespaces:
85
85
1. Make sure you meet [the requirements](https://code.visualstudio.com/docs/remote/containers#_getting-started) and follow the installation steps for DevContainers in VS Code
1. A notification should popup to reopen the workspace in the container. If it doesn't, open the [`Command Palette`](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette) and type `Remote-Containers: Reopen in Container`.
88
+
1. A notification should popup to reopen the workspace in the container. If it doesn't, open the [`Command Palette`](https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette) and type `Dev Containers: Reopen in Container`.
// For .NETCore 1.x (all frameworks) and 2.x (ASP.NET Core) the $(MicrosoftNETPlatformLibrary) property specified the framework package of the project.
117
+
// This package and all its dependencies were excluded from copy to the output directory for framework deepndent apps.
118
+
// See https://github.com/dotnet/sdk/blob/b3d6acae421815e90c74ddb631e426290348651c/src/Tasks/Microsoft.NET.Build.Tasks/ResolvePackageAssets.cs#L1882-L1898
119
+
// We can't know from the assets file what the value of MicrosoftNETPlatformLibrary was, nor if an app was self-contained or not.
120
+
// To avoid false positives, and since these frameworks are no longer supported, we'll just assume that all platform packages are framework,
121
+
// and that the app is framework-dependent.
122
+
// This is consistent with the old behavior of the old NuGet Detector.
123
+
varlookup=lockFileTarget.Libraries.ToDictionary(l =>l.Name, l =>l,StringComparer.OrdinalIgnoreCase);
124
+
string[]platformPackageNames=[
125
+
FrameworkNames.NetCoreApp,// Default platform package for .NET Core 1.x and 2.x https://github.com/dotnet/sdk/blob/516dcf4a3bcf52ac3dce2452ea15ddd5cf057300/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets#L519
126
+
FrameworkNames.AspNetCoreApp,// ASP.NET platform package for .NET Core 2.x https://github.com/dotnet/aspnetcore/blob/ac66280fe9024bdd686354e342fcdfb3409597f7/src/Microsoft.AspNetCore.App/build/netcoreapp2.1/Microsoft.AspNetCore.App.targets#L10
127
+
"Microsoft.AspNetCore.All",// Alternate ASP.NET platform package for .NET Core 2.x https://github.com/dotnet/aspnetcore/blob/ac66280fe9024bdd686354e342fcdfb3409597f7/src/Microsoft.AspNetCore.All/build/netcoreapp2.1/Microsoft.AspNetCore.All.targets#L10
128
+
129
+
// ASP.NET did not have platform package / shared framework for .NET Core 1.x - it was app-local only
0 commit comments