NetOffice build extensions for developing Microsoft Office add-ins. Helps with registering and cleanup of NetOffice add-ins during development.
$ dotnet add package NetOfficeFw.BuildNetOffice build tasks help your with development of Microsoft Office add-ins.
Use NetOfficeFw.Build to automatically register and cleanup your add-ins
when developing Office extensions.
Add-ins are registered to your user profile and the registration does not require administrator rights.
NetOffice build tasks support .NET Framework projects in classic and modern format.
You can use packages.config or <PackageReference> in your project.
Supported .NET Frameworks are 4.6.2 and 4.8.
The .NET Core assemblies are not supported yet.
NetOfficeFw.Build package to your project file.<OfficeAppAddin> property with list of Office applications your add-in supports:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>AcmeAddin</AssemblyName>
<TargetFrameworks>net48</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<OfficeAppAddin>Word;Excel;PowerPoint;Outlook</OfficeAppAddin>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NetOfficeFw.Build" Version="2.1.0" />
</ItemGroup>
</Project>
NetOfficeFw.Build package<OfficeAppAddin> property with list of Office applications your add-in supports:
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
...
<PropertyGroup>
<OfficeAppAddin>Word;Excel;PowerPoint;Outlook</OfficeAppAddin>
</PropertyGroup>
...
</Project>
Source code is licensed under MIT License.
Project icon Card Exchange is licensed from Icons8 service
under Universal Multimedia Licensing Agreement for Icons8.
See https://icons8.com/license for more information