visual-studio-2008

How to use multiple localtestrun.testrunconfig files in a solution

Hi, I am interested in how Visual Studio picks up a localtestrun.testrunconfig file and then how it uses it to establish which files to deploy to the test run folder? I currently have two problems: I have a visual studio 2008 solution which has both a web application project and a web services host project. I would personally prefer...

Is there a way to display the build time of an entire solution in Visual Studio ?

I know there is a way to display the build time of each project contained in a solution in visual studio. But what I'm looking for is the total time it took to build an entire solution, from the moment I clicked on build, to the moment it was done. Is there anyway to do this ? Running Visual Studio 2008. ...

Visual Studio 2008 - Team Explorer - Keyboard shortcut

Is there a keyboard shortcut to switch to Team Explorer? For example, to switch to Solution Explorer it's CTRL+ALT+L. But I cannot find one for Team Explorer. Oi!? ...

some visual-studio 2008 questions

I have some visual-studio 2008 questions: Can VS2008 open VS2005 projects ? Is it possible to install VS2008 on mini laptop ? (intel atom, 2G DDR) if VS2008 isnt work, is it take any resource ? thanks in advance ...

Do I need to install the extra stuff like emulator to play with my PDA application?

I just installed visual studio 2008 pro and following the instruction on MSDN, I am supposed to install DeviceEmulator BSP. But I found out that there is an emulator integrated with VS2008 already and working properly. So just wondering that since an emulator has been embedded with VS2008 pro already there should be no need to install a...

Telerik RADControls for WPF : Improving performance

Today I started using the WPF controls on a small dev project. One solution with three projects (a function library, a console app for testing, and a WPF app for the main UI deliverable) The form has less than a dozen controls at this time (a couple of textboxes, some buttons, and the form itself). The controls are a mix of Microsoft and...

Issues with ReflectedDefinition attribute

I have this code that does not compile anymore since I am on last F# CTP 1.9.7.8: [<Struct>] type MyStruct = val mutable private _i : int val mutable private _s : single val mutable private _i2 : int member t.I = t._i member t.S = t._s member t.I2 with get() = t._i2 * 2 and set(value) = t._i2 <- value * 2 ...

How do I backup the data in SQL Server 2008 on a third party host?

Hi, I have a SQL Server 2008 database that is hosted by a third party host (heart internet). How would I go about backing this up? I used SQL Server Management Studio Express 2008 to create the tables within the database, but the backup options within this app seem to be only of use if you have direct access to the server machine (whic...

How to get Resharper to show a Refactoring that it already has.

Whenever Resharper encounters code like this: (treeListNode.Tag as GridLine).AdvertiserSeparation = 5; it presents you with a possible fix (since treeListNode.Tag as GridLine might be null). It says: 'Replace with Direct Cast', which turns the code into the following: ((GridLine) treeListNode.Tag).AdvertiserSeparation = 5; This is...

ASP.NET MVC markup in VS2008 script has warnings with "expected expression"

I've searched SO and have been unable to find this question asked before, but I can't believe I'm the only one running into it. If this is a duplicate, please point me to the original question. In VS2008, I have some ASP.NET MVC markup in a script section on some of my pages. I end up getting "expected expression" warning squiggles on...

OpenCV cvLoadImage() does not load images in visual studio debugger?

Hi all, I am trying to work out a simple hello world for OpenCV but am running out of ideas as to why it is not working. When I compile and run this code: #include <cv.h> #include <highgui.h> int main(int argc, char* argv[]) { IplImage* img = cvLoadImage( "myjpeg.jpg" ); cvNamedWindow( "MyJPG", CV_WINDOW_AUTOSIZE ); cvShowImage("M...

"Index was outside the bounds of the array" in all c# project properties windows

Im seeing that im getting the message Index was outside the bounds of the array. on all my project properties for both c# and vb.net projects. Even if the project is just created it still says that. Any idea what could be causing this? This is a new occurrence, im using Visual Studio 2008 Team Suite, with updated service packs. ...

Solution explorer not showing files, not because the show/all files button.

I have a solution checked into TFS. Looking in the source control explorer I have a .cs file in the solution. But looking in the solution explorer it's missing. When the project is built it takes the file into consideration and it's code is included in the build. A collegue of mine has successfully pulled the code from TFS and built it...

Unable to run "HelloWorld" Azure sample in Development Fabric

I am trying to run the sample "HelloWorld" Azure application in the Development Fabric on my Windows 7 development machine. It compiles successfully, I can see it start up as the "Windows Azure Simulation Environment" appears in the status bar and when I bring up the DF UI I can see that a HelloWorld_WebRole is running but I get the foll...

Visual studio 2008 WPF designer questions

I have 2 question about xaml editor. I need to show xaml editor keyboard shortcut like F7 and Shift+F7 How to make default view as xaml editor? When i choosing 'view designer' button from solution explorer, xaml editor and designer window shown. How to set default editor to xaml. ...

Difference between types of database projects in Visual Studio

In Visual Studio 2008 I have 2 types of database projects: C# -> Database -> SQL Server Project Other project Types -> Database -> Database Project What is the difference between these 2? Is there any reason to use one over ther other? ...

Setting up Windows Form with C#

Any good resources for setting up a Windows Form with C#? Looking to create my first database application using C# and VS 2008. Thanks any advice is much appreciated. ...

Question about moving common routines to the App_Code Class

I have some common code that I would like to share between pages and I have been messing around with App_Code classes which is great but I would also like to use code that affects drop down lists example: Sub Set_FirmType(ByVal Sender As Object, ByVal E As EventArgs) subcategories.Visible = "false" supplycategories.Visible = "f...

Why do the EnvDTE.dll and dte80a.olb files appear in Detected Dependencies in my VS2008 web deployment project?

I have a VS2008 web project which was originally migrated from VS2003. In my solution, I have a web deployment project which uses the Primary Output and Content Files (+ some support files) from this web project to build an msi package. The problem is that under "Detected Dependencies", I see the files EnvDTE.dll and dte80a.olb. Furthe...

VC++ project never up-to-date

I'm using Visual Studio 2008. I have a solution with two projects. One builds a DLL, which is my "production code". The other builds a console app exe, which is my unit test suite. For my unit test project, I have listed as linker inputs the names of the source modules from the DLL. I.e., I have a DLLMain.cpp in the DLL project, and...