visual-studio

Visual Studio project template multiple Project Types

I've got a project template which I want to appear under both "Visual C#" and its subtype "Test". I can get it to appear in one but not the other by placing it in \Visual Studio 2008\Templates\ProjectTemplates\Visual C# and \Visual Studio 2008\Templates\ProjectTemplates\Visual C#\Test respectively. I've tried setting the following attr...

Will the deprecated /clr:oldSyntax supported in VS2005 and VS2008 still work with VS2010?

Does anyone know (with confidence either way) if Microsoft plans on continued support (as in compiling) the legacy (2003) deprecated (vs2005/vs2008) Managed C++ (MC++) Syntax to target the .NET CLR in C++ code? Microsoft officially deprecated the /clr:oldSyntax with the VS2005 C++ Compiler (Orcas); and thankfully the VS2008 C++ compiler...

Do we have any Minifier Add-in for visual studio 2005/2008 ?

Do we have any Minifier Add-in for visual studio 2005..? that minifies various files inside visual studio. ...

How to use vs2005 libraries in vs2003

Hi is there is any way to use VS2005 libraries in VS2003.Can any one help me how to use vs2005 libraries in vs2003 ...

Can i use SQLSMO in VS2003

Hi Since SQLSMO is available in .net 2.0 that how i can use it in VS2003 which compiled using .net 1.1. What can i do to this. Is it is possible use of SQLSMO in VS2003????? Plz clarify my doubt???? Thanks in advance... ...

Icon of project in Visual Studio

I want certain projects in my solution opened in Visual Studio have different icons..Just like how Visual Studio displays different icons for class project, web site project etc I am not talking about changing the icon of the winforms or other such app being produced I understand I should arrange my code into proper namespaces / fo...

VSTemplate with build action

How do you create a VSTemplate so that it automatically sets the build action as "content" not the default which is "none"? ...

Getting Visual Studio to ignore source control bindings in a solution

Is there a way to tell Visual Studio 2005 to just ignore source control binding when opening a solution? I sometimes need to load a solution for which I don't have access to the source control server, but Visual Studio insists on trying to connect anyway, meaning I have to click "temporarily work offline in disconnected mode" for every p...

Visual Studio addin: context menu for all files

I created this Visual Studio addin a while ago for saving shortcuts to files as a more extensible alternative to an MRU. The problem I've had with it since the start is the context menu item only appears for source code files - not .sql, .js, .aspx and so on. This is a snippet of the code used for registering the context menu item: Co...

Is it possible to include only required dlls and not the entire .Net framework?

Hello How do I only include certain dlls of the .Net framework which are used in my program along with the setup project instead of installing the whole framework? Thanks ...

Visual studio or resharper shortcut to close currently selected file in IDE

Is there a shortcut in VS 2005 or resharper to close the current file. or "save and close" would be even better ...

How do i automate adding a "using" statement to every files in a folder, namespace or project with Visual Studio 2005 / resharper

I am using resharper to do a big refactoring and i keep going from file to file and adding the same namespace over and over again in the "using" section is there anyway to add a "using" statement to every single file in a folder, namespace or project? Even though some files wont need the reference, most do, so it will save lots of time...

VisualStudio generated DataSet Exceptions

Is there anyway to determine the Exceptions that can be thrown by methods in a DataSet that has been generated by VisualStudio (using the Data > Add New Data Source menu option) other than look through the generated code? ...

Collapse projects in Solution Explorer

How can I collapse / expand all projects in Solution Explore using keyboard? ...

Rebuild all Interfaces based on directory of Implementations.

I like using Resharper. They have a feature for extracting an interface from an implementation. My solution layout is such that I have one directory for implementation, and one directory for interfaces. What I would like to be able to do is point to my implementation directory, then point to my interface directory and have it rebui...

msbuild fails to register output

Hi, I'm trying to get our build scripts (which use MSBuild) working correctly on Vista and am finding that projects that have the Register Output (in linker options) option set to True fail to build from the command line with something like this: Project : error PRJ0050: Failed to register output. Please try enabling Per-user Redirect...

Visual Studio 2008 - how to step into (F11) reflected code

What needs to be done to be able to step-into (F11) the reflected code. I am creating the object using reflection: myObject.GetType().GetConstructor().Invoke(myParams) and I want to go into the constructor's code. If I press F11 it just skips the constructor's code ;( but at the same time if I put a breakpoint at ctor and hit F5 - ...

Documenting a DB (sql server) with visio or something better?

Hi .. been reading a few bad reports about viso and documenting DBs ,... I just want something simple to document the DB and show all the keys and relationships... Is visio the right way to go? .. its a fairly small project and visio does carry a price tag... I am using vs 2008 and this has database diagrams integrated but i don't thi...

Can I separate a big dll into 1 dll per class?

From Can I build 2 or more dlls from C# project in Visual Studio 2008?, I have another idea to create only 1 big project. After that, I separate a project dll(that contains many classes.) into 1 dll per class by using post-build event to call Win app project(for separate a big dll). How to do this? Moreover, I need to manage attached fi...

Is there a tool to monitor synchronisation objects (mutex, events, semaphores) in Windows?

In Windows, is there a tool to monitor the status of process synchronisation objects? ie. event/mutex : signaled or not signaled semaphore : count Better yet, to log which thread did what, eg. "thread #5421 Signal Event - testevt" ...