Using microsoft chess in visual studio 2010 - visual-studio-2010

I want to use microsoft chess framework in visual studio 2010. it works fine in 2008 but its support is not available for visual studio 2010. is there any way to use it.

Just go there: CHESS: Systematic Concurrency Testing Source Code, click on the 'Download' button, read the licence text and if you're ok download the full package somewhere on your disk.
From there you can just extract the whole .ZIP file and open the All.Sln file at the root of the extracted files, it's a Visual Studio 2010 solution.

Related

webtest file opens as xml in visual studio

I am using Visual Studio 2015 Community. I am doing GettingStartedWithLoadTesting. I am trying to open the SampleWebTest.webtest file but it opens as xml. It does not open how it did on the school computer. I think the school computer has Visual Studio Enterprise. I tried "open with" but there was no option available for Load Testing Editor.
Any help appreciated.
If you install Visual Studio by WebInstaller, you can miss "test components". You can always add it. Just start the installer again and pick "change" for your version of visual studio.
Visual Studio community does not support Web Performance and Load tests. For those you need the "Ultimate" or "Enterprise" versions.
The trial version of Visual Studio Enterprise can open .webtest and .loadtest files, but there are restrictions on the run-time features of these test types.

Visual Studio 2010 Ultimate how to create executable file

I have visual studio 2010 ultimate. There is no option to make executable file.
So how can I make executable files using this version of visual studio.
Actually you've already created an .exe file by "building" your code that you tested in debugger mode. However your .exe file may require other files in order to deploy it onto another P/C. I recommend you read this information at the following link;
click here to go on link
Other than that you can actually find a copy of your current executeable in your application folders debug folder. May take a little searching. I'm using Visual Studio 2012 RC and I don't know if the file structure is the same for Visual Studio 2010 but for the application "counter" I look in "C:\Users\John\Documents\Visual Studio 2012\Counter\Counter\obj\Debug\Counter.exe.

Why I get the problems with Visual Studio "2013" SDK samples?

Visual Studio 2013 Premium Update 4; Visual Studio 2013 SDK installed.
I see the code sources are for older Visual Stuido version. It has a link to Visual Studio 2010 (instead of 2013) SDK Samples.zip file. I try compile its some projects but I get an exceptions... For example:
Other projects compiled successfully, but I read their instruction of running:
Running the Sample
To run this sample, copy both the
AlphaBlendToolbar.Addin file and the newly-built AlphaBlendToolbar.dll
file into your Visual Studio Addins directory (My Documents\Visual
Studio 2010\Addins) and then open a new instance of Visual Studio
2010. Next, run the Tools | Add-in Manager menu command. Check the checkbox next to AlphaBlendToolbar and hit OK. You should see a new
toolbar with two command buttons on it. The interesting thing about
this sample is that the command button icons have alpha-transparency.
But VS 2013 has not the Addins directory... Ok, I create it:
I compiled the sample of SDK:
but I don't see here the compiled DLL:
Why I have such problems?
The AddIns folder under the Documents folder is not created by default by VS when installed, so you need to create it by hand, as you have done
Remove the folder C:\Users\developer\Documents\Visual Studio 2013\AddIns from the Options window, it is not required, the %VSMYDOCUMENTS%\AddIns folder takes care.
.AddIn files can contain several values to describe the target VS versions. The AlphaBlendToolbar.AddIn file of the sample only contains the VS 2010 target, you need to edit it and add the VS 2013 ("12.0") target:
<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>12.0</Version>
</HostApplication>
Notice that there are two .AddIn files, one in the Documents folder (for deployment) and other in your solution (for source control, etc.), ensure that you update both.
FWIW, there is a VS 2013 SDK Samples: http://blogs.msdn.com/b/vsx/archive/2014/05/30/vs-2013-sdk-samples-released.aspx

How to open files with differnet application having the same extension

How does Windows determine the application to start when I double-click on an associated file?
I installed Visual Studio 2013 on my PC and converted an existing solution from version 2008 to 2013.
Interesting, when I double click on a solution in 2008 format it opens VS 2008, for a 2013 it opens VS 2013. That's fine but how does Windows know? All solution files have the same extension .sln, so there must be another way to define the opening application in this case.
The following texts from this post should address your concern:
When you double-click on a .sln file, a small program called vslauncher.exe is called with the path to your .sln file as its first argument. The job of vslauncher.exe is to read enough of your .sln file to determine which version of Visual Studio to use to open your file. Since you may have several versions of Visual Studio installed (VS2003, 2005, 2008, Express SKUs, etc.) you probably want to open the solution with the same copy of Visual Studio that you used to create it.
Visual Studio 2008 .sln files typically start with these two lines:
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
That said, if your .sln file signature (the first two lines of your file) does match any known release of Visual Studio, it will be opened by that particular VS version.

Specflow with Visual Studio express

I have used Specflow in Visual Studio 2010 Pro at work but would like to use it on my personal projects. Unfortunately I only have VS210 Express.
I have not managed to get Specflow working in VS2010 Express. has anyone done this or is it even possible.
thanks,
I have managed to do this, and I have written a blog post on how to do this entitled: "C# ATDD on a shoestring (or the complete guide to SpecFlow & NUnit in VS2010 Express)"
The main idea is: SpecFlow generates fixtures for one of the common Unit-Test-Frameworks. More information you can find here.
I suppose that you loose some Item templates that appear in the Visual Studio Professional but disappear for Visual Studio Express versions. To overcome this problem you should take all templates files from SpecFlow application folder on computer where you have Professional version installed. On my computer it is located here:
C:\Program Files (x86)\TechTalk\SpecFlow\ItemTemplates
There should be the files like: SpecFlowFeature.zip and etc, all with *.zip extension. Then you should copy its to your computer for this place:
C:\Users\[User name]\Documents\Visual Studio 2010\Templates\ItemTemplates\Visual C#
And finally, open Microsoft Visual C# 2010 Express. Create console application, for example. And choose Project -> Add new item. There is only possible to open these templates with Microsoft Visual C# 2010 Express. Because inside template files it was defined that templates could be open only with C# project type.
You can't use 3rd party add ons (like Specflow, ReSharper etc.) with the Express editions of Visual Studio. I can't find the reference right now, but this will be why you can't integrate Specflow.

Resources