visual-studio-2010

Visual Studio 2010 Exceptions dialog is empty (as of today)

Starting today, I noticed that the Exceptions dialog within VS2010 appears empty, and I can therefore not make any selections within it. I am not sure where to go to begin trying to fix this, as I see no error or anything. This has previously worked. Following is a screenshot: I have tried checking if any updates were installed recent...

Change color of () and [] in VS2010 IDE

I'm quite familiar with Tools -> Options -> Environment -> Fonts and Colors. I have a highly customized color scheme in VS2010. My question is this: Can I change the color of parentheses and square brackets (not curly braces) without changing the color of Plain Text (the group under which these characters reside). ...

C# in VS2010, using WCF, Hierachical Certificates and IIS6

Hi guys, We've been working a lot in an application developed in VS 2010, C#, and WCF. We use Transport as the security mode, and in the TransportSecurity Properties set to None and None. We are hosting the service in IIS6. After working a lot we managed to make it work using https. The Certificate we used was a self created one, creat...

How to link multiple tables in VS2010 RDLC Reports

I have two tables which are linking together by primary key... as an example Genre ----- GenreID GenreDescription Track ----- TrackID GenreID TrackName I want to show like the following TrackID Name Genre 1 Track1 Pop 2 Track2 Pop 3 Track3 Rap 4 Track4 Rock How can I write custom SQL ...

Create 2 different versions of the same assembly

Hello, I am creating a .NET assembly. I want to have 2 different versions of this assembly. The only difference between the 2 versions is a guid string which is embedded in a .cs file. So for version 1 of the assembly, the guid will be ECABAFD2-7F19-11D2-978E-0000F8757E2A and for version 2 ECABAFD2-7F19-11D2-978E-0000F8757E2B How do I ...

How to re-enable standard C# errors in error list after uninstall?

I've noticed that ReSharper disables the standard VS2010 C# language service's error reporting to the error list. I have to do a full build in order to get C# to provide errors that ReSharper doesn't report. When I uninstall ReSharper, C# remains in its disabled/broken state. How can I re-enable it so that I get language service-genera...

Why am I getting these errors in C#?

EDIT: I got rid of most of my errors. Thanks for your help. There's something wrong with my while loop (in my Form class), but basically, it tests to see who the winner of the "race" is in my application, and it also starts the application (Shark.Swim). Once it finds out who the winner is, it needs to get to the "payout" method in my B...

Exclude certain projects from stepping through during debug in VS2010?

Hi, I am working on a couple of projects (A and B) in a large VS2010 solution (all in C#). There are many cases where methods from project A call through to one or more of the projects in the solution for which I am not responsible, which in turn call through to project B. When stepping through with the debugger from project A, I am f...

Subversion connection with C # in Visual Studio 2010

I am using to connect the library with subversion Sharpsvn but I always get an error. The code is as follows: SvnClient client = new SvnClient(); string targetSource = "http://xxxxxxx/svn/xxxx/xxxx/"; string uriDest = "C:/Documents and Settings/user/My documents/Jesus/project/test"; client.CheckOut(new Uri(targetSource), uriDest, Svn...

Size of a subversion directory

I have a project that takes a checkout in a directory under subversion by sharpsvn. I want to do now is to show the checkout process in a progress bar, but for that I need to know the size of the board, what property or decision of the library I would return the size of the directory? Thanks in advance! ...

Database Explorer option missing in view menu

Hi, I'm not able to see "Database Explorer" link in view or view-other menu. Rishi ...

How to perform own assertions with coded UI testing

Hello, I'm working with the visual studio 2010 codedUI tests. I want to be able to perform a little more than i can at the moment. e.g. I can can Assert if a particular field "AreEqual" to or "Contains" etc, but i want to do more. eg, i want to check if the field contains a numerical value within it. I edited the UIMap.Designer.cs an...

Visual Studio C++ Express 2010 - does it work with unmanaged code?

Does Visual Studio C++ Express 2010 work with unmanaged code? Or is it only managed? ...

Visual Studio data-driven tests

Hi, I'm using a TextContext property to access the current row in an Excel file. The test is repeated for all rows. Is it possible to access all rows in a single step? Rows are related, hence for me one sheet should be a complete run. Edit: I add some code as requested: int result = this.TextContext.Rows[0]["GlobalResult"]; foreach(va...

VS2010 Ultimate where do I get my .exe ?

Sorry for the dumb question... I'm trying to make a simple executable that reads something from a file (in same folder) with ifstream and processes it.. I made an "empty c++ project", added a main.cpp to source files, tried to run it as debug/release, tried to rebuild the solution.. have searched all the subfolders in my Projects folder...

Four binaries out of Visual Studio/C# compilation.

I compiled a simple program (HIR) in Visual Studio 10.0 (C#), and I got the four binaries in a Debug/Release directory. HIR.exe HIR.pdb HIR.vshost.exe HIR.vshost.exe.manifest I guess that HIR.exe is the binary, and HIR.pdb is debugging info. However, what are HIR.vshost.exe and HIR.vshost.exe.mainfest for? In terms of deployment, d...

Visual studio 2010 Requires Run as Admin to build website

I am using Visual Studio 2010 ultimate and have a solution that contains a website project. Under XP Pro evrything built fine. I moved over to a new machine running Windows 7 Ultimate, and now when I go to build the website I get the following error meesage: ------ Build started: Project: C:...\WebSite\, Configuration: Debug Any CPU -...

How to find classes in VS

How to find all Exception classes represented for example in System.IO namespace. Is it possible to do in VS? ...

TFS: Ignore certain file from pending changes

Hi all, Here is my problem. I have a certain files from the solution (let's say Web.config) that I've changed and will never want to check-in since the changes are referring to my machine only. Is there a way to say in TFS to ignore changes in a certain file and remove it from pending changes window. Of course, I can skip this file in e...

Visual Studio 2010 Property Help

In Visual Studios 2005 and 2008 one can see a short sentence or two describing each property in the Forms Designer. This doesn't seem to be there with Visual Studio 2010. Is this an option that I have yet to turn on? Or is there something I just don't understand about the Help system? I would like quick access to information about th...