Results 1 to 4 of 4

Thread: Adding References cannot occur to VB.NET Deseleting the references once added

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2014
    Posts
    12

    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.

  2. #2
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,713

    Re: Adding References cannot occur to VB.NET Deseleting the references once added

    What are the references, standard Microsoft, COM or third party?

  3. #3
    PowerPoster
    Join Date
    Oct 2010
    Posts
    2,141

    Re: Adding References cannot occur to VB.NET Deseleting the references once added

    Quote Originally Posted by williamdor View Post
    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?

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2014
    Posts
    12

    Re: Adding References cannot occur to VB.NET Deseleting the references once added

    Quote Originally Posted by TnTinMN View Post
    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!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width