visual-studio-2008

XML comments in Resources.Designer.cs?

In my Visual Studio 2008 project, I have this project with Resources.resx which contains images and strings. In order to force myself and everyone else to write at least the XML comments, I enabled the generation of XML comments in the build tab of the project's property. Now Visual Studio gives me some warnings if there are undocumented...

Validation are dissapearing while deployment in asp.net

I have a asp.net validation in test box when i debug and run in vs2008 web developer edition is working fine. But when i display the code in the production server by copy pasting the code in web root folder its not working. I am developing the application using vs2008 web developer edition in windows 2003 server, i am deploying the cod...

Cross-platform source control?

We're doing development for both .NET (Using VS 2008) and Java (using eclipse) Currently, we're using CVS, but there isn't really a good plugin for Visual Studio 2008, so I'm looking at changing to something that has better support for VS 2008 and Eclipse. My initial thought was SVN, as it is really close to CVS, but I'm a bit tempted ...

Why are multiple App_Offline.htm files appearing in Recycle Bin

Hello, I'm not duly concerned but can anyone suggest why since installing Visual Studio 2008 Service Pack 1 I keep finding multiple App_Offline.htm files in my recycle bin. I suspect it's something to do with Visual Studio taking local websites off-line whilst it runs an automated process and then immediately deleting the files (movin...

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...

how to create folder in %windir%/installer/{.....} from visual studio 2008 installer project

Hi! This question is related to my question about how to create a clean minimal setup here: http://stackoverflow.com/questions/1074013/how-to-create-a-robust-minimal-installer-for-windows I managed to create a simple msi installer in visual studio 2008 that does nothing else than installing a .scn file into %systemroot% and it also add...

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. ...

Code J2ME applications with Visual Studio 2008?

I am currently using netbeans 6.7 to develop some j2me apps for a phone. However, I am not very fond of the netbeans IDE and its clunky debugger and would rather use Visual Studio for development. Does anyone here have a tutorial on how to use Visual Studio 2008 to compile and debug J2ME apps? I would like to tie VS2008 up to an emu...

How do I set Visual Studio 2008 C/C++ compiler options globally?

How do I set default C/C++ compiler options for all newly created projects in Visual Studio 2008? For example, I'd like to use the highest warning level. I know I can set these options for each project individually, but I'd like to change the defaults for ALL new projects. ...

How do I Debug a SingleFileGenerator/ Custom Tool?

I am building a Custom Tool code generator using the Visual Studio SDK and basing it on the SingleFileGenerator example. My question is how to enter debug mode on this code? I can currently add my custom tool to a file in Visual Studio but it errors out, I'd like to be able to debug this code if possible. ...

How to create a Visual Studio macro that works with Team System work items

I need to create a macro or VS.net Addin that will insert the current date and time and user name in a field in a TFS work item. The sample macro does not work and I cannot find any way to programaticaly access a TFS work item that is open in the IDE. Is this possible? ...

Commenting Style (i.e. Javadocing C# Version) - (Java Developer Learning C#)

I'm finishing up some of my first C# classes and even though the original code I inherited is completely void of comments, I always put javadoc comments on my methods when I was writing java and my code currently looks strange without those blocks. I normally formatted my comments by using the "Insert JavaDoc" command in Eclipse, which ...

C# Directive to indicate 32-bit or 64-bit build

Good Day, Is there some sort of C# directive to use when using a development machine (32-bit or 64-bit) that says something to the effect of: if (32-bit Vista) // set a property to true else if (64-bit Vista) // set a property to false but I want to do this in Visual Studio as I have an application I'm working on that needs ...

WPF tutorial for creating a custom usercontrol

I'm looking for a tutorial that explains creating custom usercontrols in WPF. I want to have one control that combines a textblock, a textbox, and a button that launches a common fileopen dialog. I have the layout done and everything wired up. It's works but it's three independent controls. Hopefully there is a tutorial out there that e...

Creating Visual Studio Style Installer

I am trying to figure out how to create an installer that looks and behaves like the VS2008 installer. Does anyone know what MS used and whether there is something like it out there for public consumption? ...

deploy .net code using cruise control .net and clear case 7

What is the method I should use for Extracting,Testing,Compiling,Deploying an ASP.NET (.NET 3.5) application from Clear Case 7.0. I am new to .net technology and using visual studio 2008 Professional Edition .currently using thick client Clear case dynamic view 1/ Which View I should use for pulling the data from ClearCase: Dynamic View...

Visual Studio Shows errors until I open the *.aspx.cs page???

The Visual Studio Error List shows like 50 errors about controls and variables not existing. I double click an error, it takes me to it, and after about 1 second they all go away! There aren't any real errors, as my site compiles without errors or even warnings. I know I've seen this before, but I forget how to fix it. Anyone know wh...

Where can I find information on writing a version control system that integrates with Visual Studio?

Basically, I'm doing a lot with Visual Studio lately and in my quest to get a simple version control system that I could host myself, I just thought to myself: how difficult could it actually be to write some VCS that just supports the Visual Studio interface? (And which will be used by just one person, anyways...) (And which will be hos...

Where Does Visual Studio Remember Which Folders are "Namespace Providers"?

OK, this may be really simple, but it is Friday and it has been a long week. I can't seem to find an answer for the life of me. Basically, I have a project in which the Namespace Provider property has been set. When a colleague gets the up to date code from the repository, these properties do not seem to appear at all? (i.e. there is no...