Last post Aug 13, 2012 12:00 AM by Dinesh Guptha
Aug 09, 2012 05:11 PM|apgriffiths|LINK
Please please please.....
This is completely doing my head in!
Im using VS2011 and its been problem free and the all of a sudden I have made some code changes and attempted to debug but im getting the error - "The breakpoint will not currently be hit. The source code is different from the original version".
I have tried everything: I have deleted the temp files in Microsoft.NET/Framework/v2.xxxx/Temporary ASP.NET Files and ive deleted them from the v4.xx.
I have tried restarting vs.
I have tried altering the settings as per the error message.
I dont have any options to Clean the solution as this is a website and there arent any pdb files or .csproj.
The only thing i can think of that may have affected this is that before i started to make changes on this site i have installed php through iis7. I dont debug through iis7, i do it through vs but i thought i would mention this.
Aug 09, 2012 10:50 PM|ignatandrei|LINK
rebuild website. Does it show errpr?
Aug 10, 2012 02:29 AM|apgriffiths|LINK
There arent any errors in the build but there are two warnings.
Here is the output:
------ Rebuild All started: Project: C:\...\Football2011\, Configuration: Debug Any CPU ------
Warning: Unable to update auto-refresh reference 'ajaxcontroltoolkit.dll'. Cannot find assembly 'C:\Users\Griffiths\Dropbox\Dev Projects\AjaxControlToolkit3.5\AjaxControlToolkit.dll'.
Warning: Unable to update auto-refresh reference 'youtubeembeddedplayer.dll'. Cannot find assembly 'C:\Users\Griffiths\Downloads\youTubeEmbeddedPlayer.dll'.
Validating Web Site
Building directory '/Football2011/App_Code/'.
Building directory '/Football2011/admin/'.
Building directory '/Football2011/'.
Building directory '/Football2011/errors/'.
Building directory '/Football2011/lottery/'.
Building directory '/Football2011/mobile/'.
Building directory '/Football2011/scripts/'.
Building directory '/Football2011/user/'.
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\App_Code\emailClass.cs(25,26): warning CS0168: The variable 'exc' is declared but never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\App_Code\emailClass.cs(43,26): warning CS0168: The variable 'ex' is declared but never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\App_Code\ParseFileClass.cs(68,26): warning CS0168: The variable 'ex' is declared but never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\App_Code\NewTeam.cs(14,19): warning CS0169: The field 'NewTeam.conn' is never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\Contact.aspx.cs(43,30): warning CS0168: The variable 'ex' is declared but never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\Register.aspx.cs(81,26): warning CS0168: The variable 'ex' is declared but never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\admin\ScoreTable.aspx.cs(149,30): warning CS0168: The variable 'ex' is declared but never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\user\Team.aspx.cs(77,25): warning CS0219: The variable 'gk' is assigned but its value is never used
C:\Users\Griffiths\Dropbox\Dev Projects\Football2011\user\Team.aspx.cs(325,26): warning CS0168: The variable 'ex' is declared but never used
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Aug 10, 2012 03:06 AM|Dinesh Guptha|LINK
It is because your project loading last successfull built solution try rebuilding, if it keeps on giving same delete the solution and jus buid it.... try rebuilding it is the first solution
Aug 10, 2012 02:11 PM|apgriffiths|LINK
Can you specify how i delete the solution please?
Ive rebuilt numerous times but i always get the same result, i have even copied over all of the files to a different folder and given it different names but its still the same.
Aug 13, 2012 12:00 AM|Dinesh Guptha|LINK
Take a look at this thread for solution. They had a similar problem Like this one.