visual-studio

Missing dependent assemblies - how to get a compiler error rather than a runtime error

Situation Assembly Adam.dll has a reference to assembly Frank.dll. Adam.dll is placed in a shared assemblies folder and is then referenced by my application as a binary reference. If I run my application it will crash (and rightly so) because Frank.dll is missing. If however, I place Frank.dll in the shared assemblies folder the .n...

Microsoft patterns and Practices, Anyone?

I happend to go through the below site from one of the Stack over flow Questions. http://webclientguidance.codeplex.com/wikipage?title=Getting_Started_Feb_2008 Is this "One of the" way to create our web app from VS? I can create a Website,Web App,MVC web apps. now one more? man, its getting confusing. ...

"My" namespace has disappeared, and other weirdness.

Hi, I'm currently having to use someone else's login on this PC, basically because I'm the guy who replaced him at the company, and he's now living somewhere on another continent, and nobody can get this project he was working on to set up on any other machine... Anyway, I'm trying to access the "My" namespace, and it's missing everyth...

What C++ IDEs on Linux have "intellisense" in par with, or better, than Visual Studio?

There are some Linux based C++ projects in the pipe. What IDEs should I go for that have some kind of "intellisense" in par with, or better, than the one of a bare Visual Studio (that is, without the Visual Assist steroids). (Note that I didn't use the words "as good as, or better". I consider the Visual Studio C++ intellisense everythi...

ifstream::unget() fails. Is MS' implementation buggy or is my code erroneous?

Yesterday I discovered an odd bug in rather simple code that basically gets text from an ifstream and tokenizes it. The code that actually fails does a number of get()/peek() calls looking for the token "/*". If the token is found in the stream, unget() is called so the next method sees the stream starting with the token. Sometimes, see...

Break on thread creation in Visual Studio debugger

Can I set the Visual Studio debugger to break on thread creation? (Note this is not the same as breaking on context switch as asked for in this other question: http://stackoverflow.com/questions/3048064/can-i-set-a-breakpoint-in-visual-studio-c-to-break-on-a-thread-context-switch) ...

Suppressing "is never used" and "is never assigned to" warnings in C#

I have a HTTPSystemDefinitions.cs file in C# project which basically describes the older windows ISAPI for consumption by managed code. This includes the complete set of Structures relevant to the ISAPI not all or which are consumed by code. On compilation all the field members of these structures are causing a warning like the followi...

error updating JScript IntelliSense warnings

How can this error be rectified? What's the cause of this error? Warning 1 Error updating JScript IntelliSense: Object doesn't support this property:@-- ...

Should or can Visual Studio run inside App-V and what are the repurcussions?

There is a debate going in our department to virtualize Visual Studio into App-V, Microsofts Application Virtualization. In the back of my mind, I think doing this will cause problems when trying to debug or run other tasks in Visual Studio but I can't put my finger on any one thing to support my argument. Has anyone had any experience...

Distributed Source Control is not for Visual Studio users?

I remember 2 events in SVN history: TortoiseSVN got usable and VisualSVN got usable. The result of the first: "We will never ever want to use SVN with command line". The result of the second: "We will never ever use SVN & MSVS without VisualSVN" please understand this correct - we do use SVN command line if we need something that can n...

Why is the System.Configuration assembly not included in new projects by default?

Small pet peev. When creating new visual studio projects is there any way to include the system.configuration assembly by default? Almost all of my new projects will need access to the configuration AppSettings. I know it's not much effort to do Project > Add reference, but I imagine that this is a very very common thing for most peopl...

Is there a task manager like application for visual studio?

Sometimes I experience Visual Studio 2010 being very sluggish. I have some plugins, like ReSharper for example, that I think could be the culprit. It would be nice if I could see the processes under visual studio to see what is using up all the CPU. Basically what I am looking for is a Task Manager just like the one in Google Chrome but ...

Visual Studio finish application on Exception

I have some places in the C# application where potential Exception's are not catched, but there is a try-finally block to release resources before crashing in case of an Exception. When I run the code in Visual Studio and an Exception occurs, it breaks at the corrsponding line, marks it yellow and describes the exception. That's fine. ...

what features or tasks in Visual Studio require administrative permissions?

There is a debate going in our department to remove local admin rights to the development workstations we use. I believe this will cause problems for the developers when trying to debug or run other tasks in Visual Studio but I can't put my finger on any one thing to support my argument. What features or tasks require Visual Studio to r...

Anything I can do to improve usability of 'Solution Explorer' in VS2008?

Hi, In solutions that contain a few different projects, I find myself constantly shuffling around in solution explorer looking for a particular file, when the tree gets expanded a little, there are often 4 'pages' of files to scroll through. Does anyone have any tips for making solution explorer a bit more usable? Perhaps Some 'colla...

Visual Studio Changing number of bytes for data type

Is it possible to change the number of bytes a long has in visual studio? Currently when compiling C code sizeof(int) and sizeof(long) are both equal to 4. ...

what is Image Processing ?

I am going to Create an application where user can edit their pictures like color balance effect, gray sheet effect, invert effect , red eye fix etc. My application will be quite resemble to Acdsee Software. So i wanna know that can My application be called image Processing software ? In my point of view Image Proccessing means playing...

Why does calling std::stringstream's good() through a pointer lead to crashes?

I am having problems with a stringstream object. My class has an input stream as a member. I am checking if obj->istream and after thatn if obj->istream->good(). The stream exists but the call to good() crashes. I am in Visual Studio 2005. Any clue? How do I reset an istream? if (soap->is) { if (soap->is->good()) return so...

Visual Studio 2010 Code Analysis - Run on Solution

Hello, I would like to manually run code analysis for an entire solution, not on building the project, and not using FXCop, if possible. I did enable CA on build but it really, really slowed down the build process, and we can't have that. But it seems weird to me that code analysis can only be run per project manually through the menu...

CUDA Linking Error Visual Studio 2008

Hi I am getting the following Linking error while compiling ConvolutionFFT2D from CUDA src 1>------ Rebuild All started: Project: FinalTest, Configuration: Release Win32 ------ 1>Deleting intermediate and output files for project 'FinalTest', configuration 'Release|Win32' 1>Compiling with CUDA Build Rule... 1>"C:\CUDA\bin\nvc...