NuGet Package Manager errors when trying to update

Update: The recently released NuGet 2.0 also may require uninstalling an older version of NuGet first. From the NuGet 2.0 Release Notes: (http://docs.nuget.org/docs/release-notes/nuget-2.0) Known Installation Issue If you are running VS 2010 SP1, you might run into an installation error when attempting to upgrade NuGet if you have an older version installed. The workaround is … Read more

Mercurial .hgignore for Visual Studio 2010 projects

The new things are related to MSTest stuff. This is the one that I use: # use glob syntax syntax: glob *.obj *.pdb *.user *.aps *.pch *.vspscc *.vssscc *_i.c *_p.c *.ncb *.suo *.tlb *.tlh *.bak *.[Cc]ache *.ilk *.log *.lib *.sbr *.scc *.DotSettings [Bb]in [Dd]ebug*/** obj/ [Rr]elease*/** _ReSharper*/** NDependOut/** packages/** [Tt]humbs.db [Tt]est[Rr]esult* [Bb]uild[Ll]og.* *.[Pp]ublish.xml *.resharper *.ncrunch* … Read more

Converting VS2012 Solution to VS2010

I also faced the similar problem. I googled but couldn’t find the solution. So I tried on my own and here is my solution. Open you solution file in notepad. Make 2 changes Replace “Format Version 12.00” with “Format Version 11.00” (without quotes.) Replace “# Visual Studio 2012” with “# Visual Studio 2010” (without quotes.) … Read more

How do you include additional files using VS2010 web deployment packages?

Great question. I just posted a very detailed blog entry about this at Web Deployment Tool (MSDeploy) : Build Package including extra files or excluding specific files. Here is the synopsis. After including files, I show how to exclude files as well. Including Extra Files Including extra files into the package is a bit harder … Read more

What is .sln.docstates file created by Visual Studio Productivity Power Tools?

Here is what Microsoft have to say about it: The .docstates file new in this release of the Pro Power Tools. It is used by the Document Tab Well extension to persist and hydrate the state of the floating tab wells. This information was being stored in the hidden .suo file but we had to … Read more

How can I use PowerShell with the Visual Studio Command Prompt?

Stealing liberally from blog post Replace Visual Studio Command Prompt with PowerShell, I was able to get this to work. I added the following to my profile.ps1 file and all is well with the world. pushd ‘c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC’ cmd /c “vcvarsall.bat&set” | foreach { if ($_ -match “=”) { $v = … Read more

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