Results 1 to 3 of 3

Thread: VS 2010 Fragile References (when making a template)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2012
    Posts
    118

    VS 2010 Fragile References (when making a template)

    Hi all,

    Windows 7, IDE set up for x86 32 bit development.

    the IDE is losing it's mind a little... the path to a needed library seems to break when saving a project as a template.

    The problem is seen when creating a new project from the template. The project throws an error, unable to find the library.

    When trying to reestablish the path (which works prior to creating the template), I used the add path and reference paths tools on the references tab to navigate the path to the library.

    Part way down the path, one of the directories simply was not there.

    I went to file explorer, and sure enough... it was there, and I navigated it easily... but not in the VS2010 express.

    As I continued to struggle with it, I did something to correct it, but I'm not sure what did the trick. Suddenly the directory was there... and done.

    The problem is, the template still has this problem...

    Has anyone ever seen this kind of fragility in a path like this?

    Suggestions?

    Thanks so much.
    Last edited by RyderS; Jul 18th, 2012 at 12:24 PM. Reason: OS specs

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: VS 2010 Fragile References (when making a template)

    Ahhh... the appearing/disappearing directories...
    By default projects only show files & directories that are actually included in the project. In the Solution/Project explorer, select the Project node... then in the tool bar of the explorer (not the IDE itself) ... there is a button marked "Show All Files" ... click... it will then show all files and directories that are fouind in the folder, whether they are included in the project or not.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2012
    Posts
    118

    Re: VS 2010 Fragile References (when making a template)

    Ahh, thank you... though it didn't seem to affect the issue.

    But the good news is... I *think* I am starting to see what's happening. When the original project was exported as a template, it seems to have forgotten the Active Solution Platform!

    Is this a normal behavior?

    How do I force the template to remember the platform?

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