This is a migrated thread and some comments may be shown as answers.

Samples not compiling!

18 Answers 262 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kristoffer
Top achievements
Rank 1
Kristoffer asked on 03 Nov 2012, 01:35 AM
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...

18 Answers, 1 is accepted

Sort by
0
Ralf
Top achievements
Rank 1
answered on 04 Nov 2012, 10:26 AM
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).
0
Kristoffer
Top achievements
Rank 1
answered on 05 Nov 2012, 11:43 AM
Thanks for the advice. However, I still don't understand how this error can persist between reboots.
0
Michael
Top achievements
Rank 1
answered on 01 Dec 2012, 11:03 PM
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
0
Michael
Top achievements
Rank 1
answered on 01 Dec 2012, 11:22 PM
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
0
Kristoffer
Top achievements
Rank 1
answered on 03 Dec 2012, 03:35 PM
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.
0
Valentin.Stoychev
Telerik team
answered on 04 Dec 2012, 05:50 AM
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.
0
Kristoffer
Top achievements
Rank 1
answered on 04 Dec 2012, 10:05 AM
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?
0
Michael
Top achievements
Rank 1
answered on 04 Dec 2012, 03:12 PM
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
0
Valentin.Stoychev
Telerik team
answered on 06 Dec 2012, 03:23 PM
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.
0
Michael
Top achievements
Rank 1
answered on 13 Dec 2012, 06:36 PM
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

0
Morgan
Top achievements
Rank 1
Iron
answered on 13 Dec 2012, 11:11 PM
moved to different thread
0
Roman
Top achievements
Rank 1
answered on 11 Mar 2013, 05:39 PM
It must solve the problem https://go4answers.webhost4life.com/Example/unable-copy-objdebug-bindebug-26958.aspx

0
Bryan
Top achievements
Rank 1
answered on 01 Jun 2013, 04:29 AM
Wiping the obj and bin folders resolved the issue for me.
0
Jini
Top achievements
Rank 1
answered on 13 Jun 2013, 07:02 AM
Even i still don't get how this error is existing.
0
Vitalii
Top achievements
Rank 2
answered on 23 Jul 2013, 01:49 PM
Confirmed, the problem is still there. Using the latest Demos - RadControls for Windows Phone 8 Q2 2013.
0
Ivo
Telerik team
answered on 24 Jul 2013, 12:53 PM
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.
0
Vitalii
Top achievements
Rank 2
answered on 24 Jul 2013, 12:57 PM
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
0
Terni
Top achievements
Rank 1
answered on 02 May 2014, 09:36 PM
Thx your answer help me.
Tags
General Discussions
Asked by
Kristoffer
Top achievements
Rank 1
Answers by
Ralf
Top achievements
Rank 1
Kristoffer
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
Morgan
Top achievements
Rank 1
Iron
Roman
Top achievements
Rank 1
Bryan
Top achievements
Rank 1
Jini
Top achievements
Rank 1
Vitalii
Top achievements
Rank 2
Ivo
Telerik team
Terni
Top achievements
Rank 1
Share this question
or