The IFix tool ensures your gitignore file is up to date, creates skeleton solution files, clears your mef cache, clears your vstest cache, checks nuget consolidation across multiple solutions, enables/disables userdumps and fuslogs, fixes the ill effects of the old nuget restore and fixes potential CA0053 errors. Version 2.1 Fix for Windows SSL/TSL issue when running the gitignore command Version 2.0 Added options for clearing the vstest extension cache, enabling and disabling miscellaneous diagnostics options, including userdumps and fuslogviews. See blogpost http://hermit.no/managing-userdumps-using-ifix/ Version 1.8: Added new option "nugetconsolidate" which checks for consolidation of nuget packages across multiple solutions. Version 1.7: Added new option "createsln" which creates a skeleton solution containing the git files, a readme.me and a runsettings file. See this blogpost for details. Also added support for VS 15 preview to the "mefcache" option. Version 1.6: Added new option "mefcache" which deletes the Visual Studio mef cache. This fixes issues when Loading Visual Studio components fails. See thisblogpost for details. Version 1.5: Updated for VS 2015 U1, Gitignore: bower components no longer reported as missing as they were removed from standard gitignore. Version 1.4: Nugetrestore: Added fix for nuget's solutiondir in csproj files. Seehttps://nuget.codeplex.com/workitem/3701 Gitignore: Added -s for strict mode, which makes the packages pattern compatible with 1.9.5 too. Can be added to both -c -f Version 1.2: Support for VB.net. Supports gitignore for VS2015. Improved/smarter fixing of gitignore. Links to info pages added. Run the installer, and it adds itself to the system path. It is a command line utility.
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 blogpost here for more information on using IFix nugetrestore:
If there is an gitignore file present without the packages element, it will be added. If the whole gitignore is missing, it will download the latest visual studio gitignore file. Syntax: IFix gitignore --check and IFix gitignore --fix
V1.2: Added -s / --strict option. Ensure you use the best practice patterns. -l /--latest option: Default false, as Windows Git is 1.9.4 and need a different syntax than the latest which currently is 2.1.3 See blogpost here for more information on using IFix gitignore.
Syntax: IFix CA0053 --check or --fix The code is open sourced, and issues can also be reported on the same site. |