White Tie extends your Visual Studio projects to make NuGet packaging, compiling documentation and deploying your open source software much easier.
** Configuration Note:
- No configuration necessary.**
- By default, White Tie only executes when building in Release mode.
- Provides many MSBuild properties and items, enabling complete customization if desired.
- Controls whether common static analysis tools are executed.
- Builds documentation for your project if
Sandcastle is installed.
- Builds a NuGet package for your project if
NuGet Package Restore is enabled on your solution.
- Code Contract assemblies, referenced assemblies, symbols, documentation files and NuGet dependency packages are included in the NuGet Package automatically.
- Additional target framework flavors can be included by adding
NuGetFlavor items to your project.
- Copies build output, including any Content project items, to a local deployment directory under the solution. (Note that your project's output folder is unaffected. Output files will also appear in your project's
bin folder as normal.)
- Uses a consistent solution folder structure for various build dependencies and artifacts.
White Tie generates a .nuspec
file with some of the default values derived from attributes in the output assembly. NuGet may generate an error when required values are missing. To avoid these errors, you must either:
The first choice is the simplest. In general, you only have to enter non-empty strings for
to resolve any errors; however, you should review all of the attributes anyway to ensure that you get the desired output; e.g.,
are also used in the NuGet package.