Click here to Skip to main content
15,888,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: List View Shift Selection behaves indifferently Pin
rakeshkava1-Apr-13 0:14
rakeshkava1-Apr-13 0:14 
AnswerRe: List View Shift Selection behaves indifferently Pin
Abhinav S29-Mar-13 3:57
Abhinav S29-Mar-13 3:57 
GeneralRe: List View Shift Selection behaves indifferently Pin
rakeshkava31-Mar-13 23:00
rakeshkava31-Mar-13 23:00 
GeneralRe: List View Shift Selection behaves indifferently Pin
rakeshkava31-Mar-13 23:49
rakeshkava31-Mar-13 23:49 
GeneralRe: List View Shift Selection behaves indifferently Pin
Abhinav S1-Apr-13 20:22
Abhinav S1-Apr-13 20:22 
QuestionRegarding About Image Url Pin
Member 583355028-Mar-13 23:45
Member 583355028-Mar-13 23:45 
AnswerRe: Regarding About Image Url Pin
Manfred Rudolf Bihy29-Mar-13 1:09
professionalManfred Rudolf Bihy29-Mar-13 1:09 
Questionvisual studio 2010 c# error Pin
User349028-Mar-13 18:05
User349028-Mar-13 18:05 
i have this error and the solutions that i found don't work.

the error is:
-------------

Error 12 Unable to copy file "obj\x86\Debug\WindowsFormsApplication1.exe" to "bin\Debug\WindowsFormsApplication1.exe". The process cannot access the file 'bin\Debug\WindowsFormsApplication1.exe' because it is being used by another process. WindowsFormsApplication1

Error 11 Could not copy "obj\x86\Debug\WindowsFormsApplication1.exe" to "bin\Debug\WindowsFormsApplication1.exe". Exceeded retry count of

10. Failed. WindowsFormsApplication1

Warning 9 Could not copy "obj\x86\Debug\WindowsFormsApplication1.exe" to "bin\Debug\WindowsFormsApplication1.exe". Beginning retry 9 in 1000ms. The process cannot access the file 'bin\Debug\WindowsFormsApplication1.exe' because it is being used by another process. WindowsFormsApplication1
Warning 8 Could not copy "obj\x86\Debug\WindowsFormsApplication1.exe" to "bin\Debug\WindowsFormsApplication1.exe". Beginning retry 8 in 1000ms. The process cannot access the file 'bin\Debug\WindowsFormsApplication1.exe' because it is being used by another process. WindowsFormsApplication1
Warning 7 Could not copy "obj\x86\Debug\WindowsFormsApplication1.exe" to "bin\Debug\WindowsFormsApplication1.exe". Beginning retry 7 in 1000ms. The process cannot access the file 'bin\Debug\WindowsFormsApplication1.exe' because it is being used by another process. WindowsFormsApplication1
Warning 6 Could not copy "obj\x86\Debug\WindowsFormsApplication1.exe" to "bin\Debug\WindowsFormsApplication1.exe". Beginning retry 6 in 1000ms. The process cannot access the file 'bin\Debug\WindowsFormsApplication1.exe' because it is being used by another process. WindowsFormsApplication1
Warning 5 Could not copy "obj\x86\Debug\WindowsFormsApplication1.exe" to "bin\Debug\WindowsFormsApplication1.exe". Beginning retry 5 in 1000ms. The process cannot access the file 'bin\Debug\WindowsFormsApplication1.exe' because it is being used by another process. WindowsFormsApplication1

...

THE SOLUTION THAT I FIND:
-------------------------

SQL
 add following lines of code to the pre-build event command line of your project.

if exist "$(TargetPath).locked" del "$(TargetPath).locked"
if exist "$(TargetPath)" if not exist "$(TargetPath).locked" move "$(TargetPath)" "$(TargetPath).locked"


SECOND SOLUTION:
--------------
VB
if exist "$(ProjectDir)bin\$(TargetFileName).locked" del "$(ProjectDir)bin\$(TargetFileName).locked"
if exist "$(ProjectDir)bin\$(TargetFileName)" if not exist "$(ProjectDir)bin\$(TargetFileName).locked" move "$(ProjectDir)bin\$(TargetFileName)" "$(ProjectDir)bin\$(TargetFileName).locked"


Can you please help me??
AnswerRe: visual studio 2010 c# error Pin
annex4528-Mar-13 21:12
annex4528-Mar-13 21:12 
GeneralRe: visual studio 2010 c# error Pin
User349029-Mar-13 1:30
User349029-Mar-13 1:30 
GeneralRe: visual studio 2010 c# error Pin
annex4529-Mar-13 1:32
annex4529-Mar-13 1:32 
QuestionSimulating Mouse Scrolling Pin
annex4528-Mar-13 12:19
annex4528-Mar-13 12:19 
AnswerRe: Simulating Mouse Scrolling Pin
Jasmine250128-Mar-13 13:10
Jasmine250128-Mar-13 13:10 
QuestionCreate MP4 video from images Pin
cabasm28-Mar-13 10:35
cabasm28-Mar-13 10:35 
AnswerRe: Create MP4 video from images Pin
Gerry Schmitz28-Mar-13 12:08
mveGerry Schmitz28-Mar-13 12:08 
GeneralRe: Create MP4 video from images Pin
cabasm28-Mar-13 12:37
cabasm28-Mar-13 12:37 
GeneralRe: Create MP4 video from images Pin
Gerry Schmitz28-Mar-13 12:47
mveGerry Schmitz28-Mar-13 12:47 
GeneralRe: Create MP4 video from images Pin
cabasm29-Mar-13 4:46
cabasm29-Mar-13 4:46 
QuestionC# WPF Accessing parameter of chosen data grid row Pin
johnyjj228-Mar-13 8:47
johnyjj228-Mar-13 8:47 
AnswerRe: C# WPF Accessing parameter of chosen data grid row Pin
OriginalGriff28-Mar-13 9:20
mveOriginalGriff28-Mar-13 9:20 
QuestionPass Info from Desktop App to Webpage Pin
PDTUM28-Mar-13 7:44
PDTUM28-Mar-13 7:44 
AnswerRe: Pass Info from Desktop App to Webpage Pin
David C# Hobbyist.28-Mar-13 8:42
professionalDavid C# Hobbyist.28-Mar-13 8:42 
Questionprogramming ideas Pin
MegaBaitas28-Mar-13 3:45
MegaBaitas28-Mar-13 3:45 
AnswerRe: programming ideas Pin
Richard MacCutchan28-Mar-13 3:58
mveRichard MacCutchan28-Mar-13 3:58 
AnswerRe: programming ideas Pin
PIEBALDconsult28-Mar-13 4:01
mvePIEBALDconsult28-Mar-13 4:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.