visual

Run White UI Tests using Hudson CI

I have Hudson CI installed on a linux vm and a slave on windows 7 vm. I have a project running on the slave and it has some unit tests using the Project White Automated UI testing framework. All of those tests involve launching the application first in order to perform tasks like clicking on a button. Problem Hudson builds the proje...

Sanity Check: Managing Visual Studio project references with source control

Hi everyone, I've been asking, searching, rating and reading for about a week now trying to get a decent source control process up together and my major stumbling block has been references to projects in other repositories and managing third party libraries. This was compounded by conflicting views on whether to store binaries in the s...

asp.net listboxes and XML

I have the following XML <?xml version="1.0" encoding="UTF-8"?> <Releases> <Release version="1"> <Status>Development</Status> <Date>18/8/10</Date> <Features> <Feature Name="Org"> <Developer>someone</Developer> <Deatil>ejfkhwekjfhefhw</Deatil> </Feature> <Feature Name="Export"> <Developer>Some dev</Developer> <Deat...

Saving SQL in Visual Studio 2010

Is there a way to have Visual Studio 2010 save the SQL you've developed in the SQL Editor to the current solution? ...

What can one expect from Visual Web Developer 2010 Express

Hello, I'm using vs2008 sp1. I've just downloaded VWD2010 Express. I don't know if I placed to much expectations on it, but there are at least 3 things that made me sad: On the logo it said: "use this product for evaluation only." I've never seen something like that on VWD2008 Express. There's no possibility of creating an empty solu...

Custom test names for test methods on Visual Studio 2010

Hi! I'd like to know if anyone has found a solution for writing human-readable method tests names, so non-tech guys may read test list and they'll be able to understand what's going on, and, in instance, programmers won't need to use "non-tech-guy-friendly naming conventions" like "Whatever_Whatever2_Whatever3_DoesHelloWorldTest" anymor...

disable / remove .NET Framework 3.5 language pack in windows 7

Windows 7 comes with the .NET Framework 3.5 already installed. Because I installed the Dutch version of Windows 7, the errors thrown by .NET 3.5 are also in Dutch. Not very practical when debugging in Visual Studio, I want the English exceptions. In Windows XP this was not a problem, you could uninstall the language pack (Install / Unin...

How do I generate a diff report for non-coders?

I've used many of the diff tools listed here. What I haven't found is one that has good reporting tools. The changes to our software baseline that will be reviewed at a change control board. I am looking for a diff tool that will produce a report of differences that can be viewed by the review team using a common file format (pdf/w...

I'm getting Invalid expression term ":" error if I use <%:%> with VWD2010 Express

Hello, I'm getting Invalid expression term ":" error if I use <%:%> with VWD2010 Express, which I believe works with .NET4 framework. Only <%= %> or <% = Html.Encode()%> work. Is there any other configuration to apply or VWD2010 doesn't support that syntax? EDIT Here's a sample code I'm using <th><% : Html.LabelFor(x=>x.registrationD...

How to enforce documentation of private methods in StyleCop?

Our team has some code guidelines that I would like to enforce via stylecop rules. For most of the things a Settings.Stylecop file is used. However, I would like to enforce documentation for private methods and I can not find the way to do this in the Settings file. If I right-click on a project and select "stylecop settings", I can unch...

WCF REST Uri on Help page is not Correct.

Hi there, Been writing my first WCF Rest service and its going well... but i have a small issue, can anyone help? When i goto my help page which on local pc is like so http://localhost/WcfRestService1/help It displays the following, but the URI is wrong, notice the URI is blank or only asks for the parameter {id} Uri Method ...

Updating JScript intellisense hangs VS 2010

I have a web application and whenever I load it in VS 2010 RTM, the left hand corner of VS says "updating JScript intellisense" which never completes. When I click anywhere in the editor (becuase the solution has finished loading), I see a balloon on the right hand corner saying Visual studio is performing an internal operation...) and ...

Use of ATL Property in a Property Sheet

In Visual Studio 2005, if I right click on a C++ project file and select Properties, under Configuration Properties - General there is a set of properties called Project Defaults. One of the properties under Project Defaults is Use of ATL. If I right click on a property sheet (which the project inherits) in the property manager and sel...

How can I set the default build target to x86 for all projects, in Visual Studio 2008?

Is there is a way to set the default build action to x86, instead of Any CPU in Visual Studio 2008? That way all new projects will be compiled for x86, and great features like edit and continue will work. Perhaps a registry hack or somthing simple, like a global option. Thanks, Carl ...

how to switch between vs 2008 & IE (web page) after making changes in code written in vs 2008 ?

I am new to the .NET environment. I have not used vs 2008 much more times. I just started to develop some asp.net pages. I can develop asp.net pages & then use the menu bar in vs 2008 to start debugging. When I start debugging the asp.net web page gets displayed in IE. I want to know the trick by which we can make changes in our existing...

Is the "publish..." action in VS2008 automatically compile in "release" mode?

I'm a bit confused about all that Does <compilation debug="true"> in web.config mean that you are in Debug mode? I guess no? Is this related to debug/release mode? Is the "publish..." action in VS2008 automatically compile in "release" mode? Where can I bind "publish..." action to "release" mode? When I "publish..." a project and if I...

Visual Studio Navigation Short Cuts

In the Visual Basic 6.0 IDE, it was possible to navigate to the start of the next (previous) subroutine or function by pressing CTRL + Down Arrow (Up Arrow). This does not work in VS2010. Is there another key combination for this? Can it (has it) be (been) implemented? ...

Visual Studio TFS build with code coverage

Essentially what I would like to do is write a visual studio build script that will only build the solution if my code coverage requirements have been met. So essentially, after compiling and running the automated testing of the solution, I want to pass the build (working with Team Foundation server) only if a certain % of the code is c...

C library equivalent to Visual in VPython?

I'm looking for a simple C 3D library that is similar to Visual in VPython. Ideally, I can describe objects and position them and then change the camera view, etc. Simple usage is important. In a way, it would be similar to retained mode in D3D... Thanks. ...

How to use an object in more than one form in Visual C# ?

Hi. I'm new in c#. I have read some book about c# for beginners. Now i can code simple applications. I have 2 forms and 1 class in a project. I want to use a object from that class in 2 forms. I want first form to set a property of the object and secont to display this property. How can i do it. Please help me. Thanks ...