NetOfficeFw.Build
2.1.0
Prefix Reserved
dotnet add package NetOfficeFw.Build --version 2.1.0
NuGet\Install-Package NetOfficeFw.Build -Version 2.1.0
<PackageReference Include="NetOfficeFw.Build" Version="2.1.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add NetOfficeFw.Build --version 2.1.0
#r "nuget: NetOfficeFw.Build, 2.1.0"
// Install NetOfficeFw.Build as a Cake Addin #addin nuget:?package=NetOfficeFw.Build&version=2.1.0 // Install NetOfficeFw.Build as a Cake Tool #tool nuget:?package=NetOfficeFw.Build&version=2.1.0
NetOffice 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.
Supported Projects
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.
Usage in modern .NET SDK-style projects
- Add reference to
NetOfficeFw.Build
package to your project file. - Set the
<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>
Usage in classic projects
- Use Nuget Packages Manager to install
NetOfficeFw.Build
package - Right click your project and choose Unload project
- Right click your project and choose Edit Project File
- Add the
<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>
- Right click your project and choose Reload Project
License
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
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.