Adding References cannot occur to VB.NET Deseleting the references once added
I've obviously overlooked something in my project rebuilding. I had to port my VB.NET 2013 Express project to another PC and so I'm am reconstructing the environment. I've been fighting getting the references to not be deselected. Every time I go back into the Project -> Add Reference -> Assemblies -> Extensions screen I check the components I need and click OK to save my selections. When I reopen the screen, the components are no longer checked. I appear to be getting rejected, but I don't know why.
I tried what I thought was the equivalent thing by using the Solution Explorer to select from the References and note that the components I need have their warning signs active. I tried adding them from their individual Properties screens by trying to change their Copy Local from False to True, since I thought that had worked before. Each component is specified as to their directory when looking at the References screen. The Path arguments are all blank for this level of individual property screen and I am not allowed to make a path selection.
I added the path of one of the component's directories to the Project Properties -> References -> Reference Paths. This did not help in finding the components in that directory either.
Admittedly, I have not done this very often and so I keep fumbling through until I get the references recognized, but time I've spent a lot of time looking at articles that discuss the activity. I've not found the one that I need.
Re: Adding References cannot occur to VB.NET Deseleting the references once added
What are the references, standard Microsoft, COM or third party?
Re: Adding References cannot occur to VB.NET Deseleting the references once added
Quote:
Originally Posted by
williamdor
I've obviously overlooked something in my project rebuilding. I had to port my VB.NET 2013 Express project to another PC and so I'm am reconstructing the environment. I've been fighting getting the references to not be deselected. Every time I go back into the Project -> Add Reference -> Assemblies -> Extensions screen I check the components I need and click OK to save my selections. When I reopen the screen, the components are no longer checked. I appear to be getting rejected, but I don't know why.
I tried what I thought was the equivalent thing by using the Solution Explorer to select from the References and note that the components I need have their warning signs active. ...
Have you tried first deleting the references in the Solution Explorer that have the warning icon before you try to add the reference again?
Re: Adding References cannot occur to VB.NET Deseleting the references once added
Quote:
Originally Posted by
TnTinMN
Have you tried first deleting the references in the Solution Explorer that have the warning icon before you try to add the reference again?
That did it! That should have occurred to me as I've had to do it before with Microsoft development tools.
Problem solved! Thank you very much!