Language Property

MSBuild

The language of the script block (defaults to C#).


Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)

Syntax

Visual Basic (Declaration)
<Required>
Public Property Language As String
C#
[Required]
public string Language { get; set; }
C++
[Required]
public property string Language sealed  {
    String get();
    void set(String value);
}
J#
/** @attribute Required() */
/** property */
public string get_Language();

/** property */
public void set_Language(string value);
JScript
public function get Language() : String

public function set Language(value : String);

Remarks

The supported languages are:

  • Visual Basic.NET (VB, vb, VISUALBASIC)
  • C# (C#, c#, CSHARP)
  • JavaScript (JS, js, JSCRIPT)
  • J# (VJS, vjs, JSHARP)
or, proviude the fully-qualified name for a class implementing CodeDomProvider.

See Also

Syntax based on .NET Framework version 2.0.
Documentation version 1.0.0.0.