I have used project upgrade utility for upgrading my solution (10 projects, 200 references over all). I use team foundation server and I have copied all assemblies into a folder under the project solution root. Running the project upgrade utility with specific folder, alle projects are updated but the <HintPath> in the project files contains the full path including drive letter.
How I can force that relative path are saved to the project files?
If do so manually for a reference, <HintPath> is saved relative:
Thanky you for any help.
As far as I know, there's no way to do this. I recommend submitting it as a product idea.You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Remember when submitting your idea to explain the context in which a feature would be used and why it is needed, as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.
Thank you in advance for submitting your product idea.
Mike BSoftware Developer
for me the "solution" I have found is to add all Infragistics references ONCE manually. After that for further upgrades using the upgrade utility NEVER FORGET TO UNMARK the "modify hint path" option under custom options. This seems to be working.
BUG: If I choose my custom assembly path via the browse button and edit this to a relative path, this is ignored by the upgrade utility. If I do so, the utility sets the hint path to the infragistics install folder. Furthermore, the <specificVersion>-option is set to FALSE. As I understand this option so far, for infragistics assemblies, it should remain on the default value TRUE.
But I guess this is more a bug than a product idea.
The upgrade utility doesn't currently support setting HintPaths to relative paths. If you want such a feature to be added in the future, please consider submitting a product idea.
I'm not sure why SpecificVersion is set to false. Our guess is that VS sees that the assembly is in the GAC and sets SpecificVersion based on that.