Test templates missing in visual studio 2010 ultimate - visual-studio-2010

Test templates such as Coded-UI testing and Web performance testing are missing.
I originally had visual studio 2010 professsional installed. I upgraded to visual studio 2010 ultimate just so that I wanted to use Coded-UI testing and Web performance testing features.
However, the options seem to be missing. It is as if the upgrade has not made a difference with regards to additional testing templates.
I have a visual studio 2010 ultimate evaluation version installed.
I have checked in Tools > Options > Test tools: but doesn't seem to have anything in here that I can change. Searched online too, everywhere seem to suggest that after VS 2010 Ultimate installed, you should be have the templates to create the additional tests.
If I go to menu, Test > New test > Add new test dialog,
Here I just have "Basic Unit test", "Ordered test", "Unit test", "Unit Test wizard"
Have also tried, Right click the Test project, Add > no option for Coded-UI test here!
Has anyone come across anything like this?
Any advice is appreciated,
Thanks, Fred
Edit 09:22 GMT 26-05-2012:
I used the visual studio ultimate web-installer. I double checked the options to select while installation. There is no option specific to testing here. So, selected Visual C# + Visual Web developer + Graphics library

I had this issue when upgrading from VS2010 Professional to VS2010 Ultimate. I think it may have been caused by having already installed SP1 in Professional. I solved it by doing the following:
Go into Windows Add/Remove programs and run a Repair against VS2010 (takes a LONG time).
You might need a reboot, do not skip the reboot if prompted.
Re-run VS2010 SP1 setup and run Repair when prompted (takes a LONG time).
That should do the trick! Run up VS2010 and the templates should now be accessible!
Good luck!

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.

How To Convert Visual Studio 2010 project to Visual Studio 2015

I have a project from VS Studio 2010 that I want to work with in VS 2015. When I start this Project with VS 2015 I receive an error saying something like "compatibility-Error (Version)".
How can I successfully convert a Visual Studio 2010 project to use with Visual Studio 2015?
Without you going into any more detail about the actual error. (error numbers / screenshot) it will be very hard for any of us to give a real answer. Therefore I am going to suggest you take a look at Troubleshooting Unsuccessful Project Upgrades.
Something else to check out might be the Porting, Migrating, and Upgrading Visual Studio Projects guide
One of the key things mentioned in the 2nd link I provided is:
The following list describes support in Visual Studio 2015 and Visual Studio 2013 for projects that were created in Visual Studio 2012 or Visual Studio 2010 SP
Therefore I'd recommend upgrading the 2010 version to SP1 first. (if this is still installed that is)
One further thing to note is that if you keep the old version of Visual studio installed you can import a project which is made with an older version and skip the update. Visual studio 2015 will then use parts of the older version itself to open the project.
For details you can read How to: Upgrade Visual C++ Projects to Visual Studio 2015 page and the equally useful Installing Visual Studio Versions Side-by-Side page.
It appears that there are issues when moving from VS 2010.Net to VS 2015.Net and may require that you build the project from scratch and copy the code over. VS 2015 requires a Namespace. There are a number of designer issues on control that require the style page be used since various attributes have been removed. Something still, however, do work but you need to review the HTML, specifically things like Font and alignment. While it's a pain it isn't a big deal since it requires mostly cut and paste.
If you are having issues converting web projects the projects may have originally been created as a "web site" rather than a "web Project" . Try opening the application as a web site and see what happens. At least that may help get you to the point you can actually get to the code to convert it in VS 2015. Hope this helps.
Try to Right-click the solution, then select "Re-target solution".

Create MSI or setup project with Visual Studio 2012

