Why do I get build failed "Can't find project or library" in TFS 2013

Using TFS 2013, VB6, Windows Server 2008R2
Problem: 
While performing a TFS build of a VB6 application, I am receiving an error "Compile error in file c:\builds\clsCommon.cls
Line 122:Can'tfind project or library"
Setup:
I have three projects: two VB6 dll's and one vb.net COM Callable Wrapper (CCW) dll. The first project (VB6)
is called MyBase.dll. When I issue a make from the IDE, it complies and builds the dll. When I perform a build from TFS, again it builds without issue. 
Next, is my .net assembly. Lets just say it complies and I'm able to compile other applications with it as
a reference. In fact, let me state that I can compile my entire suite of applications and they work when I build them from the IDE. The problem is when I build from TFS 
Finally I build the next VB6 project using TFS. This DLL (Called batch) internally references myBase.dll. Inside
my batch project I have a class called clsCommon.cls. At line number 122 inside clsCommon I instantiate an object based on myBase.clsLOGs. Now when I run the TFS build, I get the error that Batch.clsCommon can not find myBase.clsLOGs:
Private g_ErrorLogs AS MyBase.clsLOGs '<---- Line 122 of Batch.clsCommon 
That is the nuts and bolts of it. 
What I have tried:
Compatibility mode is turned off. I tried to set it to Binary Compatibility, but I get an error that I can't
set Compatibility Mode.
All of out DLL's and EXE's are moved into
a common executable folder D:\PEEPS\bin. When we set references in the IDE, we point to D:\PEEPS\bin. In TFS, the builds drop into C:\builds.
IDE Builds drop into D:\PEEPS\bin
Project references look in D:\PEEPS\bin
TFS builds and drops into C:\builds
Why are we doing builds in TFS if makes from the IDE are working?
Also, to circumvent the issue in the past, we simply took the builds from the developers IDE and gave it to
QA for testing. If everything tested ok, QA gave it to production support for implementation. The problem with that solution is our industry regulators do not want developers to give production EXE's and DLL's to QA or Production Support. They have to be able
to perform their own builds and TFS is our code repository.
Thank you in advance for you help.
HaYen
BJK1

SOLVED
Hi John,
Thank you for the reply. 
Solved this yesterday (had some other projects to work on had to shelve this for a while).
There is a
dependency structured path to out compiles:
Project A is
dependency for Project B
Project A and B are required for project C
etc
There are about 10 VB6 projects overall.  What we noticed is that if you tried to open one of the last projects in the chain, sometimes we would get an error stating it could find one or more of the other projects.  The thing is all but one of
these projects were referenced in the (run time) References section of the project and there was no Visual Basic Group so no Project References.  So how were the end projects' finding the initial projects?  I needed to solve this problem to fix my
TFS issue.
The answer was in the vbproj file. Internal to the project file a class file can be provided:
class=someclassname; ..\projectname\classname.cls
Once I removed the lowest level project as a run time reference and added it as a
reference in the project file, my builds worked from the top down.
BJK1

