visual-studio-2012

Qt 4.8, Visual Studio 2013 compiling error

不打扰是莪最后的温柔 提交于 2019-12-20 14:39:50
问题 Am folowing this tutorial to compile Qt 4.8 with visual Studio 2013 but after running nmake i get: C:\Qt\4.8.5.src\src\3rdparty\javascriptcore\JavaScriptCore\wtf/MathExtras.h(103) : error C2491: 'round' : definition of dllimport function not allowed C:\Qt\4.8.5.src\src\3rdparty\javascriptcore\JavaScriptCore\wtf/MathExtras.h(110) : error C2491: 'roundf' : definition of dllimport function not allowed C:\Qt\4.8.5.src\src\3rdparty\javascriptcore\JavaScriptCore\wtf/MathExtras.h(128) : error C2084:

Visual Studio 2012 - no MVC project template, no 4.5

依然范特西╮ 提交于 2019-12-20 12:38:24
问题 I have just installed visual studio 2012 ultimate. In the new project dialog I have No .net framework 4.5 option No MVC project templates I have repaired the installation. (twice now). I have tried starting vs with devenv /installvstemplates I have also tried devenv /resetsettings all to no avail !! Any suggestions ? 回答1: Try to install ASP.NET and Web Tools 2012.2 update for Visual Studio 2012 This worked for me. 回答2: I thought the same when I first had my 2012, I had to manually download

Visual Studio 2010 C++/CLI in Static Library Mode: could not find assembly 'mscorlib.dll'

前提是你 提交于 2019-12-20 12:03:54
问题 I am working on a C++/CLI project with VS 2012 in Dynamic Library (.dll) and x64 mode. If I switch the mode to Static Library, I get the error below. Error 1 error C1107: could not find assembly 'mscorlib.dll': please specify the assembly search path using /AI or by setting the LIBPATH environment variable C:\Depot\Main\Current\Sln\ALibraryProject\Stdafx.cpp 1 1 ALibraryProject I tried removing the reference to the mscorlib.dll then adding it again from: Project > Properties > General >

Visual Studio 2012: different color themes for different projects

回眸只為那壹抹淺笑 提交于 2019-12-20 11:14:37
问题 I have two Visual Studio instances with two opened "the same" projects. The difference is the projects are from different branches. Is there a way to make Visual Studio instances' appearance different from each other depends on project? There are plenty posts about Color Theme Editor extension, but it changes theme for all instances. 回答1: Have you tried VSCommands extension from Visual Studio Gallerty ? It has feature called Solution Badges which may help you. 回答2: One option is to launch

Can I use Web Config Transform without publish with Visual Studio 2012?

时间秒杀一切 提交于 2019-12-20 10:59:56
问题 Does Visual Studio 2012 support running a solution using a specific Web.config transform without the requirement to publish? We are using the web.config to change client settings on publish and want to test them locally. 回答1: The web.config transform feature is only available during publish/package. The deal with this is that web projects don't have the abstraction of an alternate folder where the app executes versus the folder where the source is located like win project have. Because of

How to set up SourceGear DiffMerge as the diff/merge tool for Visual Studio?

限于喜欢 提交于 2019-12-20 10:58:14
问题 I am using TFS for source control, but I want to use SourceGear DiffMerge for viewing file differences and doing merges. I found the Tools -> Options -> Source Control -> Visual Studio Team Foundation Server -> Configure User Tools dialog, but setting up the merge parameters is very confusing. What should those parameters be? 回答1: These are the SourceGear settings that I use: C:\Program Files\SourceGear\Common\DiffMerge\sgdm.exe Compare: /t1=%6 /t2=%7 %1 %2 Merge: /m /r=%4 /t1=%7 /t2=%8 /t3=

Testing a Windows Azure web app for maximum user load

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 10:41:52
问题 I am conducting some research on emerging web technologies and have created a very simple Azure website which makes use of web sockets and mongo db as the database. I have managed to get all the components working together and now must perform load testing on the application. The main criteria is the maximum user load that the app can support, at the moment there is 1 web role instance, so probably I would need to test the max user load for that instance, then try with 2 instances and so on.

Why is the checkbox 'Prefer 32-bit' disabled in Visual Studio 2012?

笑着哭i 提交于 2019-12-20 10:21:25
问题 I came across a situation in which I would like to set the Prefer 32-bit to true. But in Visual Studio 2012, it is showing as disabled. And no matter what I do it doesn't get enabled. I read that Any CPU with Prefer 32-bit is the default value for all new projects. So, should I assume that although it is disabled it is set to true? Then how can you set it to be just Any CPU ? In What AnyCPU Really Means As Of .NET 4.5 and Visual Studio 11 and in many other posts and questions here in Stack

How do I uninstall Visual Studio 2012 Update 2?

柔情痞子 提交于 2019-12-20 10:17:32
问题 I installed VS2012 and then I updated to VS2012 Update 2, so my Visual Studio version would be 11.0.60315.01 Update 2. But now I want to revert to 11.0.50727.1 RTMREL. How can I uninstall the update? 回答1: Updates to Visual Studio are implemented as Windows updates, much like Office and other Microsoft suites. Once you know this, it immediately becomes obvious where to look. (Of course, the difficult part is knowing in the first place...) You can find the update by visiting the Programs

Regions in TypeScript [closed]

烂漫一生 提交于 2019-12-20 10:16:52
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . In my JavaScript (.js) files, I use a Visual Studio 2012 plugin for regions (here) like this: //#region "My Region" //Code here //#endregion "My Region" I would also like to have regions in TypeScript (.ts) files as well. Is this a possibility right now? 回答1: You can download Web