visual-studio-2008

Building Visual Studio 2008 Setup projects with the Windows 7 SDK

Is it possible to build a Visual Studio 2008 Setup project with only the Windows 7 SDK installed? My setup project refuses to build because it can't find "C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\", part of the Windows 6 SDK. I would have thought that the 7 SDK would have everything that the setup project needs. A rel...

Visual Studio 2008 beeps when I press the comma key in an IDL file. What's going on?

Whenever I press the comma key while editing an IDL file, Visual Studio 2008 beeps. What's going on? It doesn't appear to do it when editing any other type of file, or for any other kind of keystroke. (I've got Whole Tomato Visual Assist X installed, but disabling it from the menu doesn't turn off the beeping). ...

Changing a project's files based on solution in Visual Studio 2008

In one C# solution I have several projects that share a CommonAssemblyInfo.cs file, so that certain assembly attributes are shared across all projects. This works fine so long as I only have one CommonAssemblyInfo.cs file. However I have several solutions (applications) which use these projects, and each solution has its own version of C...

Static Linking of libraries created on C# .NET

Hello, I'm using VS2008 C#.NET. I created 3 different classes of libraries in 3 projects. I wrote an application which uses these libraries (dlls). What is happening is each project is compiling into a class library. So, I've 3 dlls and 1 exe. Instead I want to have these in two ways: Only class library assembly (dll) which contain...

Running an application from an USB device...

I'm working on a proof-of-concept application, containing a WCF service with console host and client, both on a single USB device. On the same device I will also have the client application which will connect to this service. The service uses the entity framework to connect to the database, which in this POC will just return a list of na...

Can't change key in Visual Studio 2008 installer

Hi, I have a trial version of Visual Studio 2008 Professional Edition but also a genuine serial key from Technet. When I install the application, I cannot change the predefined key. How can I then use the unlimited version (what my key represents)? Thanks ...

Need to show something when item on CheckBoxList is clicked

Hey there, i got this very annoying problem: I have a CheckBoxList getting items from a datasource with it's values and all. What I need is to show some panel when Item with value "33" is Checked. So I Need to get the Clicked Item, Last Clicked, or something... I tried a lot of ways and it just won't work... None of the following 3 lines...

Clang static analyzer on Windows

Does anybody have any success running clang static analyzer on Windows? I have successfully built llvm and clang (using VS 2008). Running scan-build results in the following error: The getpwuid function is unimplemented at scan-build line 35. Some research shows that getpwuid is not supported on Windows platforms. ...

Overcoming .NET problem of displaying binary columns in a DataGridView

If a DataSet contains a column that is a timestamp or other binary value, its associated DataGridView throws an ArgumentException, when displaying any data in that column. That is, assume you have some table containing a binary column such as: CREATE TABLE [dbo].[DataTest]( [IdStuff] INT IDENTITY(1,1) NOT NULL, [ProblemColumn] T...

Filter Visual Studio 2008's "Members" drop-down box.

Myself, along with my coworkers, aren't aware of any way to filter what is show in the "Members" drop-down box in Visual Studio. This is the drop-down box that lets you jump to different methods and functions depending on where you're at inside your project. I find it very useful, but it'd be nice to not show a bunch of items I'll neve...

Default Button - Vb.NET

Hey guys, I have a button that I want to make default, but without the border thing around the button. Is this possible to do? Thanks. ...

Visual Studio 2008 Class Designer - associations

We are attempting to use VS2008 Class Designer for a UML-like class diagram. However, when we create an "association" link between two classes, VS2008 is adding lines to our code! We do not want this. One reason we don't want this is that our idea of association (via a collection parrameter, etc.) is different than VS2008. For exam...

Setting up Subsonic 3.0 on a ASP.NET web application on Visual Studio 2008

I followed the steps on this tutorial video by at subsonic website. Everything seems to be self explanatory but when I copy the .tt files into my Visual Studio nothing happens. I have read other question relating to this problem on this website but they don't seem to fix this problem. I also went into the regedit to find out the gener...

Visual Studio 2008 schema validation for JavaScript

Hi there, I'm having a validation problem with JavaScript in Visual Studio 2008. By default, the validation schema is set to XHTML 1.0 Transitional for JavaScript files. This makes it difficult to format a lot of comments and code while I'm writing it (although it looks fine after all the semicolons are in place and such). I have a s...

Possible to work with vs2008 project files in vs2010

I would like to start using vs 2010 for the IDE benefits. The problem is the rest of my team consider it "a beta" which it is. And right now we're waiting for the RTM to release. Is it possible for me to use VS2010 to open and edit VS2008 projects and solutions, but have them saved back to vs2008? Are there any pitfalls in doing this? ...

Dettaching Nunit from VS debug mode takes too long

I am using VS2008 and Nunit. My application uses Spring.NET Framework for dependency injection. I attached Nunit to VS to debug. Loading Nunit takes time and even worse after the test fails/success, I stop it. deattaching duration is more than 2 minutes. I tried to restart everything, clear the cache on "\WINDOWS\Microsoft.NET\Framework...

InnerChannel replacement in SoapHttpClientProtocol when moving from VS2005 to VS2008

In a project I'm working with we're using external services exposed by SOAP. In the proxy classes to access these services generated by Visual Studio 2005, the member InnerChannel was exposed, but this is not the case with the proxy classes generated by Visual Studio 2008. I'm trying to do this, but of course get an error because the me...

Search and replace in VS2008 - linebreak

If I need to replace a text <p> this text including the paragraph needs to be replaced </p> How can I do this with VS2008 "search and replace"? EDIT One way is to use regex like suggested by Daniel. Its just pretty complicated. The real searchexpression at the end was: \<div id="searchStore"\>\n[^\<]*\<[^\>]*\>\n[^\<]*\<[^\>]*\> ...

Which runtime libraries to ship?

I work on C/C++ using Visual Studio 2008. I believe that I am not concerned about which runtime libraries are being used by my code as I have the developer setup. But when the executable is shipped, the runtime libraries being used need to be shipped alongwith. Am I right? If yes, how can I identify which shared libraries are actually g...

Visual Studio 08 will not allow me to create Silverlight project

So I installed the Silverlight 3 SDK a while ago and VS worked fine. Yesterday I unisntalled the Silverlight 2 SDK. Then when I tried to create a Silverlight project I got an error stating You need to install the silverlight 2 sdk before creating a silverlight project Why? Is this required? I unisntalled the Silverlight 3 SDK and ...