BuildSettings.ApplicationUrl Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets the expected source location when the bootstrapper is published to a Web site.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Tasks.Deployment.Bootstrapper
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
Public Property ApplicationUrl As String
public string ApplicationUrl { get; set; }
public:
virtual property String^ ApplicationUrl {
String^ get () sealed;
void set (String^ value) sealed;
}
abstract ApplicationUrl : string with get, set
override ApplicationUrl : string with get, set
final function get ApplicationUrl () : String
final function set ApplicationUrl (value : String)
Property Value
Type: System.String
A URL that represents the expected source location when the bootstrapper is published to a Web site.
Implements
Remarks
If you specify ApplicationFile, the bootstraper will be published to the location specified by this value.
If ComponentsLocation is set to Relative, required component files will be published to a location relative to this value.
Set this value to null if Setup.exe is not to be published to the Web.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.