Skip to content

Instantly share code, notes, and snippets.

View rhyous's full-sized avatar

Jared A Barneck rhyous

View GitHub Profile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization; // Had to add this
using Rhyous.EasyXml; // Added this from NuGet package
namespace XmlAddIncrementWithMaxId
{
---
layout: post
title: NuGet ContentFiles Demystified
author: Jeffrey T. Fritz
comments: true
---
In NuGet 3.3, the `contentFiles` feature was introduced to support project.json managed projects and packages that are indirectly referenced in a project. This was an important change because it brings the ability to deliver static files, .pp file transforms, and language specific code into a project. In this post, we'll explore how to make use of this feature and show some samples of how to make the most of it in your projects.
## Definition