NetOfficeFw.Build 2.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package NetOfficeFw.Build --version 2.0.0
NuGet\Install-Package NetOfficeFw.Build -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NetOfficeFw.Build" Version="2.0.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NetOfficeFw.Build --version 2.0.0
#r "nuget: NetOfficeFw.Build, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NetOfficeFw.Build as a Cake Addin
#addin nuget:?package=NetOfficeFw.Build&version=2.0.0

// Install NetOfficeFw.Build as a Cake Tool
#tool nuget:?package=NetOfficeFw.Build&version=2.0.0

NetOffice build tasks helps your with development of Microsoft Office add-ins.

Use NetOfficeFw.Build to automatically register and cleanup your add-ins when developing Office extensions.

Add-in are registered to your user profile and it does not require running with 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.5.2, 4.6.2 and 4.8.

Usage in modern .NET SDK-style projects

  1. Add reference to NetOfficeFw.Build package to your project file.
  2. 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.0.0" />
      </ItemGroup>
    </Project>
    

Usage in classic projects

  1. Use Nuget Packages Manager to install NetOfficeFw.Build package
  2. Right click your project and choose Unload project
  3. Right click your project and choose Edit Project File
  4. 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>
    
  5. 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

There are no supported framework assets in this package.

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.

Version Downloads Last updated
2.0.0 448 8/12/2023