visual-studio

Embedding Intellisense Xml Documentation in Assembly?

I have an assembly containing very thorough XML-based documentation, which is used through Sandcastle to generate the help-files for the product. We also use the output XML files for providing proper Intellisense in Visual Studio when programmers use the assembly obviously. In order to do this, it seems we have do both supply the user w...

Solution: Per application, or per application suite.

Often multiple applications share a large codebase of libraries that change often in development. In these cases, I prefer to create a solution named after the suite, and include separate projects for each application and the shared libraries. Is this a good approach? How do others structure their code bases for things like a suite of...

Debugging with exceptions: How to work around 'Break when thrown'

I'm getting tired of clearing the Debugging->Exceptions option Break when thrown to get past an exception I handle properly, then setting the Break when thrown option to find the source of a subsequent exception not handled properly. I would like a way to exclude certain try blocks from Break when thrown, with something like preprocesso...

VS2005 + cant select windows service as project type

Hello, i was just about to finish up my project and install it as a windows service. I have the installer, etc. - everything i need. When i went to choose Application Type, Windows service does not appear as an option. Here is the kicker. When I dev in VB.NET, i have that option. The project mentioned above is in c#. Also, if i try...

Visual Studio debugger tips & tricks for .NET

I've been working for years with VS's debugger, but every now and then I come across a feature I have never noticed before, and think "Damn! How could I have missed that? It's so useful!" [Disclaimer: These tips work in VS 2005 on a C# project, no guarantees for older incarnations of VS or other languages] Keep track of object instanc...

Is it possible to communicate with the Visual Studio debugger programmatically while debugging?

I would like to control options on the debugger without using the debugging GUI's, preferably from inside the code being debugged. I would think that would be quite difficult, but maybe my debugged code can request a service from independent code that will communicate with the debugger. This relates to another question of mine on contr...

How do you set ASP.NET Development Web Server to not cache any content?

I use the ASP.NET Development Web server (also known as the Visual Studio Development Web server) to do local web site debugging and testing. I've pretty much found exact functionality with IIS with the dev web server. However - where can you manage the settings of the dev web server - specifically regarding never caching any content -...

Is there a .NET Tool/Add-in available which allows you to easily rearrange the order of Regions, Subs, Functions, and Member Variables in a Class?

I'm looking for a .NET Add-in that reads in the contents of the Current Document window, lists the header declaration of all Regions, Subs, Functions, and Module Level Variables, and provides a simple Move Up/Move Down buttons to rearrange their order. ...

Can I create transparent buttons in Visual Studio 2005 with C#

I have a user interface that requires placing some round buttons in a C# project with some data behind them. The buttons are System.Windows.Forms.buttons and I have used a GIF image with transparency to create them. However, the transparent areas aren't transparent. I've looked for references online but haven't found any suggestions fo...

How can I AutoIncrement the assembly (build) number in Visual Studio?

How can I AutoIncrement the assembly (build) number in Visual Studio? Duplicate: /questions/650/automatically-update-version-number ...

StackOverflow atom feed to use with VS2008 Start Page

Is there a URL for StackOverflow that I can use on the VS startpage in place of the never updated MS page? The URL that VS uses can be set on the Tools->Options::Startup dialog. I've tried http://stackoverflow.com/feeds VS complaints with the following error: The current news channel might not be a valid RSS feed, or your interne...

How do I build two different apps from one Visual C# project?

I have a source base that, depending on defined flags at build time, creates two different apps. I can build both of these apps using a Makefile by specifying two different targets, one that compiles with a flag and one that compiles without, and having an aggregate target that builds both. How do I do the equivalent thing from Visual C...

Visual Studio unit tests throw MissingMethodException when assembly is in GAC?

My application contains a piece of code that executes inside of Component Services, so we need to register our business rules layer (and its dependencies) in the GAC. One of those dependencies is FooCore.dll, which contains classes and services visible to the entire app. Everything was working fine, until I added a new method to a class...

Open Source .Net Reporting Tool

I am looking for a reporting service/tool for visual Studio. My only restraint is my web server is off limits to me as far as installing ANYTHING. So I need something I can just include in my project. My users need to be able to export a report to PDF and without being able to use Crystal I am pretty much lost. Any ideas? ...

Context help in Visual Studio

Is there a way to change the context sensitive help in Visual Studio so that it will only search against the text under the caret instead of a complilation error in your code? More info: After you compile and receive a compilation error(underlined), placing the caret within the underlined text and pressing F1 will take you to the Compli...

Include directory in VS 2003

Where is the setting in Visual Studio 2003 to set the include path for individual projects? I know about the VC Directories option in Tools>Options but that is machine specific and won't help when I hand this off to other developers. ...

Internationalisation in Visual Studio

I'm fairly new to Visual Studio and am wondering how best to plan for translation in a new project I'm starting. I need to provide English, German and French. I have used eclipse a lot in the past and there I just developed a new app and when it was complete I could just start a wizard to externalise strings into a resource file. The st...

Version control "in the clouds"

I'm a developer who works on both individual and group projects using Microsoft Visual Studio. I could setup one of several different source control packages, such as VSS, SourceGear Vault or SVN on a server of my own and access them remotely; however, I don't want to deal with the hassle of setting it up, configuring it, etc. Does any...

Finding out-of-date or missing dependencies or output files in a Visual C++ solution (or: Why does Visual Studio insist on building my entire solution, even though nothing's changed?)

I've got a solution containing multiple projects. I'm only changing the code in one of them, but every time I hit Ctrl+Shift+B, Visual Studio rebuilds all of the others. I want it to build the other projects, so this is good. What's not good is that, normally, it would see that there was nothing to do. I have a wonky dependency somewher...

Krypton Form not showing up in Visual Studio Professional 2008

I have just installed the Krypton Toolkit 3.0.6 from component Factory. I find that in the create new Project Dialog Box , Krypton Form does not show up as an option. I am sure it used to show up ( and I have actually used it in an earlier version of krypton toolkit).But after the new install it does not. Has anyone else faced this situ...