I've followed the instructions on http://blogs.msdn.com/b/vstsqualitytools/archive/2009/12/01/executing-unit-tests-in-parallel-on-a-multi-cpu-core-machine.aspx to the letter and I can execute tests in parallel.
So far so good.
Now the problem: I can't set the parallelTestCount to zero (Auto configure) or to a value above 5. Running fiv...
C++0x adds a new storage specifier thread_local which is not yet implemented in VS10.
However the Parallel Programming Library defines a Concurrency::combinable class which has a local() function which Returns a reference to the thread-private sub-computation.
Are there semantics for thread_local that can't be (easily) covered by havin...
I just switched back to c++ after leaving it for awhile and I can't seem to remember how to make nice function/class comment boxes in VS. What I'm looking for is something like this:
/**
* Convenience struct: coord
* -------------------------
* Simple C++ struct (which is like a class, except there are
* no methods and everything...
(renamed from "Why does my c# project build successfully under Debug/x64, but fail under Release|x64?")
Here's my problem...
One of the projects in my solution builds just fine under Debug|x64, but when I switch to Release|x64, my build fails (both locally and on my CI build server) with the following error:
An attempt was made to l...
So I've run into a somewhat maddening bug (perhaps) with Visual Studio database projects, specifically in 2010 Ultimate.
Basically, let's say I have two .schema.sql files, like so:
File 1
CREATE SCHEMA [Test]
GO
File2
CREATE SCHEMA [AuditTest]
GO
This compiles down and is deployed as:
PRINT N'Creating [AuditTest]...';
GO
CREAT...
I think I've got a fundamental misunderstanding going on, concerning a SQL Server Reporting Services report, which I'm trying to make run locally in a WinForms app (eventually it will be in a WPF app, but that's later). I'm don't write many reports, and whenever I have in the past, I've used Crystal Reports. But we're trying to get awa...
How can one enable/achieve XML comments for C++ methods ala C# and VB in Visual Studio 2010? It appears this functionality isn't enabled/available by default.
Targeting initially managed C++ projects.
...
I have recently installed VS2010. The installation creates the short cut for VS2010 command prompt but when I open up the command prompt I get the error: Cannot determine the location of the VS Common Tools folder. I checked the environment variable VS100COMNTOOLS and it has value: C:\Program Files\Microsoft Visual Studio 10.0\Common7\To...
This is my code:
public class RegularPolygon
{
public int VertexCount;
public double SideLength;
public RegularPolygon(int vertexCount, double sideLength)
{
Contract.Requires(vertexCount >= 3);
VertexCount = vertexCount;
SideLength = sideLength;
}
[ContractInvariantMethod]
private vo...
How can I convert a folder of .resources files to .resx? I don't want to have to manually convert each file.
...
Suppose I have a project MyLib, under that, I created a folder say Folder1. No file under this folder.
The project is connected to TFS.
Then I want to remove this folder Folder1. I deleted it from context menu and checked the project into TFS.
Then I check the data on TFS with Team Explore->Source Control, Folder1 is deleted.
But it...
I need to modify the C runtime which ships with VS2010 because the 2010 CRT relies on functions released in Windows XP SP2, and I need to be able to deploy to Windows 2000.
Specifically, I need to remove any and all calls to EncodePointer and DecodePointer.
The source for the C runtime is included in C:\Program Files (x86)\Microsoft Vi...
Hey folks,
Asp .NET MVC 2 apps started from Visual Studio 2010 are damn in my opinion. It takes 2-5 seconds to refresh or open a new page. Do you have the same problem? Do you know if this ASP .NET MVC 2 debug mode can be somehow sped up?
I work at 64 bit computer, Windows 7 and Visual Studio 2010.
...
I have created a presentation and have commented out areas in the code for snippets to be dropped in. I cut out all of the code and pasted the snippets into my toolbox.
How can I export the snippets from the tool box for use in other isntallations of visual studio? I know that I can obviously copy them out of the toolbox and save them ...
We have a project which utilizes Sharp Architecture. For the purposes of some testing, we made some adjustments to strongly type some assemblies.
Following this, the project would no longer build. VS2010 complained that:
error CS0012: The type 'SharpArch.Core.PersistenceSupport.IRepositoryWithTypedId`2' is defined in an assembly that i...
Guess the question says it all.
We have developed a library in C#, and now I wish to create a project template to aid in using the library correctly.
I want new projects to include a reference to the library assembly, but would prefer not to have to deploy the assembly to the GAC, or to depend on the assembly residing in some specific ...
I'm building VS2010 solutions on a TFS2008 build agent with VS2010 Ultimate installed; code compiles fine, and the tests all run fine, but when it comes to code coverage, nothing is being reported. I've checked that the .testsettings file has Code Coverage enabled and that I have selected some assemblies to instrument, and if I run the t...
Hi everyone,
I would like to explain my needs by a sample context below.
I have a C# class ClassC which does task TaskT. I've just updated ClassC to fullfill TaskT in a second approach but still keep the first/old one intact.
Now I finished coding and want to remove all of the old codes related to the first approach. How can I do this i...
Hey I'm having the same issue as John from this post
http://stackoverflow.com/questions/935057/how-to-make-ankhsvn-remember-my-svn-ssh-password/3464910#3464910
but I can't start two instances of pageant, someone please help me. Thanks.
...
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?
...