Is it normal for Visual Studio to often have errors like this? I experienced it several times. and the worst thing is there are 99+ errors. It's very tiring having to delete the error parts one by one :"D How can I prevent this from happening too often? (but your tutorial is very helpful!)
Hello thank you for your comment 👍... From my experience, apart from the solution in the video... I'd say you should be careful of the apps/framework you uninstall... Sometimes when you uninstall an app that your project depends on, it will always generate an error... for example, I created a project that reads pdf files using Adobe Reader features in my windows form... if I uninstall Adobe Reader, my application won't work but generate errors... In another scenario, if you have an online database your project connects to, make sure the internet is connected before loading the project so the errors don't generate for a lack of connection... Simply, whatever you use in your project, make sure they're in order and available for use before loading the project to avoid the errors... I hope this helps... ✌️
It's alright, some cases depends on the version of Visual Studio you're using... Nevertheless, the solution to the problem stays the same...😅 If you've got any question or observations, you can let me know and I'll reply as soon as I can... ✌️
Try to run the program "Start"... If that doesn't help, I'd provide a medium through which you can send screenshots of what you're facing, so I can help you better...
Try rebuilding your project and open it again... If this doesn't work, try debugging for errors... If that still doesn't work, I'm afraid you may have to start again...
bro i have this error meassage, what to do Severity Code Description Project File Line Suppression State Error Could not copy "obj\Debug\MYfirst_WindowsFormsApp1.exe" to "bin\Debug\MYfirst_WindowsFormsApp1.exe". Exceeded retry count of 10. Failed. The file is locked by: "MYfirst_WindowsFormsApp1 (8376), MYfirst_WindowsFormsApp1 (8992)" MYfirst_WindowsFormsApp1
OK bro. The solution is to close your visual studio, open task manager (shortcut - Ctrl + Shift + Esc) and look for a program 'vc.exe' or something like that and end the task. Open your visual studio project and run the app. The cause of the problem is that the app was not initially closed successfully from its previous launch. Thanks for asking bro.
Bro a mi me sale este error Instances of this error (1) 1. Hide call stack in Microsoft.DotNet.DesignTools.Client.Host.ProjectInfoProvider.NetCore.d__6.MoveNext() --- End of stack tracking from the previous location where the exception occurred --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task) in Microsoft.DotNet.DesignTools.Client.Host.ProjectInfoProvider.d__9.MoveNext() --- End of stack tracking of the previous location where the exception occurred --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task) in Microsoft.DotNet.DesignTools.Client.Host.ServerHostFactory.d__8.MoveNext() --- End of stack tracking of the previous location where the exception occurred --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task) on Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.d__29.MoveNext() --- End of stack tracking of the previous location where the exception occurred --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task) in Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.c__DisplayClass25_1.d.MoveNext() --- End of stack tracking of the previous location where the exception occurred --- in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task) in Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.d__27.MoveNext() Translated with www.DeepL.com/Translator (free version)
let me know what you would like to learn next. Subscribe for free with notifications turned on to not miss an upload
TechnicalKnowHow create a fingerprint attendance system. I need the secret. please...
This is a great video, solved my problem 100%, thank you!
Is it normal for Visual Studio to often have errors like this?
I experienced it several times. and the worst thing is there are 99+ errors. It's very tiring having to delete the error parts one by one :"D
How can I prevent this from happening too often?
(but your tutorial is very helpful!)
Hello thank you for your comment 👍... From my experience, apart from the solution in the video... I'd say you should be careful of the apps/framework you uninstall... Sometimes when you uninstall an app that your project depends on, it will always generate an error... for example, I created a project that reads pdf files using Adobe Reader features in my windows form... if I uninstall Adobe Reader, my application won't work but generate errors... In another scenario, if you have an online database your project connects to, make sure the internet is connected before loading the project so the errors don't generate for a lack of connection... Simply, whatever you use in your project, make sure they're in order and available for use before loading the project to avoid the errors... I hope this helps... ✌️
THANK YOU SO MUCH BROTHER, YOUR A LIFE SAVER!
Really awesome video. You saved my hours of work
Thank you so much for the useful shared information et merci aussi😇
Sir I can't find the link you click it's only "show all stack"
It's alright, some cases depends on the version of Visual Studio you're using... Nevertheless, the solution to the problem stays the same...😅
If you've got any question or observations, you can let me know and I'll reply as soon as I can... ✌️
help i dont care about the data loss and i just want to ignore and continue, but there isnt a ignore and continue button
Try to run the program "Start"... If that doesn't help, I'd provide a medium through which you can send screenshots of what you're facing, so I can help you better...
very helpful video
Help please I have pressed ignore and continue.. I have a new main form and the original main form disappeared
Try rebuilding your project and open it again... If this doesn't work, try debugging for errors... If that still doesn't work, I'm afraid you may have to start again...
You can copy your codes... it's just that you'd have to redesign the form again from scratch...
@@tkh15 I think I will start working again.. Nothing has done... Can I send you my project to try your self
How to fix about lock file cannot access
Please give more description, so I can help.
bro i have this error meassage, what to do
Severity Code Description Project File Line Suppression State
Error Could not copy "obj\Debug\MYfirst_WindowsFormsApp1.exe" to "bin\Debug\MYfirst_WindowsFormsApp1.exe". Exceeded retry count of 10. Failed. The file is locked by: "MYfirst_WindowsFormsApp1 (8376), MYfirst_WindowsFormsApp1 (8992)" MYfirst_WindowsFormsApp1
OK bro. The solution is to close your visual studio, open task manager (shortcut - Ctrl + Shift + Esc) and look for a program 'vc.exe' or something like that and end the task. Open your visual studio project and run the app. The cause of the problem is that the app was not initially closed successfully from its previous launch. Thanks for asking bro.
@@mindillumination5192
Thank you very much
it works, i appreciate your help !
@@mindillumination5192
thank you very much for your reply and solution
Bro a mi me sale este error Instances of this error (1)
1. Hide call stack
in Microsoft.DotNet.DesignTools.Client.Host.ProjectInfoProvider.NetCore.d__6.MoveNext()
--- End of stack tracking from the previous location where the exception occurred ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task)
in Microsoft.DotNet.DesignTools.Client.Host.ProjectInfoProvider.d__9.MoveNext()
--- End of stack tracking of the previous location where the exception occurred ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task)
in Microsoft.DotNet.DesignTools.Client.Host.ServerHostFactory.d__8.MoveNext()
--- End of stack tracking of the previous location where the exception occurred ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task)
on Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.d__29.MoveNext()
--- End of stack tracking of the previous location where the exception occurred ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task)
in Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.c__DisplayClass25_1.d.MoveNext()
--- End of stack tracking of the previous location where the exception occurred ---
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task task)
in Microsoft.DotNet.DesignTools.Client.DesignToolsClientLoader.d__27.MoveNext()
Translated with www.DeepL.com/Translator (free version)
Very helpful ❤❤
Thanks a lot
thank you
Thanks alot bro.
Your a lifesaver
thanks its work
Thank you so much