visual-studio-2012

Can't find Typescript compiler: Command “tsc” is not valid

一笑奈何 提交于 2019-12-18 10:58:38
问题 Just installed Typescript extension to VS2012 and followed Install TypeScript for Visual Studio 2012 and then the tutorial to call the compiler: > tsc greeter.ts But when i try to compile .ts file where should i type: tsc greeter.ts ? Tried it in VS command line and in windows console, always get the message that tsc is not recognized as command( Command "tsc" is not valid. ). 回答1: Ensure you have, C:\Program Files (x86)\Microsoft SDKs\TypeScript\0.8.0.0 or, C:\Program Files\Microsoft SDKs

No ASP.NET MVC 5 Web Application Template on VS 2012?

烂漫一生 提交于 2019-12-18 10:06:23
问题 I'm using Visual Studio 2012 and have just installed "Microsoft ASP.NET and Web Frameworks 2013.1 - Visual Studio". As expected, it added the option to create an "ASP.NET MVC 5 Empty Project" . The thing is, I see no way of jump-starting an already functional "base application" as I had when I was using MVC 4 (e.g. "Asp.NET MVC 4 Web Application" ). I only see an empty template. I've seen answers such as: How can I add the MVC 5 project template to VS 2012? Create and Run MVC 5 Project in VS

Resharper 8 - Quickfix shortcut Alt+Enter gone

a 夏天 提交于 2019-12-18 10:04:44
问题 In Visual Studio 2012/2013, I want to reassign the Alt + Enter ↵ key combination to the "Quickfix" (triggering the menu from the light bulb) because it is not working anymore. I can't. I have tried the following (I am aware that some of the suggestions refer to VS 2010 and older R# versions): Tried to change manually in Tools - Options - Keyboard : the former ReSharper_QuickFix entry is gone, see ReSharper_QuickFix gone Tried Resharper_AltEnter as suggested in What is the name of the

Boost compiling with MSVC 11 (VS 2012)

↘锁芯ラ 提交于 2019-12-18 10:03:22
问题 How to build Boost (I tried version 1.48.0) with Visual Studio C++ 11? bootstrap.bat cannot find toolset vc11 . I added toolset vc11 to F:\Programming\boost_1_48_0\tools\build\v2\engine\build.bat but got a message: ERROR: Cannot determine the location of the VS Common Tools folder. EDIT: The Ferruccio answer works for VS 2012 Express and Boost 1.51.0 too. 回答1: I managed to get it to build by following these steps: Open a Visual Studio command prompt. From the start menu it's: All Programs

Couldn't run my test using Microsoft Test Manager

谁都会走 提交于 2019-12-18 09:37:32
问题 When I'm running the test in Microsoft Test Manager I get an error: The build directory of the test run either does not exist or access permission is required. What does it mean? Where can I check build directory? 回答1: I suppose you are running automated tests. If you are running automated test in Microsoft Test Manageg (MTM) you have Test Case(s) automated by your test implementation. So MTM need to know where is the drop location of the build building your tests. That means you have to:

printf and custom class

♀尐吖头ヾ 提交于 2019-12-18 09:14:37
问题 I have my own class that represents a custom string class. I'm using VS2012RC. I have overloaded some operators of my class CustomString. Here's some code: CustomString::CustomString(string setstr) { str = setstr; } CustomString::operator const char *() { return (this->str.c_str()); } CustomString &CustomString::operator = (char *setstr) { str = setstr; return *this; } I can define my object and use it like this: CustomString str = "Test string"; and i can print the result as: printf(str);

Can I develop software for Microsoft Surface on Windows 7 machine

我是研究僧i 提交于 2019-12-18 09:02:53
问题 I want to develop a WinRT app for Surface. There is one detail I cannot find anywhere. Will I be able to compile and run on the device using Windows 7 or I need to upgrade to Windows 8? 回答1: No, you can't develop an RT "Modern" style app on Windows 7. You'll need Windows 8 either installed as your main OS or hosted in a VM. 回答2: It is possible to develop with virtual machine(Win8) in windows 7 unfortunately if you want to develop without virtual machine you have to upgrade it 回答3: Not

empty website and git

浪子不回头ぞ 提交于 2019-12-18 09:01:10
问题 hi as am a newbie to GIT with visual studio , I'm working with an n-tier website with multiple projects and at first i make it as an empty website , so the visual studio make a directory to the solution in Projects folders for VS2012 at documents and The BLL and DAL and the website pages itself at websites directory for visual studio main directory . so when i trying to add the solution the source control this message shown up : the current solution has projects that are located outside the

MSVCP100D.dll is missing on your computer debug mode Visual C++ 2012

谁说胖子不能爱 提交于 2019-12-18 09:00:38
问题 I know this question was asked before. But I need a real answer, a real explanation ! When running (ctrl+F5) the code shown underneath, in Visual Studio 2012 Express, in Release mode , everything works. When running it in Debug mode , I get: The program cant't start becaue MSVCP100.dll is missin from your computer... I already installed the Redistributable Package 2010 and 2012. What is going on??? Please a detailed Explanation, that I can understand :) Thanks a lot!!! #include "stdafx.h"

Perform a copy of Document object of rapidjson

别说谁变了你拦得住时间么 提交于 2019-12-18 08:15:20
问题 I'm making a class and I want to return my class inside a method. My class has a rapidjson::Document object. You can see the previous problems here: LNK2019: "Unresolved external symbol" with rapidjson As I discovered, rapidjson prevent you to perform any kind of copy of the Document object, and then the default copy of the class containing a Document object failed. I'm trying to define my own Copy Constructor but I need to perform a copy of the object. I saw a way to hypothetically copy the