Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

RegAsmHelper

Contains a task which can be used to run regasm .NET assembly

Nested types and modules

TypeDescription
RegAsmParams

RegAsm parameter type

Functions and values

Function or valueDescription
RegAsm setParams lib
Signature: setParams:(RegAsmParams -> RegAsmParams) -> lib:string -> unit

Runs regasm on the given lib

Parameters

  • setParams - Function used to manipulate the default RegAsm parameters.
  • lib - The assembly file name.
RegAsmDefaults
Signature: RegAsmParams

RegAsm default params

regAsmToolPath
Signature: string

Path to newest regasm.exe

RegisterAssembliesWithCodebase(...)
Signature: workingDir:string -> assemblies:seq<string> -> unit

Executes RegAsm.exe with the /codebase /tlb option

Used to temporarily register any .net dependencies before running a VB6 build

UnregisterAssemblies(...)
Signature: workingDir:string -> assemblies:seq<string> -> unit

Executes Regasm.exe with the /codebase /tlb /unregister options

Used to unregegister any temporarily registerd .net dependencies after running a VB6 build