Update 8/1/2014: Visual studio extension is published at Visual Studio Gallery
Update 8/2/2014: Visual studio console is published at Visual Studio Gallery
Resolves project references for a Visual Studio Solution by removing unused references in each project of the solution.
This is done by removing a reference in a project, building project for errors and restoring removed reference if there were build errors.
Tested for few project types including console, windows, unit test and website project types.
Checks for MSBuild on local system in predetermined paths specified in app.config. In console app, platform to build against can be specified.
With just path, looks for x64 .net v4.0 msbuild, then x64 v3.5, x64 v2.0, x86 v4.0, x86 v3.5, x86 v2.0 Note: Path or platform arguments are without brackets
ResolveUR.exe [Path of solution file]
If nuget packages are also to be resolved, add true/false next to path
ResolveUR.exe [Path of solution file] [true/false]
With platform also specified, x86 for example looks only x86 .net msbuild versions, highest first
ResolveUR.exe [Path of solution file] [true/false] [platform]
- 8/23/2014 - v2.2 - Make package solution optional since getting it right is much more involved, better left to developer discretion at this point. Plan to add a package developer edited exclusion list in future.
- 8/22/2014 - v2.1 - fixed regression bug. Resolution continued in spit of build errors
- 8/15/2014 - v2.0 - Remove nuget package references as well as folders. v2.0
- 8/5/2014 - v1.3 - Fixed couple of bugs and permissions issue
- 8/2/2014 - Added setup project to install console app
- 8/1/2014 - v1.0 - VSIX project added and extension published