visual-studio

Screen resolution for programming

This is not a question about code but about one important aspect of the task of programming. I work with Visual Studio 2008 with a 15,4'' screen (a notebook) with a resolution of 1280x800. I would like to know what is your favorite resolution? Overall, I would like to know the opinion of people who use 1400x990, as I think it must be ...

Opening minidump file (*.dmp) not possible in Visual Studio.NET 2005?

I have created a minidump using win32 api [DllImport("DbgHelp.dll", SetLastError = true)] private static extern bool MiniDumpWriteDump( dmp file is successfully created. i am trying to open this *.dmp file in another visual studio instance to locate the place of the crash, in visual studio --> FILE--> open project the dmp file op...

Adding a data connection to SQL Server 2008 from VS 2008

Im trying to add a connection to a database in SQL Server 2008 using Visual Studio 2008. When testing the connection, it says that it is successful. However, once I said okay, it complains and say: "Cannot add data connection. Object reference not set to an instance of an object." How do I go about adding a data connection to a SQL Serv...

Case preserving find/replace in Visual Studio

There seems to be no built-in support for case preserving find/replace in VisualStudio (see also a respective feature request). What I mean is: searching for 'BadJob' and replacing with 'GoodJob' would do the following replacements 'badjob' -> 'goodjob' 'BadJob' -> 'GoodJob' 'badJob' -> 'goodJob' 'BADJOB' -> 'GOODJOB' So I am l...

Browsable website while version-controled?

I browsed around here on Stackoverflow and found this topic : http://stackoverflow.com/questions/279/aspnet-visual-studio-and-subversion-how-to-integrate However that didn't help me in my case, or i might just be a little stupid. So to my problem! Installed VisualSVN on a Server far far away and while this works perfectly, i can add m...

can not open the design mode in vss2005

i instlalled vs2005 my operating system is microsoft windows 2000 sp4 but i cannt get the design page when i click design btn. ...

Debug/Release difference

What's the difference between Debug and Release? ...

Escaping out of the Find and Replace box in Visual Studio 2008

I'm in Visual Studio 2008, and I'm editing a CSS file. I use ctrl+f a lot to find stuff around the file. Once I find something, I'm used to using the Esc key get out of the find window and back into the editor. I'd swear this is how it works when I'm at the office, but at home, I have to hit ctrl+tab to get back to the editor window...

Is it possible to test a COM-exposed assembly from .NET?

I have a .NET assembly which I have exposed to COM via a tlb file, and an installer which registers the tlb. I have manually checked that the installer works correctly and that COM clients can access the library. So far, so good... However, I am trying to put together some automated system tests which check that the installer is working...

What .NET functions should be better supported in Mono?

Hi! I'm trying to implement a Visual Studio Addin to support cross-platform development. The addon currently only warns developer when using unsupported functions but I also want to implement a feature that informs him about functions that are implemented but produce sideffects / are unstable etc. Can anyone help me? I would really app...

how can I find the location of the solution/project on my harddrive in Visual Studio?

I want to know where the solution/project is stored on my hard drive. I would have thought right clicking on the project from within Visual Studio would have the information on where it is stored on my hard drive, but it doesn't. ...

Change default XML comment snippet in Visual Studio

When I hit /// in Visual Studio, is it possible to change the resulting snippet from this: /// <summary> /// /// </summary> to this?: /// <summary></summary> ...

Is there a way to customize the tool tip of a custom object in the VS Debugger?

Say you have a custom class call it Foo. When you then have an instance of this class, during debugging, if you mouse over this object, you'll either see the fully qualified namespace name of the type, or if you override ToString in this class, you'll see that. Is there any way to customize what the tool tip will say? ...

Errors in Windows Forms controls in designer view

On occasion, I get the following error in design mode of some user controls in Visual Studio 2008: The file 'UserControl.vb' does not support code parsing or generation because it is not contained within a project that supports code. It doesn't happen on a consistent basis, but it happens enough to be annoying. Are there any...

Microsoft Visual Studio SDK DSL Tools - Any serious takers?

We are considering Microsoft DSL toolkit for creating some abstract designers. I already did some POCs, but would like to get some opinions on the same. Any one here to share their experiences working with Microsoft DSL Toolkit and T4? Also, any pointers to open source DSL projects will help - Eg. Microsoft Service Factory modeling edit...

VS2005: How to not have VS try to parse text file resources as html?

I have included a resource in my Visual Studio 2005 solution that was a file on the hard drive. It is a text file, that contains text, and has a .htm extension. For months it worked fine, until I wanted to edit the contents of the text file. Suddenly Visual Studio insists on syntax checking the file as though it were an HTML file - when...

How can I see which source safe project is bound to a Visual Studio solution?

Is it possible to verify which source safe project is bound to my vs.net solution? When I checkout a file in vs.net, then look up the file in source safe, it seems to be checking out a file from another project. When I look at the directory in 'set working folder' it seems to be ok. ...

SSL Socket in Windows. Library? Synchronous/Asynchronous? Threads?

Hello I have a 2 threads application. One GUI thread and one worker thread (CWinThread) in which I make time consuming operations - calculations and HTTP comunication. I have to switch from HTTP to SSL socket connection. I also need to make a verification of server certificate (is it trusted, is it expired, is it revoked) Which libr...

BaseCodeGeneratorWithSite: supported SDK versions?

I checked that BaseCodeGeneratorWithSite is supported in VS 2008 SDK 1.1. Since the MSDN page is from Nov. 2007 presumably in the 1.0 SDK too. There is a CodeProject article claiming that the class was "public in VS.NET 2002 and made internal in the VS.NET 2003". Contrary to other references on the MSDN the BaseCodeGeneratorWithSite d...

VS Post Build Event

I would like to implement a post build event that performs the following actions A relative path copy of the DLL output (1 file, not all the debug jazz) A register the output DLL to GAC How is this done? ...