Visual Basic (Declaration) | |
---|---|
Public MustOverride Sub Build() |
C# | |
---|---|
public abstract void Build() |
C++/CLI | |
---|---|
public: abstract void Build(); |
The Build() method initiates a build of the current macro. The process of turning the macro source code into executable code is performed using the .NET Framework MSBuild utility. The build operation is performed by a background thread. This method initiates the build operation and returns immediately without waiting for the build to complete. If the results of the build are needed, the caller can watch for a PropertyChanged notification on the IsBuilding property. When IsBuilding toggles from true to false, the BuildStatus property will contain a list of warnings and errors.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)