Terje Sandstrom edited this page Jun 18, 2014 · 6 revisions

Welcome to the IFix wiki!

This program fixes some annoying issues.
Run the installer, and it adds itself to the system path. It is a command line utility. Download binary installer from http://visualstudiogallery.msdn.microsoft.com/b8ba97b0-bb89-4c21-a1e2-53ef335fd9cb

  1. nugetrestore: Fixes the "results" of enabling nuget restore from the solution context menu. This enabling is not needed any more after version 2.7 and its automatic restore, and it just gets in the way and messes up your project files. Since no "disable OLD nuget restore" exist, use IFix instead.

Syntax: IFix nugetrestore --check

This checks the current folder and all subfolders if you got any issues. It checks for four issues, and you should be green on all of them. If not, run

IFix nugetrestore --fix

This fixes up the issues. (Note: If you use TFS with a server workspace (or similar system), you might need to check out the files first.)

See this blogpost for more information on the nugetrestore command: http://geekswithblogs.net/terje/archive/2014/06/11/converting-projects-to-use-automatic-nuget-restore.aspx

  1. gitignore: You don't want binaries in your git repository. This command fixes your gitignore file so it excludes the packages folder. It can also compare against the online version of the visual studio gitignore file, which most probably is different from the one you have installed with Visual Studio.

See this blogpost for more information on the gitignore command: http://geekswithblogs.net/terje/archive/2014/06/13/fixing-up-visual-studiorsquos-gitignore--using-ifix.aspx

  1. CA0053: This fixes an issue coming from VS/TFS 2010 solutions when running static code analysis, which gives out a CA0053 error. The command has been included in the IFix tool, but is otherwise the same as described in http://geekswithblogs.net/terje/archive/2012/08/18/how-to-fix-the-ca0053-error-in-code-analysis-in.aspx and downloadable from the VS Gallery here http://visualstudiogallery.msdn.microsoft.com/471da13b-d415-4a44-a4e9-a8222316b902
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.