Skip to content

Releases: NetOfficeFw/vbamc

v1.8.0

19 Dec 13:06
Compare
Choose a tag to compare

The vbamc tool will work on .NET 6, 7 and 8 runtimes.

v1.7.0

10 Nov 22:28
Compare
Choose a tag to compare

This release add new vbamc tool argument to set extended properties in the compiled documents.

Usage

Call vbamc with the argument --property with key value pair PropertyName=Value:

vbamc -m Module.vba -c Class.vba --property Generator=VbaCompiler

This will create extended property named Generator with value VbaCompiler in the compiled Office document.

v1.6.0

26 Sep 12:13
Compare
Choose a tag to compare

This release changes the VbaCompiler to compile the vbaProject.bin and the macro file to output streams instead of files.

Features

  • The VbaCompiler.CompileVbaProject(Stream) will save the vbaProject.bin content to the stream
  • The vbaCompiler.Compile*MacroFile() methods will accept streams

Breaking change

  • VbaCompiler no longer supports compiling files directly to file path

vbamc tool

  • The vbamc tool will generate macro file in correct format based on the file extension

v1.5.1

25 Sep 12:48
Compare
Choose a tag to compare

Updates library dependencies to latest versions.

Runtime dependencies for VbaCompiler library:

  • DocumentFormat.OpenXml v2.20.0
  • OpenMcdf v2.3.0

Runtime dependencies for vbamc tool:

  • McMaster.Extensions.CommandLineUtils v4.1.0

v1.5.0

25 Sep 12:44
Compare
Choose a tag to compare

This is a release add new API to VbaCompiler to add extended properties to the macro file.

New features

  • Add extended properties to the macro file using VbaCompiler.ExtendedProperties property

Note
Extended properties are not exposed to the command line vbamc tool.

v1.4.3

06 Jul 16:17
Compare
Choose a tag to compare

This is a release with small quality of life changes from @m-kovac.

You can now the the Version property of the add-in file and vbamc compiler and the library can be used in multithreaded scenarios as it won't use write-locks when reading image files for the Ribbon.

New features

  • You can set the package version value by the ProjectVersion argument #7

Improvements

  • vbamc will not lock image files for writing when generating the addin file #9
  • vbamc compiler will not produce the dir.bin files which was used to debug the compiler during development #8

v1.4.2

16 May 11:10
Compare
Choose a tag to compare

This release does not have any changes in command line vbamc tool.

Added

  • To support compilation of custom addins, the VbaCompiler library allows the developer to set base directory to Ribbon customization files (the customUI folder). #6
  • The VbaCompiler library was updated to allows compiling PowerPoint add-in files on Windows platform and replacing the user profile path ~/ with the macOS directory separator. #5

Release notes for v1.4.0

Change the user profile path which will replace the ~/ expression in source code using the --user-profile-path parameter.

Warning Reverted change to the --file parameter from v1.3.0 release.

Parameter --file requires filename with extension now. This behavior is the same as for v1.2.0 release.


The vbamc compiler is now listed on NuGet https://www.nuget.org/packages/vbamc

Install it using command

dotnet tool install --global vbamc --version 1.4.1

vbamc v1.4.1

10 May 10:39
Compare
Choose a tag to compare

This release does not have any changes in command line vbamc tool.

Added

  • The VbaCompiler library was updated to allows compiling PowerPoint add-in files on Windows platform and replacing the user profile path ~/ with the macOS directory separator. #5

Release notes for v1.4.0

Change the user profile path which will replace the ~/ expression in source code using the --user-profile-path parameter.

Warning Reverted change to the --file parameter from v1.3.0 release.

Parameter --file requires filename with extension now. This behavior is the same as for v1.2.0 release.


The vbamc compiler is now listed on NuGet https://www.nuget.org/packages/vbamc

Install it using command

dotnet tool install --global vbamc --version 1.4.1

vbamc v1.4.0

10 May 09:50
Compare
Choose a tag to compare

Change the user profile path which will replace the ~/ expression in source code using the --user-profile-path parameter.

Warning Reverted change to the --file parameter from v1.3.0 release.

Parameter --file requires filename with extension now. This behavior is the same as for v1.2.0 release.


The vbamc compiler is now listed on NuGet https://www.nuget.org/packages/vbamc

Install it using command

dotnet tool install --global vbamc --version 1.4.0

vbamc v1.3.0

27 Jan 22:33
Compare
Choose a tag to compare

Change the user profile path which will replace the ~/ expression in source code using the --user-profile-path parameter.

Warning This release changes the behavior of the --file parameter.


The vbamc compiler is now listed on NuGet https://www.nuget.org/packages/vbamc

Install it using command

dotnet tool install --global vbamc --version 1.3.0