ProjectInstance.AddSdkResolvedEnvironmentVariable(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an Environment Variable that was resolved by an SdkResolver to the set of properties tracked by this ProjectInstance.
public:
virtual void AddSdkResolvedEnvironmentVariable(System::String ^ name, System::String ^ value);
public void AddSdkResolvedEnvironmentVariable(string name, string value);
abstract member AddSdkResolvedEnvironmentVariable : string * string -> unit
override this.AddSdkResolvedEnvironmentVariable : string * string -> unit
Public Sub AddSdkResolvedEnvironmentVariable (name As String, value As String)
Parameters
- name
- String
The name of the environment variable.
- value
- String
The value of the environment variable.
Remarks
SDK-resolved environment variables override ambient environment variables, but do not override regular properties defined in XML.