visual-studio

How to see the normal tooltip information in Visual Studio instead of the error help

If there's an error in my code and I hover over a piece then the tooltip tells me the error, how do I get it to display the normal data (eg class type) instead? Here's an example of it overriding the tooltip (incase my explanation is fuzzy) Image Here ...

Drawing lines in Visual Studio for Compact Framework 2.0

I'm looking for a toolkit to allow me to draw lines and boxes at design time in Visual Studio 2008 for .NET Compact Framework 2.0. I've looked over the VisualBasic PowerPacks but that seems to be available only for desktop .NET. Does anyone know of any such tool? ...

What is the most efficient way to cut/paste in Visual Studio?

I find that I am cutting and pasting a LOT when I program. For example, method, variable and class names are things I regularly cut/paste. I do use "ctrl+space" after typing part of a word to autocomplete them or popup intellisense when there's duplicates found. But just for straight copy/pasting do you guys have any good shortcuts/tr...

Appropriate VS Project for Multiple .Net Sites

Here's what I'm working with: Several websites Classes/data shared between them (registration systems on individual sites, and management on a central site) A workflow application that runs nightly. I need to be able to cleanly and easily share the classes between the websites and workflow component. I know this is textbook 'DLL!', ...

How to know if an assembly is Private or Public

Hi, I have an assembly (it's a DLL) I want to know if it's private or public?? How can I do that, it exists a program to do that? or Visual Studio can tell you? Thanks ...

How do I manage many configurations in Visual Studio?

Well, I want to manage x86 and x64 platforms, and many different configurations like "Debug CPU UMFPACK", "Release CUDA CNC", etc. When making changes in project properties, how do I apply them to multiple configurations/platforms at once? Have I missed something in Visual Studio? ...

Microsoft Visual Studio (2008) - Filters in the Solution Explorer

In the Solution Explorer when working with C++ projects there is the standard filters of Header Files, Resource Files, and Source Files. What I'm wanting to accomplish is essentially Filters by folder. Lets say the structure of the files was like this: ../Folder1/Source1.cpp ../Folder1/Header1.h ../Folder1/Source2.cpp ../Folder1/Hea...

Compiling UTF-8 encoded source with Unicode line separators

Using the latest version of the Microsoft Compiler (included with the Win7 SDK), I'm attempting to compile a source file that's encoded using UTF-8 with unicode line separators. Unfortunately, the code will not compile -- even if I include the UTF-8 signature at the start of the file. For example, if I try to compile this: #include <s...

Is is possible to develop for windows, in C++, without Visual Studio?

I'm aspiring to work in real-time 3D graphics. I work almost exclusively in C++, with a healthy smattering of win32. Realistically, do I have any sane alternatives? ...

Tortoise SubWCRev.exe Pre-Build Event

Hi, I run the following command as a pre-Build event in Visual Studio 2005 and it works fine: SubWCRev.exe "C:\work\subversion\aviOffline .Net\trunk" "c:\test.tmpl" "c:\testout.txt"C:\work\subversion\aviOffline .Net\trunk" So I change the command to use the in-built Visual Studio macros for better maintainability but it fails. It ...

Visual Studio - Why do .ASPX files take so much longer to load than .ASPX.CS files?

Hi all, This may be a stupid question, but it's something that bugs me on a regular basis, so no harm in asking here I guess. What exactly is Visual Studio doing when I open up an .ASPX file and it takes a good 4-5 seconds longer than if I was just opening the code behind file (.ASPX.CS). I've noticed this happening with VS 2003, 2005...

Why don't code snippets work for me in Visual Studio?

I'm trying to use the simple pre-installed code snippets in VS2008. I can insert them by right-clicking and using Insert Snippet..., but I can't get them to work while typing. If I start to type "for", I get the Intellisense list, and I see an entry for the code snippet, but hitting Tab or Enter just inserts the word for, not the snipp...

What does Visual Studio mean by normalize inconsistent line endings?

It occasionally tells me: "The line endings in the following files are not consistent. Do you want to normalize the line endings?" Then gives me a drop down with different standards or something, Windows, Mac, Unix, and a couple Unicode. What the hell does this mean and what is going to happen if I click 'Yes'? ...

What event is raised when a file is added to a project?

Hello, What are the events that are raised when a new or existing file is added/removed to/from a project (.vcproj or .csproj)? I actually want to handle all possible events that might change the project structure in terms of added or removed project items. This is in the context of creating add-ins for Visual Studio. Can anybody tell...

Visual Studio plugin to allow opening 2005 solutions with 2008?

Does anyone know if there's a plugin for Visual Studio 2008 that makes it possible to open VS2005 solutions in a non-destructive way? What I'm thinking is that the converted project file is kept in memory rather than replacing the original on disk, and .Net framework 2.0 would be targeted by default? The current behavior requires a com...

Change web project to class library

Is there any way but copying the .cs files? Changing the .csproj file? But how? There is a related question, but I'm not satisfied with the answer: link ...

VS addin: View markup. Does exists something like that?

While working with ASP.NET using Visual Studio (2008) I have discomfort issue: source code editor context menu has only item 'View Designer' but nothing about to view markup quickly! To see it you need to open Designer and click Markup label in the bottom of a window. Or use Shift+F7 hot key (by default). So I want to add an item menu ...

Making Vista style apps in C#

I'm running windows vista and want to get the appearance to look like regular vista programs. Are there any really good tutorials/articles on how to build Vista Style apps? I would also like to learn how to use the native code and convert it to C# like in this example. ...

Why does the Visual Studio IDE sometimes initialize the "this.components object: and other times not?

I've recently noticed some behaviour with the Visual Studio Designer (C#) that I don't understand and was wondering if someone could clarify... One some of my Windows Forms, the first line of the designer generated code reads; this.components = new System.ComponentModel.Container(); When this is the case, the dispose method, in that ...

Spicing up the Visual Studio IDE

Currently I have ReSharper installed to help me develop and edit code, and made a good layout for my Visual Studio (2008) over two screens. I have changed the settings of the text windows (mainly the output Window on the right) to have a black background and smaller text. I tried SlickEdit gadgets yesterday, but it doesn't perform very ...