Error 1 Unable to write to output file 'C:\Projects\VariantsReportFinal\VariantsReportFinal\obj\x86\Debug\VariantsReportFinal.exe': The process cannot access the file because it is being used by another process. VariantsReportFinal
I have been using vs2008 and vs2010 and both give this error.
I have tried moving the output and the solution but I still find the error after running it successfully once.
I have also tried closing it in task manager,but it doesn't show the processes in task manager.
Can anyone help?
Probably, it is because your application is still using the file. Check where you create it, and make sure that all file related items are closed and Disposed - otherwise they will remain open until the Garbage Collector comes round and removes them, or your application closes.
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)