Csc Unexpected Error Creating Debug Information File
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this csc unexpected error creating debug information file access is denied site About Us Learn more about Stack Overflow the company Business Learn more unexpected error creating debug information file the process cannot access the file about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss unexpected error creating debug information file c# Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unexpected Error creating visual studio unexpected error creating debug information file debug information file GG.PDB“--” up vote 22 down vote favorite 1 When I try to build my project, it returns the following error: Error 1 Unexpected error creating debug information file 'D:\Documents\Lance\Documents\School\Capstone\GG\GG\obj\Debug\GG.PDB' -- '' GG I've recently had the misfortune of having my PC restart on me, due to sudden power supply problems (maybe). This is while the project was building, before this problem
Fatal Error Cs0042: Unexpected Error Creating Debug Information File
started. When the PC came back online I've noticed that the changes I've made to the program prior to the sudden power down was not saved. And, it won't build anymore. c# .net visual-studio debugging share|improve this question edited Jul 31 '11 at 2:13 CharithJ 26.2k117393 asked Jul 31 '11 at 0:32 zack_falcon 99452657 4 Try cleaning the solution (under Build menu in VS) –Cameron Jul 31 '11 at 0:33 1 have you tried to do a clean build? –Daniel A. White Jul 31 '11 at 0:33 2 Are you using an version control system? May be any locking issue? –CharithJ Jul 31 '11 at 1:19 @ CharithJ, I'm not using any version control system (whatever that is, sorry, new guy). Just 'vanilla' Visual Studio 2005. @ Cameron, thanks! That worked. –zack_falcon Jul 31 '11 at 2:11 @Cameron, I forgot to ask all these years - I just noticed it because it got a Famous Question badge - and I do apologize sincerely, but could you put your comment as an answer, so I could accept it? –zack_falcon Feb 2 '15 at 14:35 | show
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta
Could Not Write Lines To File Obj Debug Access To The Path Is Denied
Discuss the workings and policies of this site About Us Learn tfs build csc unexpected error creating debug information file more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us unexpected error writing debug information the method or operation is not implemented Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like http://stackoverflow.com/questions/6886790/unexpected-error-creating-debug-information-file-gg-pdb you, helping each other. Join them; it only takes a minute: Sign up TFS: cannot build my app, CS0042: Unexpected error creating debug information file. Access is denied. up vote 5 down vote favorite I am trying to deploy my MVC app, but in the TFS build I get this error message; CSC : fatal error CS0042: http://stackoverflow.com/questions/8508641/tfs-cannot-build-my-app-cs0042-unexpected-error-creating-debug-information-fi Unexpected error creating debug information file 'c:\Builds\2\STAS\STAS\Sources\Documents and Settings\jyothisrinivasa\My Documents\Visual Studio 2010\Projects\STAS\STAS\obj\Debug\STAS.PDB' -- 'c:\Builds\2\STAS\STAS\Sources\Documents and Settings\jyothisrinivasa\My Documents\Visual Studio 2010\Projects\STAS\STAS\obj\Debug\STAS.pdb: Access is denied. I have excluded the Debug directory from my application, so why am I getting this? tfs share|improve this question asked Dec 14 '11 at 17:08 Jyothi Srinivasa 2942718 It's possible you have a read-only version already in that location. Have you looked? –Nick Nieslanik Dec 14 '11 at 22:10 1 There is something going on with this. CSC creates pdb files. If the build completes successfully, they are left writable. But in some cases, probably build failures, they are left read-only. This causes future builds to fail b/c a read-only file exists at the target path. I think it's a bug of sorts because it renders the build process not ACID (because it's not isolated b/c it's not repeatable), but I can't narrow in on the problem further just yet. Extra lines of code would have to be added to the build to f
gamesplaytest Xbox games education education cataloggame developmentlibrary documentationdeveloper talksacademia resources supportdownloadspartner offerings community forums Xbox LIVE Indie Games Forums » XNA Game Studio » XNA Technology General http://xboxforums.create.msdn.com/forums/t/93922.aspx » Error 1 Unexpected error creating debug information file 'C:\Users\Owner\My Projects\EyesOfTheDragon\RpgLibrary\obj\Debug\RpgLibrary.PDB' https://www.experts-exchange.com/questions/28074419/Visual-Studio-Error-PDB-file-is-used-by-another-process.html -- 'Unspecified error ' RpgLibrary My Discussions Active Discussions Not Read Advanced Sort Discussions: Oldest to newest Newest to oldest Previous Discussion Next Discussion Page 1 of 1 (7 posts) Error 1 Unexpected error creating debug information file 'C:\Users\Owner\My Projects\EyesOfTheDragon\RpgLibrary\obj\Debug\RpgLibrary.PDB' -- unexpected error 'Unspecified error ' RpgLibrary Last post 10/24/2011 11:17 PM by IzmirGames Co.. 6 replies. 10/24/2011 6:01 PM IzmirGames Co. (0) Posts 9 Error 1 Unexpected error creating debug information file 'C:\Users\Owner\My Projects\EyesOfTheDragon\RpgLibrary\obj\Debug\RpgLibrary.PDB' -- 'Unspecified error ' RpgLibrary Reply Quote I keep getting this error (Error 1 Unexpected error creating debug information unexpected error creating file 'C:\Users\Owner\My Projects\EyesOfTheDragon\RpgLibrary\obj\Debug\RpgLibrary.PDB' -- 'Unspecified error ' RpgLibrary) whenever I try to run the debugger, I don't know how to fix it and I would greatly appreciate any who was willing to help ^_^ 10/24/2011 8:12 PM In reply to DustinHorne (0) Posts 102 Re: Error 1 Unexpected error creating debug information file 'C:\Users\Owner\My Projects\EyesOfTheDragon\RpgLibrary\obj\Debug\RpgLibrary.PDB' -- 'Unspecified error ' RpgLibrary Reply Quote Out of curiosity... try right clicking the Visual Studio icon and "Run As Administrator..." I wonder if there's a permissions issue with trying to write the file. 10/24/2011 8:16 PM In reply to IzmirGames Co. (0) Posts 9 Re: Error 1 Unexpected error creating debug information file 'C:\Users\Owner\My Projects\EyesOfTheDragon\RpgLibrary\obj\Debug\RpgLibrary.PDB' -- 'Unspecified error ' RpgLibrary Reply Quote I tried that, but the error is still coming up, thank you though for the help... 10/24/2011 9:12 PM In reply to Broke Down Games (0) Posts 225 Re: Error 1 Unexpected error creating debug
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Visual Studio - Error, PDB file is used by another process. Want to Advertise Here? Solved Visual Studio - Error, PDB file is used by another process. Posted on 2013-03-23 .NET Programming C# Visual Basic.NET 3 Verified Solutions 4 Comments 3,144 Views Last Modified: 2013-04-15 I made the mistake of opening the same WPF project at the same time with two instances of Visual Studio. Running the project produced the following error. (FFIMP is my project name.) Error 1 Unexpected error creating debug information file 'C:\...\FFIMP.PDB' -- 'C:\..\FFIMP.pdb: The process cannot access the file because it is being used by another process. It's no surprise I generated this error. The two instances of VS were fighting each other. Ever since, however, I continue to see this error despite the fact that I'm careful to open one instance of Visual Studio at a time. It's not a huge deal. I simply close Visual Studio, re-open it, and the error goes away. I'd like to, however, get rid of the error permanently. Ideas? 0 Question by:jdana Facebook Twitter LinkedIn Google LVL 74 Active today Best Solution bykäµfm³d 👽 Have you tried using a utility like Unlocker (http://www.emptyloop.com/unlocker/) to free the file? Go to Solution 4 Comments LVL 11 Overall: Level 11 .NET Programming 7 Visual Basic.NET 6 C# 5 Message Active 3 days ago Assisted Solution by:Deepak Lakkad2013-03-23 Hi Here is a link on Stack Overflow with similar issue. http://stackoverflow.com/questions/6886790/unexpected-error-creating-debug-information-file-gg-pdb may this will help you. Also you may refer following link in the reference of above link http://weblogs.asp.net/ssmith/archive/2003/08/12/23755.aspx - Deepak Lakkad 0 LVL 74 Overall: Level 74 C# 49 .NET Programming 48 Visual Basic.NET 36 Message Active today Accepted Solution by:käµfm³d 👽2013-03-23 Have you tried using a utility like Unlocker to free the file? 0 LVL 15 Overall: Level 15 .NET Programming 11 C# 11 Visual Basic.NET 5 Message Active 1 day ago Assisted Solution by:angus_young_acdc2013-03-24 I get this periodically. All I do is go to the file, rename it to s