visual-studio-express

How do I “run until this variable changes” when debugging?

Deadly 提交于 2019-11-29 11:06:16
问题 When debugging my C#, I often want to know when a variable's value changes and then investigate the state of the program. Currently, I do it like this: Watch-list the offending variable. Physically spam F10 (shortcut for Step Over) until I see the value change. However, the number of F10s required is annoying. Surely this has been automated, I thought. But I cannot find this feature in my Microsoft Visual C# Express , which surprises me. After all, the Watch-list does automatically highlight

error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>'

梦想的初衷 提交于 2019-11-29 10:58:59
I am unable to understand this error.This error is not in the class that i am debugging . (Is it ?) The error is : c:\program files\microsoft visual studio 10.0\vc\include\fstream(890): error C2248: 'std::basic_ios<_Elem,_Traits>::basic_ios' : cannot access private member declared in class 'std::basic_ios<_Elem,_Traits>' 1> with 1> [ 1> _Elem=char, 1> _Traits=std::char_traits<char> 1> ] 1> c:\program files\microsoft visual studio 10.0\vc\include\ios(176) : see declaration of 'std::basic_ios<_Elem,_Traits>::basic_ios' 1> with 1> [ 1> _Elem=char, 1> _Traits=std::char_traits<char> 1> ] 1> This

Source Versioning for Visual Studio Express

自古美人都是妖i 提交于 2019-11-29 09:16:50
Is there any Visual Studio Express plug ins for source versioning? I am starting a project on my own and only have the Express version of Visual Studio 2008. Short answer: No. The Express editions support neither the Add-Ins nor Source Control providers (SCC plug-ins). While there are ways to make this work, they are undocumented, violate the license and have caused legal trouble before… Way I do this is I have TortosieHG installed and then in visual studios express i went to Tools>External Tools. I created the following enteries: Title: HG New Repositry Command: C:\Program Files\TortoiseHg

Can Visual Studio Express run from USB drive?

家住魔仙堡 提交于 2019-11-29 07:58:55
Using an arbitrary Windows machine (2000/XP or later), I can install Eclipse CDT to a USB drive move that USB drive onto a different Windows machine--one that does not have any form of Eclipse software already installed, and potentially a different version of Windows (but 2000/XP or later) use Eclipse to develop application-level C/C++ programs on that second machine (and that includes using the debugger), running directly from the USB drive without copying anything to C:. I can do all this without having Administrator privileges on either machine. I can do the same with NetBeans, and with

How to add WCF templates to Visual Studio Express?

浪子不回头ぞ 提交于 2019-11-28 21:57:32
I am working through the book Learning WCF by Michele Bustamante, and trying to do it using Visual Studio C# Express 2008. The instructions say to use WCF project and item templates, which are not included with VS C# Express. There are templates for these types included with Visual Studio Web Developer Express, and I've tried to copy them over into the right directories for VS C# Express to find, but the IDE doesn't find them. Is there some registration process? Or config file somewhere? If you have both Visual Web Developer (VWD) 2008 and Visual C# (VC#) 2008 installed you can copy templates

Deploy .NET (C#) exe application on desktops

亡梦爱人 提交于 2019-11-28 21:41:56
问题 I develop application in C# with MSVC 2010 Express, with Forms/WPF/etc. Application consist of some private assemblies (maybe DLLs) and .exe file. It uses .NET 4 features. How I deploy this application to other computers? Of course if they have .NET 4 I just can send zip of .exe with .dlls and it work. But if they don't have .NET at all (on Win XP machine)? Or maybe they have lower version of .NET? Should I point them to install .NET from internet or package it with my app or what? Thanks 回答1

How can I use NuGet with Visual C# Express?

拥有回忆 提交于 2019-11-28 16:47:06
How can I use NuGet to add a library package reference, when I have Visual C# 2010 Express? NuGet doesn't come up when I search for it in Tools > Extension Manager. I downloaded "NuGet Package Manager" (the .vsix) from the downloads page , but when it prompts me for which versions of Visual studio to integrate into, it only lists Visual Web Developer Express 2010. Visual C# Express isn't shown. So I guess it would work with Silverlight in VWD, but I want to use it with WPF. One of the documentation pages linked me to the 1.0 CTP download page , which included a command-line version of NuGet

Automatically Kill IIS Express Process After Debugging (VS Express 2013 Web)

杀马特。学长 韩版系。学妹 提交于 2019-11-28 11:13:34
I'm developing an ASP.NET (Razor v2) Web Site in Visual Studio 2013 Express for Web, so when I run the site to debug, VS automatically starts up an IIS Express process. When I stop debugging using the VS "Stop Debugging" button, the IIS Express System Tray and IIS Express Worker Process continue running, even after VS detaches. (And, I suspect, carrying a bad state from one run to the next, but that's a different question entirely.) Is there a VS option or project setting somewhere that I can set to automatically kill this process once I hit the "Stop Debugging" control in VS? Yes, add the

Visual Studio Intellisense not working on XAML only on very specific circumstances

时光毁灭记忆、已成空白 提交于 2019-11-28 10:58:42
I'm making a new UserControl , and when I opened it the XAML was not working. I thought that this was odd, as when I was working on my MainWindow it was working just fine. So I checked on my MainWindow. It still works there. Also in C# code. However, if I press CTRL +        it still comes up fine. I'm not quite sure why. I went to Tools➾Options➾Text Editor➾XAML➾General, and the Text Completion section is greyed out (e.g. Auto-List Members, etc.). This is also greyed out when I see it on my main window, but Intellisense works there. Could someone help me? My VS version is VS2012 Express,

“no known features for CXX compiler” when compiling with MSVC++ 2013

眉间皱痕 提交于 2019-11-28 08:22:51
问题 I have a relatively simple CMakeLists.txt that contains the following line(s): target_compile_features(myapp PRIVATE cxx_generalized_initializers cxx_lambdas cxx_nullptr) When I run cmake on a Windows 2012 Server with MSVC++ 2013 Express installed, I get the following error: CMake Error at CMakeLists.txt:61 (target_compile_features): target_compile_features no known features for CXX compiler "MSVC" version 18.0.30723.0. What is causing this error, and what can I do about it? CMake doesn't