Fix MSBuild error = Could not find .datasource file

Hi,
I have a VS2010 solution that I opened in VS2013 and followed the automatic conversion process.  After that I edited the TFS build process template to remove the extraneous references to Version=10.0.0.0 which were duplicated due to a VS2010 bug (I
found a blog by an MS employee that pointed to this issue).  The solution builds fine from my VS2013 but when I submit it to TFS build server using the modified build process template, I get an error (please see attached) referring to missing .datasource
file for one of the WCF projects.
What could I do in terms of possible adding build parameters to the MSBuild or changes to the WCF project to remove this error?
Thanks
$/E2E/Root Controller/Main Branch/OATI.E2E.WebService.sln - 1 error(s), 218 warning(s)
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets (178): Unable to copy file "Service References\GridPortInfoService\WcfServiceE2E.GridPortInfoService.HardwareInfoResponse.datasource" to
"D:\Builds\8\132\Binaries\WcfServiceE2E\_PublishedWebsites\WcfServiceE2E\Service References\GridPortInfoService\WcfServiceE2E.GridPortInfoService.HardwareInfoResponse.datasource". Could not find file 'Service References\GridPortInfoService\WcfServiceE2E.GridPortInfoService.HardwareInfoResponse.datasource'.

Hi LongD, 
Thanks for your post.
What’s the version of your TFS, TFS 2010 or TFS 2013?
You want convert your VS 2010 solution to VS 2013 version, and built it using TFS 2013 Build?
On your current build agent machine, try to manually build your converted solution using VS 2013 and MSBuild command separately, ensure you can manually build your solution on build agent machine successfully. If cannot manually build on build agent machine,
please resolve this manually build issue first.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Error: Could not find the file "flash.ocx"

    I have been receiving the error COULD NOT FIND THE FILE
    "FLASH.OCX" for the past couple of months - I have been watching
    the message boards and have seen a lot of "fixes" and beta's come
    up errors (not sure that it's this exact error though).
    I get this error continuously throughout the day - no matter
    if I have nothing running on my computer or I have 10 things open.
    This morning it occurred to me that my screen saver is not coming
    on and it seems to me that the above errror is popping up everytime
    my screen saver should start. I HAVE TIMED THIS TODAY AND CHANGED
    HOW LONG BEFORE MY SCREEN SAVER STARTS - AND IT IS DEFINITELY
    GETTING THE ERROR EVERYTIME THE SCREEN SAVER IS TRYING TO START.
    Last week, I deleted the version of Flash that I had and then
    re-installed; still getting the error.
    I was getting the error when I had IE6 so I thought maybe
    switching to IE7 would correct it - but it didn't (that was a few
    weeks ago).
    My computer does not freeze up but it is SOOO annoying to
    continually throughout the day get this error.
    IE7.0
    ADOBE 9,0,28,0
    WINDOWS XP - SP2
    PLEASE HELP!

    Ah-ah! The workaround is to map my network folder to a drive, say... M:\
    So, when I select Edit->Edit in Audition->Sequence, I can select the Browse button to alter the Path destination. Instead of seeing '\\Zeus\Projects\...', I select the mapped M: drive so the path reads 'M:\Projects\...' instead.
    Then, Audition loads and is able to find the sequence or clip.
    So... that solves my problem!

  • Policytool give me error Could not find Policy File ....\.java.pol

    hi master
    error Could not find Policy File: C:\Documents and Settings\Administrator\.java.policy
    Sir when I open policytool the system give me this error
    And I use http://www.jensign.com/JavaScience/www/keystorereader/index.html this link
    For Keystore, Policy and Security File Reader
    that give me this message
    ------ Default Policy File and Keystore Status ------
    java.home C:\PROGRA~1\Java\JRE15~1.0_1
    C:\PROGRA~1\Java\JRE15~1.0_1\lib\security found.
    user.home C:\Documents and Settings\Administrator
    C:\Documents and Settings\Administrator\.java.policy NOT found.
    C:\Documents and Settings\Administrator\.keystore NOT found.
    How set user home and keystor please give me idea
    thank
    aamir

    I know this is a relatively old post, but some people can stumble on this page when doing a search for this problem.
    Anyway, I ran into this on my PC after I installed Sybase which had an older jre.
    Solution:
    1. Run regedit
    2. Look for Java Runtime Environment
    You may have to do multiple searches. Eventually you'll find one with the version number.
    3. Modify the value and change it to the correct version number. (in your case, you would have changed it from 1.4 to 1.6).
    This is much quicker than reinstalling Java every time installing something that uses an older version of Java hoses up the registry value.

  • Javah error: could not find class file for 'com.ntv.ndkjni'

    Hi,
    My project directory  : C:\ndkJNI
    My java file directory : C:\ndkJNI\src\com\ntv\ndkjni
    My package name    : com.ntv.ndkjni
    1 ) I entry command prompt at C:\ndkJNI\src\com\ntv\ndkjni
    2 ) Javac test.java and create test.class succesfully. test.class is in  C:\ndkJNI\src\com\ntv\ndkjni folder.
    3 ) Later I used Javah, try below javah variously
         a)  javah -classpath C:\ndkJNI\src\com\ntv\ndkjni test
         b)  javah -classpath C:\ndkJNI\src\com\ntv\ndkjni.test
         x) javah -classpath C:\ndkJNI\src\com\ntv\ndkjni com.ntv.ndkjni.test
         y) javah -classpath C:\ndkJNI\src\com\ntv\ndkjni com.ntv.ndkjni test
         c)  javah -classpath C:\ndkJNI\src\com\ntv\ndkjni com.ntv.ndkjni.test
         d)  javah  com.ntv.ndkjni.test
         e) javah  com.ntv.ndkjni test
         f) javah  com.ntv.ndkjni test.class-> (error: exception in a thread illegal argument exception)
    I am searching  for 5 day. I couldnt find solution. I try different computer. I tried ubuntu and win8, the error still with me.
    Thats interesting when I delete the package com.ntv.ndkjni; from java file,  then create class file again with javac then javah can create header file succesfully.
    Please help me.
    *****************************test.java**************************
    package com.ntv.ndkjni;
    public class test {
      static
      System.loadLibrary("hello");
        public static native int toplama(int sayi1,int sayi2);

    javah takes a fully qualified class name so in your case that would be
    com.ntv.ndkjni.test
    As with all things related to java the class path is used to resolve the class based on the fully qualified name.  The name resolves STARTING at the path and then attempts to find the class BELOW the classpath by resolving the name.
    Because of that your class path should be the following
    C:\ndkJNI\src

  • Error: Could not find file for old Adobe Reader Bundle

    We are running Zenworks 11.2.3a (just upgraded to this version last week) on a linux server. Today, I received calls from a number of users, their computers were displaying the following error message:
    Could not find the file "/var/opt/novell/zenworks/content-repo/tmp/zpm/plp//windows/x86/en/E8833D51-5176-4B73-B6D2-A47603C3270D.plp" to install.
    They are getting this pop-up message 2 times every time Zenworks refreshes.
    I tried to find this file on the Zenworks server but the directory does not exist on the server. In fact, I can only navigate as far as /var/opt/novell/zenworks/content-repo/tmp/zpm - there is only one folder in this directory named dauzip.
    Here is the error message from the zmd-messages.log on one of the workstations:
    [GenericActions.FileCouldNotBeFound] [Could not find the file "/var/opt/novell/zenworks/content-repo/tmp/zpm/plp//windows/x86/en/E8833D51-5176-4B73-B6D2-A47603C3270D.plp" to install.] [] [fd868047b8dda3fab8f372c803a2a4f3]
    Any idea what's causing this error or how to fix it?

    No idea what is causing this.
    To fix, maybe just delete the bundle and create a new one ?

  • Error: "Could not find the main class: Files\NetBeans"

    I am working on a WorldWind mapping application but I think this issue is more of a straight Java question. I was attempting to add a web service reference by means of the NetBeans IDE. The reference compiled as it should have but then the application would not run. I deleted the reference, commented out all the code that used the web reference, basically restored all the code to how it was before trying to add the web service. The applicaiton still will not run with the message that it can't find the main class. I do, however, get a clean build. What should I do to fix this?
    Here is the error: "Could not find the main class: Files\NetBeans"
    thanks!

    nigel25840 wrote:
    I am working on a WorldWind mapping application but I think this issue is more of a straight Java question. I was attempting to add a web service reference by means of the NetBeans IDE. The reference compiled as it should have but then the application would not run. I deleted the reference, commented out all the code that used the web reference, basically restored all the code to how it was before trying to add the web service. The applicaiton still will not run with the message that it can't find the main class. I do, however, get a clean build. What should I do to fix this?
    Here is the error: "Could not find the main class: Files\NetBeans"
    thanks!Sounds like something (a .cmd file or .bat file, perhaps) is set up to launch NetBeans with a command line like this:
    java -classpath ... c:\Program Files\NetBeans ...
    So since the path has embedded space(s) in it, it thinks you are wanting to run a class named "Files\NetBeans", which does not exist.
    You need someone there who knows what they are doing to look into it for you.

  • Error could not find file/pathurl for id file::QTMRead

    Hi,
    I'm very puzzled as to this error I have gotten on multiple projects when trying to check back out.
    Error could not find file/pathurl for id file::QTMRead
    I'm halfway through a project with a deadline of next week, and have been using edit proxies, so am just worried about being able to export the final project if the Server cannot find the file.
    It seems to get this error after a glitchy upload where the server locks up and I have to force quit. Has anyone had this message before/have any ideas how to solve it?
    Some speedy help would be very much appreciated.
    Thanks,
    Dania

    You need to make sure that you imported the Reports.xml file into the FDM application. Also, you will want to login to the application using the workbench client and click on the Reports tab and expand the English > Check Reports and right-click on the check report and choose "Set as Validation Report".

  • Jar file error: could not find main class. program will exit

    I have created a jar file using following command
    jar cfm MyProj.jar Manifest.txt richa\*.class
    and I have included main class header in the Manifest.txt. The executable jar file is created but when I double click on it, it prompts an error Could not find the main class. program will exit.
    Please help. Its urgent..
    Thanks in advance

    This simply state that jvm was unable to fine Main Class file.
    I hope you have configured manifest file including your main file information and class path used by the project with proper package hierarchy,
    as described in article
    [https://java.sun.com/docs/books/tutorial/deployment/jar|https://java.sun.com/docs/books/tutorial/deployment/jar]
    Edited by: Deepesh on Jul 13, 2008 4:58 AM

  • Could not find language file error message

    I connected without problems to the login screen last night, but when I tried to log in to a session on my computer, I got this message:
    Could not find language file https://arkadinoneplace-ah.adobeconnect.com/common/meetingAS3/lang/breezeopenmeetingstring s-en.xml --- https://arkadinoneplace-ah.adobeconnect.com/common/meetingAS3/launcher/launcher.swf
    I could connect and login on 2 other computers in the house, so didn't miss the session, but want to be able to use my computer in future. The session was in English and my set language is English (Australia), as the meeting room and I are both in Sydney.
    Any ideas on what is wrong with my computer settings? I am using Windows 7. I checked that the Explorer settings are the same in the computers that worked.

    We had the same problem with one user, here is the article she followed to fix the problem. http://support.mozilla.org/en-US/kb/flash-113-doesnt-load-video-firefox?s=video+doesn%27t+ work+in+firefox&r=0&e=es&as=s Might not be the same scenario for you but thought it might be of help.

  • Post 10.3: Could not find the file "hw.kb" to install.

    I'm getting this error on my 10.3 clients.
    "Could not find the file "hw.kb" to install"
    I think this is the April PRU...I have applied the post 10.3 fix and this is still not working :/
    Full Message:
    GenericActions.FileCouldNotBeFound{hw.kb}
    Message ID: GenericActions.FileCouldNotBeFound
    Related Objects: /System/System Bundles/102d38812c9437a05ee01e8bc93369f0

    This was not related to the 10.3 update, atleast not directly.
    I deleted the April PRU in system updates, checked for updates, and reapplied.
    This solved my issue.

  • Error: Could not find a JVM

    Hello Great and Powerful answerer of questions.
    I am trying to learn Java. I have Win98.
    I have the program called JCreator. When I complile a .java file into a .class file it works fine.
    However, when I try to do the same under DOS I get:
    Error: Could not find a JVM
    Does anyone know what I can do to make both work?
    It used to work under DOS without the error.
    Thanks so very much for any solution!
    I have scoured the internet and can't find the solution to this problem.
    Did my JCreator program steal the JVM? Can I fix this?

    Thanks for your quick reply:
    I just re-installed the jsdk and re-booted.
    I then went to DOS prompt and converted the .java file to the .class file.
    But when I went: java Ellsworth and hit return it said again: Error: Could not find a JVM.
    I know I have a JVM in the root C:\Program Files\JavaSoft\JRE\1.3.0_01\bin\java.exe
    Actually I don't know if the java.exe is the JVM or where the heck it is located!
    Right now I'm downloading Download Java(TM) 2 Runtime Environment, Standard Edition 1.3.1_02
    which has the JVM in it. Do you think this is the way to go?

  • Error: could not find source for resource bundle charts

    I am trying to upgrade from Flex SDk 3.4 to 3.5.
    I have copied the Data Visualisation SWCs under libs, locale and rlsls folders as suggested by adobe.
    I get the following error when building the application
    flex-library:
         [java] Loading configuration file /usr/local/lib/flex_sdk/3.5.0/frameworks/flex-config.xml
         [java] Error: could not find source for resource bundle charts.
         [java]
    What am I missing? Any help is highly appreciated.
    Thanks

    Copying
    /Software/FB\ Eclipse\ Plugin/Adobe\ Flex\ Builder\ 3\ Plug-in/sdks/2.0.1/frameworks/locale/en_US/charts_rb.swc into
    the 3.5 SDK directory
    /usr/local/lib/flex_sdk/3.5.0/frameworks/locale/en_US
    solves the problem.
    Not sure why as the charts_rb.swc comes from Flex 2.0

  • Could not find the file "flash.ocx"

    I have Windows XP and the latest version of Flash but keep
    getting a error message popping up saying - Could not find the file
    "flash.ocx"
    Does anyone know how i can sort out this problem!
    Thanks!

    Salutations rajmak2000, tu nous disais :
    > I have Windows XP and the latest version of Flash but
    keep getting a
    > error message popping up saying - Could not find the
    file "flash.ocx"
    Hi !
    If you've got the latest version of flash, the message should
    says
    something like "could not find the file flash8b.ocx" instead
    of
    "flash.ocx" (who is, it seems, flash 7.0).
    I suspect, once again, that registry rights are broken.
    Try this script :
    http://docxp.mvps.org/b1n/FlashRepair.exe
    Bye
    ~Jean-Marc~
    http://docxp.mvps.org
    http://msmvps.com/blogs/docxp/

  • Server error:Could not find a client that is able to launch the selection.

    server error
    Hi all,
    When i try to run jsp file on server, RAD prompt me this error: Could not find a client that is able to launch the selection.
    Please help,
    thanks

    Hi
    A question. The deploy is right?
    thank you

  • Error: Could not find compiled resource bundle 'components' for locale 'en_US'

    We are porting a fairly large body of Flex3 code developed under FlexBuilder 3 to Flex4 under FlashBuilder 4.  Most of the conversion appears to be working fine, with one exception.  When I launch the Flex4 version, all my data interchanges with the server works.  Just as it is about to show the UI, the following error occurs:
         Error: Could not find compiled resource bundle 'components' for locale 'en_US'
    I am actually using a locale of fr_FR, but I assume it couldn't find that, reverted to en_US, failed again and then barfed.  If I look in
         ~Adobe Flash Builder 4\sdks\4.0.0\frameworks\locale\fr_FR
    I see a lot of swc files, and of course no 'components.swc'.  I believe the problem is that our Flex3 code is using mx components, and the compatibility mode is not properly handling it for some reason.  I think this is mostly from our in-house UI library.  The properties for that library (and for my main app I am testing now) have:
         - Use default SDK (currently "Flex 4.0")
         - Use Flex 3 compability mode
         - Use minimum version (Flash Player) required by the Flex SDK
         - Enable strict type checking
         - Enable warnings
    I also tried putting the compatibility flag in the mxmlc compile line, with no change in behavior.  This project is built by the following script:
    ruby scripts/concat_properties.rb -o resources.properties ^
         src/main/flex/locale/fr_common/res_myname_fr_common.properties ^
         src/main/flex/locale/fr_common/scout/res_myname_scout_fr_common.properties ^
         src/main/flex/locale/fr_fr/res_myname_fr_fr.properties ^
         ../../scout/common/src/locale/fr_common/mypals/resources.properties
    mxmlc -locale=fr_FR -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    copy src\main\resources\bundles\mypals\fr_fr_resources.swf ^
         bin-debug\bundles\mypals
    What have I missed???

    You have two posts. I will try to answer each completely.  Second one first. You say I should change my build to include the framework resources.  I am afraid I am not sure which and what to do there.  We combine all our properties file into one large one, then use the following build line:
    mxmlc -locale=fr_FR,en_US -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    I am assuming you are telling me to change the "-include-resource-bundles" line, but what to add?  The "sdks\4.0.0\frameworks\locale\en_US" holds 13 swf files.  I tried adding that entire folder (along with the fr_FR folder) to the project library path (in the project properties dialog), but that made no change.  I also tried reverting the library path tab back to "MX Only" instead of "MX + Spark", but again no change.
    ====================
    For your first message, I did a search for 'spark' in the entire project.  It only existed on 3 lines, each at the start of css files:
        @namespace s "library://ns.adobe.com/flex/spark";
    I had put those in based on reading needed changes to naming in CSS.  Since I was not actually using any spark ('s') components yet, I removed these lines.  The entire project now does not have the word 'spark' anywhere in it. No change in behavior (as I expected).
    I did a search for "s:" throughout the project.  That does exist in probably 100 places, but all are legitimate. Things like (xmlns:mx="http://www.adobe.com/2006/mxml") or variable names ("var matches:Object").  No reference to any s: object.  (While on the topic, why does FlashBuilder still not have a "whole word" box to limit searches??).
    Note that when I first reported this problem, the compiler was set to ONLY support fr_FR.  In fighting this, I changed it to "en_US,fr_FR" hoping that would tell the compiler to load whatever en_US items it was looking for.  We really do not want any English support in this version. (We do have another SWF created with only support for en_US, and another for en_UK, etc.  Each language is a separate node on our server, so there is no need to mix & match at runtime)
    The console shows a lot of swf loads that I do not understand...
    The console output shows (my comments after ==> indicator)
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 2,229,992 bytes after decompression
                 ==> our locale is set here, after the above load and before the next line
    Look for name file at: ./data/fr_fr/names.csv
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 21,200 bytes after decompression
    Loaded 2278 names.       ==> indicates successful load of data retrieved from server
    Loaded 154 bad words     ==> our second data set has been retrieved and loaded
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 58,777 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 322,606 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\bundles\mypals\fr_fr_resources.swf - 595,025 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
        ==> not sure what this next warning means.  I'm guessing I will later have to research it and return to 'secure' comm with server, but I'm ignoring for now
    Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
    Resource bundle loaded for locale fr_fr  ==> at this point, we appear to have our French assets loaded successfully
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 1,303,976 bytes after decompression
    [Unload SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf  ==> some runs see this, but others do not. I expect it is a timing issue of whether it is reached or not before the crash
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 794,898 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 194,635 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 261,589 bytes after decompression
    ==> everything looks fine up to here.  This is then when the third call to installCompiledResourceBundles occurs
    Error: Could not find compiled resource bundle 'components' for locale 'en_US'.
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[E:\dev\4.0.0\frameworks \projects\framework\src\mx\resources\ResourceManagerImpl.as:340]
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[E:\dev\4.0.0\framework s\projects\framework\src\mx\resources\ResourceManagerImpl.as:269]
        at mx.core::FlexModuleFactory/installCompiledResourceBundles()
        at mx.core::FlexModuleFactory/docFrameHandler()
        at mx.core::FlexModuleFactory/docFrameListener()

Maybe you are looking for