visual-studio-2008

XML Deserialization Permissions Error

I'm trying to use VS 2008 t publish a website to a virtual on my computer. The website runs just fine in VS2008 while debugging, but when I publish it, I'm getting the following error. Access to the path 'C:\dummy.xml' is denied. Description: An unhandled exception occurred during the execution of the current web request. Pl...

How do I stop Visual Studio from inserting "object" when I type "new {"

When editing a C# source file, I type new { Visual Studio auto-corrects it to new object{ Is there a way to stop this behavior? ...

How to bring Visual Studio features to Eclipse?

Hello, Visual Studio refugee here. I've had to switch to Eclipse to write a couple of Java apps and I am really missing all the VS2008 goodness I've come to rely upon. I am new to Eclipse, so I simply might not be finding what I need. With that in mind, how do I replicate the following in Eclipse. Right click on a source code tab, a...

How to build in auto-updating for an outlook addin?

I'm building an outlook addin, and I was wondering if there was any standard way to have the addin update itself when we release new versions (or at least notify the user to visit our website and download/install the newest version)? The naive way I've been thinking about doing is just pinging our server every once in a while to check fo...

Visual Studio add-in API resources

Where can I find examples and API information, besides the MSDN, on creating add-ins for Visual Studio .net 2008? ...

Problem adding GAC reference to VS2008 project

Okay, so this isn't strictly a programming question, but it is a programming-related question. I have a C# winforms project that I am trying to add a reference to the System.Messaging dll. However, when I add the reference (from the .net tab of the Add References dialog), it shows up with a yellow exclamation warning. Right-clicking o...

Capturing IR Data using VB.NET

Just found an old IR reciever (Microsoft eHome Infared Transceiver) and i'm trying to write an application that can use data it captures... Any examples or jumping off points for this are appreciated. Thanks! ...

visual studio 2008 (c++) additional directories for debugging?

In prior versions of visual studio one could specify paths for DLLs when debugging an application. I do not see a way to do this is version (2008). Is this due to the move toward deployment of apps with all DLLs, etc in the application's directory(ies)? Am I missing something, or is there no way to do this? EDIT: It was in VC6 I thi...

How do you get server blocks <% %> to format well in Visual Studio?

I'm using ASP.NET MVC a lot recently which means using server blocks a bunch. Visual Studio does this strange thing when I type: <% } %> and hit enter, I get this: <% } %> Which is unsightly and generally the most horrible thing I've ever seen. I've customized the Ctrl+K+D behavior pretty heavily and when I do this I ge...

VS2008, Add New Item, "Web Content Form" option is missing

Today I realized that I no longer have a ”Web Content Form” option (where you select a MasterPage) when I add new items to my ASP.NET web application. I know how to manually add a MasterPage to a web form, it’s just such a pain – and I really don’t understand why Web Content Forms suddenly are missing. Visual Studio Team System 2008, SP...

Visual Studio 2008 Dual compile

I have a project that i want to compile for 2.0 and 3.5 is there any way to do this in vs 2008? ...

Visual Studio Toolbar

In Visual Studio: New->Project->ASP.NET Web application New->Website->ASP.NET Website What is the actual difference between these two, though we are opening webapplication? ...

Installing nUnit with ASP.Net MVC 1.0

Does anyone have any advice/information on how to install nUnit with ASP.Net MVC? I have seen previous posts which related to the preview releases and involved a ghoulish nightmare of having to create template files, run command prompt and even mess with the registry. Obviously this is far from ideal and given Microsoft's intention to ...

Visual Studio 2008 - Where is the modifiers property of a control?

I need to change the scope of a control from friend to public in my user control - what happened to the Modifiers property of a control? I don't see it in the property sheet. How am I supposed to change the scope of my controls now (besides going into the designer file and changing it in the auto-generated code)? ...

Adding a post-build event to a web site in Visual Studio 2008

I am using a "web site" in visual studio 2008, and i would like to add a post-build event which would append the build time to the web.config file. Is it possible? ...

Uninstall Custom Item Template in Visual Studio

Good Day, I have followed a few online tutorials and managed to install custom item templates using Visual Studio 2008. Is it possible to uninstall my custom templates. I've created several templates while trying to understand this and I don't want a few of these templates any more. I've checked the registry, the Common 7\IDE... fold...

How can I get Visual Studio 2008 to support Windows 9x?

My question is related to this one: "Does Visual Studio 2008 support windows 98?" The accepted answer to that question is "NO", and to support Windows 9x you will need to continue using Visual Studio 2005. I prefer to believe anything is possible (for a price), and I'm trying to find a solution that would let us have our cake and eat i...

Visual studio : Remove and sort using except the System reference

When I use the option : Organize Usings -> Remove and sort from Visual Studio 2008 I would like to clear all unused references but to keep some like System; Is there an option I can set to do that ? ...

beginner c++: virtual functions in a base class

Hi, I'm writing some code where I defined the following base class. class Chorus{ public: //Destructor virtual ~Chorus(); //callback function virtual int callback( void *outputBuffer, void *notUsed, unsigned int nBufferFrames, double streamTime, RtAudioStreamStatus status, void *userData ); virtual void ...

Complicated error LNK2005: already defined C++

Hi, I'm getting the LNK2005: already defined in (...) error when building my project in Visual Studio 2008. I've referenced other related questions, but mine seems to be a bit more complicated due if nothing else to the number of files I'm working with. First, I think it will be helpful for me to map out the #include statements I have i...