Samples not compiling!

19 posts, 0 answers
  1. Kristoffer
    Kristoffer avatar
    2 posts
    Member since:
    Nov 2012

    Posted 02 Nov 2012 Link to this post

    I just installed RadControls for Windows Phone 8 and then compiled and ran the samples. It worked once, but since then Visual Studio 2012 gives me the following errors:

    Error 11 Could not copy "obj\Debug\Telerik.QSF.WP.dll" to "Bin\Debug\Telerik.QSF.WP.dll". Exceeded retry count of 10. Failed. QSF_WP
    Error 12 Unable to copy file "obj\Debug\Telerik.QSF.WP.dll" to "Bin\Debug\Telerik.QSF.WP.dll". The process cannot access the file 'Bin\Debug\Telerik.QSF.WP.dll' because it is being used by another process. QSF_WP
    Error 23 Could not copy "obj\Debug\Telerik.Examples.WP.dll" to "Bin\Debug\Telerik.Examples.WP.dll". Exceeded retry count of 10. Failed. Examples_WP
    Error 24 Unable to copy file "obj\Debug\Telerik.Examples.WP.dll" to "Bin\Debug\Telerik.Examples.WP.dll". The process cannot access the file 'Bin\Debug\Telerik.Examples.WP.dll' because it is being used by another process. Examples_WP


    Running Windows 8 64-bit and Visual Studio 2012. I've restarted the computer multiple times and also tried running Visual Studio elevated. Still the same error...
  2. Ralf
    Ralf avatar
    23 posts
    Member since:
    Oct 2012

    Posted 04 Nov 2012 Link to this post

    Seems that a process (active debug session( is still accessing the files. Please check if every emulator is closed and every VS2012 is NOT in debug mode (in VS2012 you keep in debug mode until you explicit stop it / even if you exited your app).
  3. DevCraft banner
  4. Kristoffer
    Kristoffer avatar
    30 posts
    Member since:
    Oct 2012

    Posted 05 Nov 2012 Link to this post

    Thanks for the advice. However, I still don't understand how this error can persist between reboots.
  5. Michael
    Michael avatar
    6 posts
    Member since:
    Feb 2011

    Posted 01 Dec 2012 Link to this post

    I run into this problem on a regular basis. Exiting from all instances of VS and all emulator instances does not fix the problem. Neither does restarting the computer nor does running the repair utility from the Telerik control panel. The only thing that I've found that can fix the problem is to uninstall the Telerik WP8 tools and re install them. That, as you can imagine is a real pain.

    Michael
  6. Michael
    Michael avatar
    6 posts
    Member since:
    Feb 2011

    Posted 01 Dec 2012 Link to this post

    Update: Uninstalling and reinstalling no longer fixes the problem. Neither does manually deleting the errant .dll files fix the problem.

    The demo app is now dead in the water, with no way to run it.

    Michael
  7. Kristoffer
    Kristoffer avatar
    30 posts
    Member since:
    Oct 2012

    Posted 03 Dec 2012 Link to this post

    Unfortunately, this issue makes the library unusable. So I stopped using it until further notice. Will buy the package once this is fixed, no doubt.

    Telerik, I missed your promotion due to this. I believe you should fix the problem and then extend your November discount.

    Thanks.
  8. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 03 Dec 2012 Link to this post

    Hi all,

    Having these issues with VS2012 should not stop you from using the libraries. You can still browse the sample code of the examples application and you can still use the binaries in your apps.

    This problem is not related to the Examples solution - it is a common problem with using VS when referencing multiple projects and binaries from a single location.

    If you are having persistent problems you can try to copy the Examples solution folder in another folder (c:\work for example) and try to run the solution from there. Please give it a try and let us know how it goes.

    Greetings, Valentin.Stoychev
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  9. Kristoffer
    Kristoffer avatar
    30 posts
    Member since:
    Oct 2012

    Posted 04 Dec 2012 Link to this post

    Hi,

    Well, it does stop me from using the library. Very often you need to quickly determine if UI control X is the right control to solve a particular UI problem. For this I browse your samples, choose the right UI control and then start integrating it with my own app. Doing it the other way around is a waste of time.

    If I reboot my machine and then run VS as administrator, I really don't see how this problem can occur. If it's a VS issue, then I believe Microsoft should urgently fix this. Still, I have only seen this when compiling your Example solution. You haven't seen this error?
  10. Michael
    Michael avatar
    6 posts
    Member since:
    Feb 2011

    Posted 04 Dec 2012 Link to this post

    It can't be that common because I've only ever seen this behaviour with this particular demo app. Per your suggestion, I will try moving the demo apps to a different folder.

    I am by the way, using a paid subscription acquired through Telerik's developer partnership with Nokia.


    Michael
  11. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 06 Dec 2012 Link to this post

    OK Michael - please let us know how it goes. You can also download and install the examples solution from the marketplace directly on your phone. Here is the link for your convenience - http://www.windowsphone.com/en-us/store/app/telerik-examples/fd55f526-d6f7-df11-9264-00237de2db9e 

     

    All the best,
    Valentin.Stoychev
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  12. Michael
    Michael avatar
    6 posts
    Member since:
    Feb 2011

    Posted 13 Dec 2012 Link to this post

    Thanks Kristofer.

    I have tried creating a new folder and copying all of the content of the demo folder into the new folder, deleted the original and then ran the demo from the new folder. It seems to work without issue. While this does work, it is not really an acceptable solution. I certainly don't have to do this with any other project I create in VS.

    Thanks for the link to the example app in the Windows store. I had actually already installed it. I do find it useful, but to understand what is actually going on, there is no substitute for running a demo app and tracing through it using the debugger.

    Michael

  13. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 13 Dec 2012 Link to this post

    moved to different thread
  14. Roman
    Roman avatar
    1 posts
    Member since:
    Mar 2013

    Posted 11 Mar 2013 Link to this post

    It must solve the problem https://go4answers.webhost4life.com/Example/unable-copy-objdebug-bindebug-26958.aspx
  15. Bryan
    Bryan avatar
    1 posts
    Member since:
    Apr 2013

    Posted 31 May 2013 Link to this post

    Wiping the obj and bin folders resolved the issue for me.
  16. Jini
    Jini avatar
    4 posts
    Member since:
    May 2013

    Posted 13 Jun 2013 Link to this post

    Even i still don't get how this error is existing.
  17. Vitalii
    Vitalii avatar
    104 posts
    Member since:
    Jul 2013

    Posted 23 Jul 2013 Link to this post

    Confirmed, the problem is still there. Using the latest Demos - RadControls for Windows Phone 8 Q2 2013.
  18. Ivo
    Admin
    Ivo avatar
    90 posts

    Posted 24 Jul 2013 Link to this post

    Hello Vitalii,
    Could you, please describe what errors did you get when tried to compile the samples?

    Regards,
    Ivailo Dinkov
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  19. Vitalii
    Vitalii avatar
    104 posts
    Member since:
    Jul 2013

    Posted 24 Jul 2013 Link to this post

    Hi, Ivo

    Thanks for answer, i had already found a solution for the problem.
    After updating to the latest version, i found a problem with WP7, and later i found that its necessary to force Nuget to download BLC.
    http://www.telerik.com/community/forums/windows-phone/vs-extensions/answered-how-to-deal-with-project-cannot-be-opened-error.aspx
  20. Terni
    Terni avatar
    1 posts
    Member since:
    May 2014

    Posted 02 May 2014 in reply to Bryan Link to this post

    Thx your answer help me.
Back to Top
DevCraft banner