The breakpoint will not currently be hit. A different version of script file has been loaded by debugged process

So it appears JavaScript files were getting cached in IE. The solution is it to go to IE > Internet Options > Settings (under browsing history) > Check for new version of stored pages : Every time I visit the webpage. Now every time I build/run debugger the most recent JavaScript file is loaded.

How to exclude Projects with names ending in “.Test” from my code coverage analysis in VS2012 Unit Tests

There is a connection with the period issue as it was mentioned here. If you change the exclude section to this <ModulePath>.*tests.dll</ModulePath> <ModulePath>.*Tests.dll</ModulePath> or this <ModulePath>.*\.tests\..*</ModulePath> <ModulePath>.*\.Tests\..*</ModulePath> it’ll work

How can I create a (VSTO) Office 2007 add-in using VS 2012?

You can get VS 2012 working with Office 2007. First create an Outlook 2010 Add-In and modify the project file (.csproj) so that it will open in Office 2007 and not look for Office 2010 when run. Here is the project settings change (Outlook example): Source XPath: //Project/ProjectExtensions/VisualStudio/FlavorProperties/ProjectProperties/@DebugInfoExeName Old Value (Office 2010): DebugInfoExeName=”#Software\Microsoft\Office\14.0\Outlook\InstallRoot\Path#outlook.exe” New Value … Read more

Can I compile and debug (run) a single C++ file in Visual Studio 2012? (How to avoid creating too many projects)

Although it’s too late to add this answer, but it might be useful to the future-viewers. This is what I did – While trying to figure out how to use Visual Studio for the very same purpose you asked, I observed and found that for a C++ project, there should be only one starting point, … Read more

Error MSB3027: Could not copy “C:\pagefile.sys” to “bin\roslyn\pagefile.sys”. Exceeded retry count of 10. Failed

As indicated in this answer from Pramod’s comment the problem stems from the Microsoft.CodeDom.Providers.DotNetCompilerPlatform nuget package, specifically upgrading from version 1.0.0 to 1.0.1. For me however, downgrading using Visual Studio caused further build errors. To solve the problem I had to manually edit my csproj and packages.config files, removing all references to Microsoft.Net.Compilers and Microsoft.CodeDom.Providers.DotNetCompilerPlatform. … Read more

How do you downgrade a Entity Framework 5 migration in Visual Studio 2012?

After almost giving up with researching on Google I managed to find this quote from here: http://msdn.microsoft.com/en-gb/data/jj591621.aspx#specific Which Specifies: Let’s say we want to migrate our database to the state it was in after running our AddBlogUrl migration. We can use the –TargetMigration switch to downgrade to this migration. Run the Update-Database –TargetMigration: AddBlogUrl command … Read more

Visual Studio solution file – what does the “Build.0” mean?

Yes, your hunch was right. It does mean that the project has its Build option ticked to build under the build configuration. I just tested this by opening the solution in one instance of Visual Studio and the .sln file in the text editor (open with) of another Visual Studio instance. If you change the … Read more

Run/Debug Test in Current Context with Visual Studio 2012

It turns out that one can right-click on the source code of any of: A specific test (public void MyTest()) A class containing tests (public class MyTestClass) A namespace containing tests (namespace My.Project.Test) and get a context menu to either run or debug tests within each given scope. (Note: Text in Context Menu does not … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)