-
Notifications
You must be signed in to change notification settings - Fork 3
Reference Path Manager doesn't see projects in Solution Folders #3
Comments
Fixed it with the help of this post: http://www.wwwlicious.com/2011/03/29/envdte-getting-all-projects-html/ and the comments by Johannes In OnLoad, I changed loading projects as follows: foreach (Project proj in GetAllProjects(applicationObject.Solution)) and I added the following two methods:
I'd create a pull request if I could but for some reason it's not working today. |
Imar - I've just attempted to apply the solution you mentioned. I've been able to test it locally by simply replacing the installed 'ReferencePathManager.dll'. I've attempted to push this up and since not working with GitHub before, hope I've done everything correctly. |
Cool thanks. I can see your fork on your user profile in Github. Now fingers crossed that @juanevp will merge this into the main code base and deployed package. |
Imar - I've attached the newly built DLL. Simply replace the current one installed on your computer and the functionality is there. Yesterday:
When I replaced the ReferencePathManager.dll in the first location, I don't remember anything appearing to change; meaning, the sub-projects didn't appear, nor did the changes made using the cursor to indicate something is running. However, I don't remember if I restarted VS2017 or not. But, I know when I replaced the dll in the second location, the extension worked as expected. As for the second location, I noticed a lot of different folders. I made the assumption there could be another location where it was stored and believe the reason there is, is because of applying Visual Studio updates. So I've left both changes in and am thinking Visual Studio "might" go back to either the original or previous locations to copy over extensions when updates are applied. Today: I have a little more investigating on this. I'm not sure if it's because I have the "Automatically update this extension" checked. But I thought my changes had to be merged and/or approved before doing so. Google Search: Download: |
If you build your (updated) project you get a vsix file. You can run that to install your version into VS,. That works well, but of course you won't be able to update from the online version anymore (but that's not a real issue as there weren't any updates recently anyway ;-) ) |
Oh man ... can't believe I missed that. I knew it didn't feel right to do all I did above and I was looking for the installer too. Sometimes I simply can't see the trees through the forest ... UGH Regardless, thanks for pointing that out nicely ... have a great day ;-) |
This change was included as version 1.1. Thanks for the enhancement. |
Only projects directly in the root of the Solution Explorer are seen; projects in Solution Folders are ignored. Steps to reproduce:
Expected outcome:
Actual outcome
The text was updated successfully, but these errors were encountered: