visual-studio

Why does Visual Studio add an at sign (@) to my namespace?

I have a web application project called Site, and in it is a folder called SITE (I know, not the best naming conventions, but that's another story). When I check the designer generated code it starts like this: namespace Site.@__SITE__ { Why is the at sign added? I can remove it and the project compiles and runs fine. Also, with or w...

Is this normal MDI behavior when children are maximized?

In my MDI application, I've started noticing that with a child maximized, the other (inactive) MDI children are not maximized. This results in less-than-seamless switching between children, since the new active application shows up normal on screen before it gets maximized. I would expect it to instead keep the background windows maximiz...

Accessing the settings (app.config) of the calling application

I have a WinForms application ("WF"), and a Library called by that WinForms application ("LIB") WF has a Settings.settings (Visual Studio Designer) and app.config combo. I gather than the designer is a front end that auto generates the app.config file. To use those settings from within WF, I use the strongly typed properties of the clas...

Code annotation tool for Visual Studio?

I'm looking for a tool to annotate code in Visual Studio. By which I mean this: I'm debugging and see a line of code I want to make a note about. So I right-click (or use a keyboard shortcut, or whatever) and am able to type in my note about the code. It stays with that line, but doesn't become part of the code file itself. (Thus I'...

Can database fields be dragged and dropped (as textboxes, not a gridview) into an ASP.Net form?

In VisualStudio, when you drag and drop a table or an individual column from a data connection in server explorer, a gridview is created. What I want to be able to do is drag and drop the columns to make a quick and dirty detail form to display an individual record. Is this possible in any way? An even better way to do this would be v...

Utility to search through VS projects looking for string

Can anone recommend a tool for searching my visual studio projects folders to find a specific string value? I have many solutions / projects stored in either the d:\VS2005 or the d:\VS2008 folder depending on the VS version used to create the project. I'm looking for a string and do not have the foggiest idea which project or solution i...

Is there an elegant way to specify an XSD schemaLocation attribute in Visual Studio when the referenced schema file is in a different project/assembly?

EDIT See my solution below /EDIT I have a Visual Studio solution with two projects. Project 1 (call it ReferencedProject) contains an XML schema file (ReferencedSchema.xsd). Project 2 (call it MainProject) contains ReferencedProject as a reference. MainProject also has a schema file (MainSchema.xsd). MainSchema.xsd contains the foll...

Can I make C++ in Visual Studio 2008 behave like an earlier version?

I need to work with some old C++ code that was developed in Visual C++ 6.0. Right now it's giving me compile errors galore. (For instance, "cannot open include file: 'iostream.h'"... because now it should say #include <iostream> rather than #include <iostream.h>). How can I work with this code without having to change it all over the ...

Visual Studio 2008, error c2039: 'set_new_handler' : is not a member of 'std'

So the other day I went to compile a VC++ project I am working on and all of a sudden I get errors in almost all of my files saying: new.h: error C2039: 'set_new_handler' : is not a member of 'std new.h: error C2039: 'set_new_handelr' : symbol cannot be used in a using-declaration "new.h" and 'set_new_handler' are not being used ...

The Microsoft.VisualStudio.Data.Interop.IVsDataProviderManager service could not be found.

I'm using VS2008 to develop an app. Now, whenever I connect to database in Server Explorer, it shows me the report The Microsoft.VisualStudio.Data.Interop.IVsDataProviderManager service could not be found. And whenever I'm trying to Open my LINQ Datacontext in APP_CODE in Solution Explorer, it alerts a pop up msg which says ...

Installing VS2008 on a machine with VS2005 and VS2003 already installed

Hi, Like the title says is there any issues I should be aware of please? Malcolm ...

Launch Microsoft document explorer

In visual studio editor, when F1 is pressed Microsoft document explorer launches with MSDN In my machine i have installed both VS2005 and VS2008.Also MSDn for VS2008. Is it possible to launch MSDN 2008 help from VS2005 Currently i explicitly open MSDN libary for 2008 and search. I feel that is pain ful Thanks in advance ...

How to omit commented lines using RegEx

Hi, can somebody tell me how to avoid commented lines when using a regular expression in Visual Studio? I tried ^[^//]* but it deosn't work. For example, I want to omit following line when I search: //Hello ...

I can't find xsd.exe in Visual Studio 2008?

In Visual Studio 2005 the XSD compiler was in the SDK/v2.0 directory. In Visual Studio there is only a SDK/v3.5 directory has gone and so too has the xsd.exe compiler. Where has it gone? Tony ...

Visual Studio 2003 and satellite assemblies

I have Visual Studio 2003 project and I have set all of the AssemblyInfo fields. <Assembly: AssemblyTitle("FooBar")> <Assembly: AssemblyDescription("FooBar Desc")> <Assembly: AssemblyCompany("FooBar CO")> <Assembly: AssemblyProduct("FooBar")> <Assembly: AssemblyCopyright("FooBar 2009")> These fields are correctly included in compi...

Build Quality

We have 3 branches {Dev,Test,Release} and will have continuous integration set up for each branch. We want to be able to assign build qualities to each branch i.e. Dev - Ready for test... Has anyone any experience with this that can offer any advice/best practice approach? We are using TFS 2008 and we are aware that it has Build Quali...

Microsoft.VisualStudio.Xaml is not loading (vs2008), it errors, how to re-register?

Hi there, recently got an issue when loading vs 2008, it displays this... can anyone tell me how to reregister the file... or something.. I don't wish to reinstall the vs 2008 again.... The Microsoft.VisualStudio.Xaml ({E58C2A8B-BCC4-4559-AD59-D62EB6D58A22}) did not load because of previous errors. For assistance, contact the package ...

save visual studio state

Is there any way to save the "state" of VS 2008 (i.e. open windows, breakpoints, bookmarks, etc.) without closing it? The pain point I'm facing is that VS 2008 crashes on me on a fairly frequent basis (every few days) and when I bring it up I've lost all my "state". Save All does not do this... it just saves file contents. ...

sqlite and visualstudio

How do I set an identity column for sqlite in visual studio? I am performing a new query and am trying to create a new table using script. ...

Can't build dtproj [SSIS] project in Visual Studio

When I try to build a project in Visual Studio 2005 that has a .dtproj file, I get the error message: Make sure the application for the project type (.dtproj) is installed. This project was build on another system, but even after installing SQL Server 2005 & and SQL SP3, it still does not build. ...