visual-studio-2012

How to set Visual Studio 2012 RC Compiler for Qt instead of MinGW?

萝らか妹 提交于 2019-12-18 04:13:02
问题 Windows 8 x86; Qt 4.8.2; Visual Studio Ultimate 2012 RC 回答1: As far as I know Qt does not yet support Visual Studio 2012 RC. However, I managed to build Qt 4.8 with Visual Studio 2011 beta (the predecessor to Visual Studio 2012 RC - they just decided to rename it) myself. It required making some changes to Qt source code before compiling. Here are the steps I used: Copy mkspecs/win32-msvc2010 to mkspecs/win32-msvc2012 and edit the qmake.conf file to specify _MSC_VER=1700. Search for “msvc2010

“Visual Studio 2012 has stopped working” when solution is opened

最后都变了- 提交于 2019-12-18 04:03:16
问题 When I open Visual Studio everything is fine, but when I open any solution, it comes up with an error: Visual Studio 2012 for Windows Desktop has stopped working. I'm beginning to get really frustrated now, can anyone help? I don't want to lose all of my work. I formatted my computer yesterday, reinstalled all my software and used Visual Studio all day, it was fine. When I shut down the computer, it updated to the newest versions of windows update, then completed the update this morning when

Rollback a changeset in tfs

让人想犯罪 __ 提交于 2019-12-18 03:00:53
问题 Using visual studio 2012 and TFS 2012, I would like to rollback a changeset to the prior one. 回答1: In TFS 2012, View the history of the thing you want to rollback. Select the changeset you want to roll back. Right click on the changset and choose "Rollback". Check that the pending changes are correct (the rollback command will revert the entire changeset not just the file you selected) Check in. In TFS 2010, you can call the tf rollback command from a visual studio command prompt, or you can

Solving a linear system with Lapack's dgeqrf_

会有一股神秘感。 提交于 2019-12-18 02:59:27
问题 I am trying to factorize a matrix with the QR factorization in C++, using Lapack's functions in order to solve a system of linear equations (Ax=b) As far as I understood, dgeqrf computes the QR factorization and overwrites the input matrix. The output clearly contains values for L (upper triangular), but how do I obtain Q? I tried dormqr , which is said to calculate Q from dgeqrf 's output, but the result is the same matrix as in the previous call. Here's my complete code: boost::numeric:

Visual Studio 2012 install broke my 2010 WCF project

牧云@^-^@ 提交于 2019-12-18 02:41:39
问题 I've installed VS 2012 and am successfully using it on some web projects, but something with it has caused my web service project to break. I'm still using VS 2010 on the web service project and have not opened it in 2012. Everything compiles and works correctly except when it tries to create an instance of a class in my referenced weblog project, then it throws this error: This method or property is not supported after HttpRequest.GetBufferlessInputStream has been invoked. I can not find

no override found for 'vtkPolyDataMapper'

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-17 23:30:50
问题 I'm trying to use vtk in my code, but I'm having problems running an example. I have almost no clue about the reasons since it's the first time I'm using it and I'm not very experienced. I'm using visual studio 2012 and x64 platform. Since I don't really know which libs should I use I added all of them to the "Additional Dependencies". The example is given in this link. The problem is that when I run it, the window shows this message Generic Warning: In C:\location\VTK6.0.0\Rendering\Core

When should compiler generate move constructor?

巧了我就是萌 提交于 2019-12-17 23:28:13
问题 I use VS11 and use following: class ContextWrapper { public: ContextWrapper() { } //it should be defaulted I *guess* in order to have automatic move constructor ? // no support in VS11 for that now Context* GetContext() { return this->context.get(); } void SetContext(std::unique_ptr<Context> context) { this->context = std::move(context); } //ContextWrapper(ContextWrapper&& other): context(std::move(other.context)) //{ //} // I would like this to be generated by the compiler private:

Visual Studio keeps overwriting NewtonSoft.Json.DLL with an older version

浪尽此生 提交于 2019-12-17 22:18:51
问题 Visual Studio is overwriting the correct version of NewtonSoft.Json.DLL that I have configured in both my project references and the NuGet package file with an older version when I build any other project besides the website that contains the reference. OK. Here is the scenario: I have a solution with a backend service and a website. The website is running on .NET 4.5 and is configured with NuGet to pull in version 6.0.1 of Newtonsoft.Json.DLL. <package id="Newtonsoft.Json" version="6.0.1"

Is Visual Studio 2012 csproj backward compatible with 2010?

懵懂的女人 提交于 2019-12-17 22:17:49
问题 The question is if can I use safely Visual Studio 2012 to edit projects properties, add and remove solutions, references, all related to NET 4.0 Framework. I remember in the past some files might be "corrupted", while Visual Studio 2010 changed some Visual Studio 2008 csproj information (xml file). If some tags are added/removed in VS2012, then the csproj would be incompatible to VS2010 developers. Does anyone have some information if it is safe to use this new IDE without damaging files? Are

Visual Studio 2012 Install Fails: Program Compatibility Mode is on

ぐ巨炮叔叔 提交于 2019-12-17 22:12:11
问题 I'm trying to install Visual Studio 2012 Express for Windows Desktop and every time I run the installer I get this error: "Windows Program Compatibility mode is on. Turn it off and then try setup again." I checked the file properties and compatibility mode was off. Googling found that changing the name to "vs_premium.exe" or "vs_ultimate.exe" or changing the registry keys might help, but the name changes had no effect, and there were no registry keys to delete. I have restarted my machine