No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AssemblyToProcess
Icons
Images
RemoveReference.Fody.NuGet
RemoveReference.Fody.Tests
RemoveReference.Fody
RemoveReference
Tools/Pepita
packages
.gitignore
CommonAssemblyInfo.cs
README.md
RemoveReference.Fody.sln
license.txt

README.md

This is an add-in for Fody

Icon

Facilitates removing references in a compiled assembly during a build.

Before (decompiled view of assembly references)

Image

After (decompiled view of assembly references)

Image

Quick Start

  1. Install the RemoveReference.Fody NuGet package for the project that builds your assembly

  2. Add a RemoveReference attribute in your code for each assembly reference you want to remove from the compiled assembly:

     [assembly: RemoveReference("mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e")]    
     [assembly: RemoveReference("System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e")]    
    
  3. Rebuild your project and enjoy!

Nuget

Nuget package http://nuget.org/packages/RemoveReference.Fody

To Install from the Nuget Package Manager Console

PM> Install-Package RemoveReference.Fody

Credits

Inspired by Microsoft Visual Studio and Portable Class Library (PCL) bug and Fody issue #43.

Many thanks to Simon Cropp, Fody, contributors, and the community!

Introduction to Fody

Icon

Red delete link icon designed by Icons8 and VisualPharm