net11.0
namespace Microsoft.Build.Framework
{
    public sealed class TaskEnvironment
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        public static TaskEnvironment! CreateWithProjectDirectoryAndEnvironment(string! projectDirectory, IDictionary<string!, string!>? environmentVariables = null);
    }
}
nuget.org
0.0 %
Reference this API
.NET
10.011.0
.NET Framework
4.7.24.84.8.1
Information specific to net11.0
Assembly

Microsoft.Build.Framework , Version=15.1.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

Your project needs a package reference to Microsoft.Build.Framework.

Package Microsoft.Build.Framework (18.6.3) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API