I create a small application and I would like to create one MSI file.
In Visual Studio 2010 you have this project type under:
Other Project Types -> Setup and Deployment -> Visual studio Installer -> Setup Project
But the only thing you got in Visual Studio 2012 is "Enable InstallShield Limited Edition".
You can change the .NET Framework, but nothing changes.
Why is it not there any more? And how can I get it back? Is there a new way to do this?
Please see:
Visual Studio setup projects (vdproj) will not ship with future versions of VS
Windows Installer Deployment
It was announced 1 1/2 years ago that the project types were being killed. Alternatives are:
Use A VS2008/2010 Solution to build your installer
Switch to another tool such as InstallShield or Windows Installer XML
To create setup projects in Visual Studio 2012 with InstallShield Limited Edition, watch this video.
The InstallShield limited edition that cannot install services.
"ISLE is by far the worst installer option and the upgraded, read -
paid for, version is cumbersome to use at best and impossible in most
situations. InnoSetup, Nullsoft, Advanced, WiX, or just about any
other installer is better. If you did a survey you would see that
nobody is using ISLE. I don't know why you guys continue to associate
with InstallShield. It damages your credibility. Any developer worth
half his weight in salt knows ISLE is worthless and when you stand
behind it we have to question Microsoft's judgment."
By Edward Miller (comments in Visual Studio Installer Projects Extension).
The WiX Toolset, which, while powerful is exceeding user-unfriendly and has a steep learning curve. There is even a downloadable template for installing Windows services (ref. VS2012: Installer for Windows services?).
For Visual Studio 2013, see blog post Creating installers with Visual Studio.
Have you tried the "Publish" method? You just right click on the project file in the solution explorer and select "Publish" from the pop-up menu. This creates an installer in a few very simple steps.
You can do more configuration of the installer from the Publish tab in the project properties window.
NB: This method only works for WPF & Windows Forms apps.
Microsoft has listened to the cry for supporting installers (MSI) in Visual Studio and released the Visual Studio Installer Projects Extension. You can now create installers in Visual Studio 2013; download the extension here from the visualstudiogallery.
ISLE (InstallShield Limited Edition) is the "replacement" of the Visual Studio Setup and Deploy project, but many users think Microsoft took wrong step with removing .vdproj support from Visual Studio 2012 (and later ones) and supporting third-party company software.
Many people asked for returning it back (Bring back the basic setup and deployment project type Visual Studio Installer), but Microsoft is deaf to our voices... really sad.
As WiX is really complicated, I think it is worth to try some free installation systems - NSIS or Inno Setup. Both are scriptable and easy to learn - but powerful as original SADP.
I have created a really nice Visual Studio extension for NSIS and Inno Setup with many features (intellisense, syntax highlighting, navigation bars, compilation directly from Visual Studio, etc.). You can try it at www.visual-installer.com (sorry for self promo :)
Download Inno Setup (jrsoftware.org/isdl.php) or NSIS (nsis.sourceforge.net/Download) and install V&I (unsigned-softworks.sk/visual-installer/downloads.html).
All installers are simple Next/Next/Next...
In Visual Studio, select menu File -> New -> Project, choose NSISProject or Inno Setup, and a new project will be created (with full sources).
There is some progress for Visual studio 2013 developers :-D woot woot! See blog post Visual Studio Installer Projects Extension.
Link and information were retrieved from Brian Harry's blog post Creating installers with Visual Studio.
Have a look at the article Visual Studio Installer Deployment. It will surely help you.
You can choose the correct version of .NET framework on the page.
So for you, make it .NET 4.5. I guess that would be there for Visual Studio 2012.
I think that Deploying an Office Solution by Using ClickOnce (MSDN) can be useful.
After creating an Outlook plugin for Office 2010 the problem was to install it on the customer's computer, without using ISLE or other complex tools (or expensive).
The solution was to use the publish instrument of the Visual Studio project, as described in the link. Just two things to be done before the setup will work:
Install the PIA (Primary Interop Assembly) of Office 2010
Install the VSTO 2010 runtime

Visual Studio Ultimate Load testing - Cannot add web performance test

Was hoping to use Visual Studio Ultimate trial to run load tests against the website being developed. All tutorials and walkthroughs seem to point to my ability to go to 'add->Web performance test' from the project. These nor any of the other Gui elements i've seen in youtube clips and the like appear here.
Is there anything that must be configured for me to utilize the load testing part of Visual Studio ultimate?
Thanks
Have tried:
Using the test dropdown menu.
Creating a new project
Creating a new project of a different type.
The underlying issue I believe is that i already had a version of visual studio installed.
Installed visual studio ultimate on a seperate computer and everything ran as expected.
Uninstalled Ultimate on the computer running both ultimate and professional and re-installed the service pack. This resolved the performance testing issue.

I can't get TestDriven.NET to show up in my installation of Visual Studio 2010

I've used TestDriven.NET in the past (with Visual Studio 2005), but now that I've got a new installation of Visual Studio 2010 on a different computer, I can't see either the Add-In Manager, or the TestDriven.NET stuff, even though I have them installed.
Help, please! It's making me bonkers.
Note: trying with current version (3.0)
This problem was due to the fact that I was using one of the free versions of Visual Studio, which did not allow for Add-ins.

Resources