Similar Messages

  • TRIM() not found? Compile error: Can't find project or library in Excel 2007

    I am preparing to make a few alterations to a spreadsheet that another person built.  I have NOT made any changes to it yet.
    They put in a button that allows portions of the worksheet to print.  I am now using Excel 2007.  Their code ran fine in 2003.
    The button had worked in Excel 2003- but now (without any changes) throws an error "Compile Error: Cant find project or library."
    TRIM is highlighted in the following code:  (See below for the whole sub)
    If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
                    If RowCounter > PrintRowMarker Then
                        PrintRowMarker = RowCounter
                    End If
                    If ColumnCounter > PrintColumnMarker Then
                        PrintColumnMarker = ColumnCounter + 1
                    End If
                End If
    I have added in the following references into Excel via the big button in the upper left and the "Excel Options" screens:
    Analysis Toolpak and Analysis Toolpak-VBA.  The sheet "Measurements" is present.
    1)  Are these the right packages for the TRIM function?
    2)  Is there a different Add-in that is needed?
    3)  Is there an additional step I must use to actually add in these packages?
    4)  Is there something else I should do?
    Thanks-
    Loralee
    P.S. Access 2003 finds (it's version of) TRIM fine- so a version is on the machine.  This spreadsheet if failing in the same way on 2 machines- both with Office 2007 installed.
    Private Sub BtnPrint_Click()
        Dim RowStarter  As Integer      'Where to start checking rows for content
        Dim RowCounter  As Integer      'The current row being checked
        Dim ColumnCounter  As Integer   'The current column being checked
        Dim PrintRowMarker  As Long   'The last row with data
        Dim PrintColumnMarker As Long 'The last column with data
        Dim NoMoreData As Boolean       'Look for a blank record
        Dim RangeValue As String        'Define the range string value
        Dim EndRangeValue As String
        PrintColumnMarker = 0
        PrintRowMarker = 0              'Initialize the row printing marker
        RowStarter = 5                  'Print Starting Point
        For RowCounter = 2005 To RowStarter Step -1
            For ColumnCounter = 50 To 2 Step -1
                If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
                    If RowCounter > PrintRowMarker Then
                        PrintRowMarker = RowCounter
                    End If
                    If ColumnCounter > PrintColumnMarker Then
                        PrintColumnMarker = ColumnCounter + 1
                    End If
                End If
            Next ColumnCounter
                If PrintRowMarker > 0 Then
                End If
        Next RowCounter
        EndRangeValue = IndexToString(PrintRowMarker, PrintColumnMarker)
        RangeValue = "$A$1:" & EndRangeValue
        Worksheets("Measurements").PageSetup.PrintArea = RangeValue
        Worksheets("Measurements").PageSetup.PrintGridlines = True      'Turn on gridlines
        Worksheets("Measurements").PrintPreview                         'PRINT THAT PUPPY!
    End Sub

    Appears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA.
    In VBA select menu item Tools - References.
    Ensure that the following are checked:-
    Visual Basic for Applications
    Microsoft Excel 12.0 Object Library
    OLE Automation
    Microsoft Office 12.0 Object Library
    It there are any references displayed as Missing then scroll down to find the equivalent reference and check it and then uncheck the Missing one/s.
    Regards, OssieMac

  • Why do I get "Publish Failed" when I select F4V with fixed frame rate?

    I have created several projects from scratch in Captivate 5. My publishing functionality seems to be increasingly impaired. I have rebooted and uninstalled + reinstalled Captivate 5.
    In the beginning I got this message when I was publishing a specific project with the media option F4V with fixed frame rate, but now I am getting it on all my projects regardless of my publishing selections.
    I am running on Windows 7, and I think it is Windows that is suggesting that I 'debug' the program. Clicking 'Debug' takes me to a dialog box where I can choose between Visual Studio 2005 or Visual Studio 2008, none of which seem to be a good solution.
    Here is a print of my publishing options:

    Chinmay Baid,
    Thank you for your reply - over the past few days I have been able to
    narrow the problem down a little more.
    When working with Captivate 5, I am able to work with and open any
    published file until I turn that file into a Zip file.  Upon unZipping,
    the file becomes unusable by my computer and by my LMS (Cornerstone).
    I am using Adobe Flash Professional CS5 and I am able to run any SWF file
    on my machine if the file has never been zipped.  I am using Captivate 5
    in administrator mode.  Somehow, the zip process is making the files
    unusable, and my LMS requires that files be zipped before they can be
    uploaded.
    Thank you for any advice or help you may be able to offer.
    Daniel Spray
    Instructional Design Specialist
    United Spermarkets, LLC
    806.791.6329
    From:   Chinmay Baid <[email protected]>
    To:     Daniel Spray <[email protected]>
    Date:   03/03/2011 05:09 AM
    Subject:        Why do I get "Publish
    Failed" when I select F4V with fixed frame rate?
    Hi,
    Can you please give the following details :
    Can you please check and tell the Flash player version
    (plugin,activex,standalone) installed on your machine?
    Also, are you able to play the standalone SWF on your machine?
    Did you launch Adobe Captivate 5 in administrator mode?
    Above information might be helpful for further investigation.
    Regards
    Chinmay Baid
    http://blogs.adobe.com/captivate

  • Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Why do I get Publish Failed Error Message when trying to publish a project to SWF. I am using Captivate 6 (32 Bit) Version 6.0.1.240. I have tried clearing the Cache and renaming my Preferences folder

    Try the troubleshooting tips here:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques
    You may have something in your project on one of the slides that is tripping up the publishing process.

  • Why do I need original receipt (can't find) for repair when my tablet is in warranty.

    Why do I need original receipt (can't find) for repair when my tablet is in warranty.

    Hi 33fy,
    Welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines
    You may want to contact Sony Mobile from within your region, they may be able to help with a different alternative. Use the link in my signature to find appropriate contact details.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • I cant access firefox, everytime i try i get that windows can't find the file, i tried redownloading it but it still gave me the same message?

    i cant access firefox, everytime i try i get that windows can't find the file, i tried downloading it again but it still gave me the same message. the problem has nothign to do with my internet because it wonks on internet explorer and everythign is fine, my computer just can't access firefox for some reason. i tried uninstallign ti adn then installing it again, but that didnt work, i tried installing a different version and it still didnt work.
    okay the exact message is" Windows cannot find 'C:\Program Files\Mozilla Forefox 4.0 Beta 1\firefox.exe'. make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search.
    Nothing happens after i install is the "Launch Firefox now" checkbox set, the same message comes up.
    i usually start firefox from the shortcut i have on my desktop but when this happened i thought that the shortcut is the problem, but i went to the Mozilla firefox folder and tried it from there, but it didnt work. i also tried downloading different versions of firefox but that didnt work either.

    can you tell me the solution to "windows cant find firefox" error. thanks.

  • Hi, I want to install my lightroom version on a new mac pro. How do i get started. Can't find it on this site. Thx

    I have a new mac book pro and wan't to install my version of lightroom 5 from my old pc to the new one.
    How can i do that? Can't find it here on the site? Thx
    [email protected]

    Hallo, I installed the program as you said. Everything ok.
    When i have to give my serialnummer, it is not accepted. Code is not valid he said
    1160-4008-7475-7547-5706-0812
    Op 21-sep.-2014, om 17:44 heeft Rikk Flohr <[email protected]> het volgende geschreven:
    Hi, I want to install my lightroom version on a new mac pro. How do i get started. Can't find it on this site. Thx
    created by Rikk Flohr in Photoshop Lightroom - View the full discussion
    www.adobe.com
    Hit the Download link at the bottom the page.
    Hit Lightroom
    Hit Free Trial
    When you are done downloading, launch, and enter your serial number from your previous installation.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6749435#6749435
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Lightroom by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • I frequently get the "Firefox can't find the server" error message.

    I frequently get the "Firefox can't find the server" error message. Refreshing the page normally causes the page to load, although sometimes it takes more than one try.
    I have checked my connection settings. IPv6 and DNS prefetching are disabled, as recommended by this article: https://support.mozilla.com/en-US/kb/Firefox%20cannot%20load%20websites%20but%20other%20programs%20can?s=Firefox+can%27t+find+the+server+at&r=1&as=s

    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.com/kb/Server+not+found
    *https://support.mozilla.com/kb/Firewalls

  • This should go on a Waterfox forum, but can't find one. Waterfox updater is failing, can't find the latest version. The website says the latest version ( 9.0.1) is only available via the uploader. Catch-22

    This should go on a Waterfox forum, but can't find one. Waterfox updater is failing, can't find the latest version. The website says the latest version ( 9.0.1) is only available via the uploader. Catch-22

    http://waterfoxproj.sourceforge.net/news/26/15/Powered-by-Mozilla-Waterfox-9-0-1
    Waterfox has now been accepted as a project by Mozilla and has been placed on their website! '''Waterfox 9.0.1 has also been released, but at the moment is only available through the internal updating program available in Waterfox 9.0. This is to try and iron out any issues for the release of Waterfox.Next.'''
    It is not a official Mozilla product as it is still third-party. http://www.mozilla.org/projects/powered-by.html

  • I created a 2nd library for my husbands music and now I can't find my original library. I did hold down the shift key to open itunes but is still comes up with the new library. What am I doing wrong? I tried several times with no luck. Thank you.

    I just got an Ipod Classic recently and downloaded Itunes. Got my music on my Ipod. My husband just got an Ipod Touch. I followed the directions on how to create a 2nd library and was able to load his music onto his Ipod. My problem is now I can not find my original library. I did what the directions said about holding down the shift key while opening Itunes and it still goes to the 2nd library that I created. How do i get my original library to come up? I tried several times with the same results. Please let me know what I need to do to be able to get into either library. Thank You.

    Does the original library file still exist on the computer?  Hopefully when creating the new library it was done in a seperate folder as I do not believe iTunes allows for two library files in the same location.

  • Weblogic can't find jsf 2 library when installing an ear

    I have an application that includes several ejb 2.0 modules along with a couple of wars and a loose file web application that uses jsf 2.0. I install the jsf library from the Weblogic 10.3.4 console and then install the ear file. During ear file installation I get a message from weblogic saying that it can't find the jsf library referenced in weblogic.xml in the loose file web application. References to the jsf library in weblogic.xml and other configuration locations are correct and complete as far as I can tell. Do I need to make a war out of the loose file web app to make this work?

    Hi,
    If weblogic says that It cannot find the reference libraries which are defined on the weblogic.xml file means it is looking for the shared libraries.
    Try to deploy those .jar files as library instead of application.
    and then deploy your application as war mostly.
    Regards,
    Kal.

  • How can I transfer my stickienotes data to a new computer? I can't find it in Library as I should

    How can I transfer my stickienotes data from my imac to a new macbook air computer? I can't find it in Library as I should.

    You can download CS4 here. Download CS4 products
    Most comments I've seen say CS4 needs to be run in compatibility mode on Win 8.1. Windows 8.1 compatibility for Adobe Photoshop CS4 version 11
    But the only way to know for sure is to try it.

  • I was trying to add an itunes library to my computer, and now my itunes library can not be found. An ipod can be synced with only one iTunes library at a time. How can I find my Itunes library, complete with playlists ?

    I was trying to add an itunes library to my computer, and now my itunes library can not be found. An ipod can be synced with only one iTunes library at a time. How can I find my Itunes library, complete with playlists ?

    I have the same problem too and tried alot of things like time zone , restarting or changing DNS of wifi connection to 8.8.8.8 still nothing happens .. !!
    iPhone 5s, iOS 8.3

  • ITunes can't find my music library. Pleas help!

    I just upgraded my iTunes. Next time I tried opening it a window appeared that read: "Can't find your iTunes Library..."
    I tried searching by opening start/computer/iTunes but the file that has all my music was renamed to: bd4765ae206e5a7a782a28f08509 and when I tried opening it all I found was a list of 4 files that I can't open.
    I know all my music is still there because the file still uses 125 GB in my computer, but I can't seem to run iTunes or I can't seem to point iTunes into finding my music.
    Please anyone help!!!

    If you did not rename that file, then I am a little worried there might be a larger problem looming (malware, etc.). If this is so, then finding the file might not even help.
    I recommend restoring from a backup. If the backup was made before this file changed, then you should be fine.
    If you would like to stick with what you've got, then this Apple Support article should provide you with the instructions you need: http://support.apple.com/kb/HT1391
    Best!

  • Where can i find my iphoto library?

    After recovering my hard disk (erasing everything because of performance issues) and reinstalling everything from Time Machine i can not find my iPhoto library anymore. I know it has to be somewhere because every single thing was copied correctly so i am also assuming iPhoto library would be copied correctly. However i can not find it in finder (it is not in the default location and i know it never was).
    Does somebody know where to look and how to find it?

    Launch iPhoto with the Option key held down and tell us how many libraries are listed in the following window:
    Is there one shown?  If not download and run Find Any File to search for a file with "ThumbJPGSegment" in the file name. There are files common to all versions of  iPhoto libraries with that as part of the file name..
    FAF can search areas that Spotlight can't like invisible folders, system folders and packages. If there's a library hiding somewhere on your hard drive FAF will find it.

Maybe you are looking for

  • Problems w/ r/w discs in iphoto

    I was trying to burn a cd of about 30 iphoto pictures (33.85 mb) this morning to a disc that already had about 59 mb of pics on it. This is a r/w 700 mb disc, but for some reason, I kept getting an error message that the disc was full and could not b

  • Barcode Capacity

    To provide more information on this question, here is a summary of what we are trying to achieve and the problems we are having & questions we have: Background* We have two different forms that we want to capture data using 2D barcodes. * The intenti

  • Contact Phone Number Colour!

    When viewing a text message, at the very top you have two options you can select, either 'Call' or 'Contact Info'. If you select 'Contact Info' and look at the phone numbers for this contact, one of them is shown in the colour blue. Does anyone know

  • I purchased an I pad giving my macbook to my husband.  His photo stream doesn't work but mine still goes onto macbook .  How can I stop that ?

    I purchased an I pad giving my macbook to my husband.  His photo stream doesn't work but mine still goes onto macbook .  How can I stop that ?

  • Background jobs in ADF

    Hello, I'm developing my first ADF application, it's an announcements system. I need to have several background tasks that startup with the application and run code exposed in an Application Module Client Interface. For instance, one to work through