visual-studio-2012

Visual Studio 2012: Unable to attach the process. A debugger is already attached

限于喜欢 提交于 2019-12-30 04:02:34
问题 I built solution, created application in IIS and mapped it to the application folder. It works fine. Then I go to "Attach to Process", there are two w3wp.exe processes in list, but for one of them I get error "Unable to attach the process. A debugger is already attach." I've googled it but I can't find solution for my problem. 回答1: I have installed Debug Diagnostic Tool v2.0 and as a result I have Debug Diagnostic Service which is started automatically and attached to one of w3wp processes.

Requirements for target application for Visual Studio 11's Graphics Debugger

大城市里の小女人 提交于 2019-12-30 02:20:26
问题 I was super happy when the "Graphics Debugger" feature was announced for Visual Studio 11, I immediately attempted to get it working on various projects I had, unfortunately I've only managed to get it working for Windows 8 Metro applications! Specifically the C++ Metro project templates run and capture all expected information correctly. With Developer Preview versions of Visual Studio, and on Windows 7, any attempt to launch applications under the Graphics Debugger (Alt-F5) crash on

EnvDTE substitute in Visual Studio 2012

ⅰ亾dé卋堺 提交于 2019-12-30 01:20:51
问题 Until now, I have been successfully using EnvDTE to manage Visual Studio Toolbox. There are customized DLLs to deal with different Visual Studio versions: EnvDTE.dll - common VS automation (probably works on all versions) EnvDTE80.dll - to deal with VS 2005 EnvDTE90.dll - to deal with VS 2008 EnvDTE100.dll - to deal with VS 2010 However, there is no EnvDTE110 for VS 2012. Does that mean these is different way of VS automation than using these COM wrapper libraries? If so, how to for example

Publishing vs2012 solution from TeamCity

时间秒杀一切 提交于 2019-12-29 18:39:30
问题 I'm using Visual Studio 2012 and the publishing feature. I have created a publishing profile that deploys my application to a development server, and it works great when executed from vs2012 on my machine. Here is my problem; on the development server I also have TeamCity installed and I would like to trigger the publishing after a build have completed. So I created a simple build step that looks like this: Build file path: .\src\Solution.sln Targets: Rebuild Command line parameters: /p

Publishing vs2012 solution from TeamCity

可紊 提交于 2019-12-29 18:39:02
问题 I'm using Visual Studio 2012 and the publishing feature. I have created a publishing profile that deploys my application to a development server, and it works great when executed from vs2012 on my machine. Here is my problem; on the development server I also have TeamCity installed and I would like to trigger the publishing after a build have completed. So I created a simple build step that looks like this: Build file path: .\src\Solution.sln Targets: Rebuild Command line parameters: /p

Typescript Support for Visual Studio 2017

拜拜、爱过 提交于 2019-12-29 14:18:00
问题 I have recently been trying to learn TypeScript, and in some of the videos I have been watching after installing the 'Web Essentials' extension when working with a .ts file visual studio gives you a pre-view panel so you can see the JavaScript as you type. These videos seem to be using VS 2012. However installing Web Essentials on VS 2017 doesn't seem to have this option, does anyone know how I can get this to work in VS 2017? Does it have the same support for TypeScript? 回答1: So TypeScript

Typescript Support for Visual Studio 2017

一个人想着一个人 提交于 2019-12-29 14:16:09
问题 I have recently been trying to learn TypeScript, and in some of the videos I have been watching after installing the 'Web Essentials' extension when working with a .ts file visual studio gives you a pre-view panel so you can see the JavaScript as you type. These videos seem to be using VS 2012. However installing Web Essentials on VS 2017 doesn't seem to have this option, does anyone know how I can get this to work in VS 2017? Does it have the same support for TypeScript? 回答1: So TypeScript

How to return Json object on Web API Controller

百般思念 提交于 2019-12-29 11:35:13
问题 I used this below code on my asp.net controller to return Json object on my Ajax on javascript public JsonResult myMethod() { // return a Json Object, you could define a new class return Json(new { Success = true, //error Message = "Success" //return exception }); } Jquery-Ajax: $.ajax({ type: "POST", url: url_ , data: search, success: function(data) { //Show Json Properties from Controller ( If Success == false show exception Message from controller ) if (data.Success) { alert(data.Message);

Census Geocoder JSON output convert to Xml dataset using JSON.net in C#

佐手、 提交于 2019-12-29 09:21:53
问题 I am creating a .Net app in Visual Studio 2012 that queries an address table in my SQL dB and uses the Census Geocoding API to return the specific MSA for each address. I have existing code for the dB query, but I am having trouble with converting the Json output of the Census API to an Xml dataset. I am using Json.net to serialize the json output and then deserialize to .net in order to load into an XmlDocument. Unfortunately, I keep getting an XmlException error: Data at the root level is

VS2012 Error: The application was unable to start correctly (0xc000007b)

守給你的承諾、 提交于 2019-12-29 08:43:07
问题 I received the error "The application was unable to start correctly (0xc000007b)" after attempting to run my exe file of my C++ SFML 32-bit program I built in Visual Studio 2012. I statically linked the SFML dlls in my project, but incorporated the following dlls along with my program: libsndfile-1.dll openal32.dll msvcp110.dll msvcp110d.dll msvcr110.dll msvcr110d.dll What is the problem? 回答1: The actual error code that you encountered is 0xC000007B . That is the NTSTATUS error code STATUS