Team city unmet requirement: MSBuildTools12.0_x86_Path exists

I needed to install MSBuild separately, then after restarting the agent the variable was there. (From MSDN article) MSBuild is now installed as part of Visual Studio rather than as part of the .NET Framework. The current MSBuild version number is 12.0. If you want to install MSBuild separately, download the installation package from MSBuild … Read more

Error deploying ClickOnce application – Reference in the manifest does not match the identity of the downloaded assembly

There was an issue with Visual Studio 2008 which is solved by not embedding the default manifest – one of the comments on that article suggests the problem still exists in Visual Studio 2010. In project properties -> Application tab -> Resources -> checkbox Icon and manifest, the setting “Embed manifest with default settings” caused … 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

Difference between std::pair and std::tuple with only two members?

There are some differences: std::tuple is not required by the standard to ever be standard-layout. Every std::pair<T, Y> is standard-layout if both T and Y are standard-layout. It’s a bit easier to get the contents of a pair than a tuple. You have to use a function call in the tuple case, while the pair … Read more

How to have TFS 2010 detect changes done to files outside of Visual Studio?

TFS has a “Reconcile” command for this: Open the Source Control Explorer Right-click on the folder with the changes and choose Compare Select the files you want to reconcile (press CTRL+A to select all files) Click on the Reconcile button Set the options in the Reconcile Folder Differences dialog. Make sure Files that do not … Read more

Cannot find or open the PDB file in Visual Studio C++ 2010

PDB is a debug information file used by Visual Studio. These are system DLLs, which you don’t have debug symbols for. Go to Tools->Options->Debugging->Symbols and select checkbox “Microsoft Symbol Servers”, Visual Studio will download PDBs automatically. Or you may just ignore these warnings if you don’t need to see correct call stack in these modules.

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