I have strange problem which is concerned to Visual Studio 2010 Add-ins. I have installed WSDL Generation Tools 2010 Add-in to generate proxy classes from WSDL files. The problem is when first time I have opened a Visual in Tools tab there was WSDL generation tool but when I restore settings there was no longer this add-in. What is strange: when I run Visual there is still window Wsdl generation info and in Add-in manager there is still checked Wsdl Generation 2010 option but in Tools list there is no this tool.
Any ideas?
Related
Is there a plugin or configuration option that will open a source file in Visual Studio when the relevant line is clicked in NUnit's GUI test runner? It displays it in NUnit, but that still leaves me searching for the file in Visual Studio to actually fix the error.
You can use http://nunit.org/index.php?p=vsTestAdapter&r=2.6.2
NUnit adapter for integrated test execution under Visual Studio 2012
(all updates),and Visual Studio 2013 (all updates). Compatible with
NUnit 2.0 through 2.6.3.
Download
I have been working on a Visual Studio solution template to be used internally and have been developing this in a Visual Studio 2012 Addin.
The addin is added to the tools menu of Visual Studio and all works fine.
The only question now is, how can I share this tool between my team?
I have added a VSIX project, which in turn references the Solution Template project (added as an asset) but will this alone do it?
I can't see how installing the VSIX I created is manually going to add my add-in to the Visual Studio Tools window.
Can anyone offer any advice as to how I can do this or is there some other way to deploy/publish a Visual Studio addin?
I have found a tutorial which is similar, but I just want to use the VSIX to install my add-in to Visual Studio tools menu, rather than add it as a project template. I have looked around and there doesn't seem to be much information on how to deploy your addin.
It seems addins are soon to be deprecated with the next release of Visual Studio, although I have found this article on how to convert an addin to a VSPackage.
And with a VSPackage I will be able to deploy using VSIX.
There are also some tutorials on VSPackages here.
Then new Enterprise Library 6 is out and can be downloaded here. I have downloaded and extracted EnterpriseLibrary6-binaries.exe to a folder on my C: drive. The readme says this:
MICROSOFT ENTERPRISE LIBRARY 6
Summary: This package contains Enterprise Library configuration console, MSMQ distributor service, merge configuration tool and a script to download binaries for all application blocks from NuGet.
In order to get all the binaries, run the install-packages.ps1 script.
Note: For the Semantic Logging Application Block Out-of-Process service, a separate package is available for download.
I then run Powershell and run the script. I now look in the folder I extracted the .exe to and all of the binaries are there. Now, here are the instructions from the Enterprise Library 6 .chm.
To install the integrated Visual Studio configuration editor
1. On the Visual Studio Tools menu, choose Extensions and Updates.
2. In the Extensions and Updates dialog, search online for EnterpriseLibrary.config.
3. Click the Download button to download and install the Enterprise Library configuration editor.
4. Restart Visual Studio to complete the installation.
To launch and use the configuration editor from Visual Studio
1. Open a solution in Visual Studio.
2. If the solution does not contain a configuration file, add one using the Visual Studio Add menu.
3. In Solution Explorer, right-click the configuration file and then click Edit Enterprise Library V6 Configuration. This launches the integrated configuration editor or the appropriate standalone version of the configuration tool.
Step #3 is where I am stuck. I have a WCF service project with a web.config in it. I right click the web.config and I don't see a "Edit Enterprise Library V6 Configuration" context menu option.
I DO see an "Edit Server Configuration File v6". However, when I click this I get the following error.
All I'm trying to do is use the Exception Handling Application Block in my WCF service project. I've looked around the web and can't find any easy step-by-step tutorial to guide me either. Any help is greatly appreciated.
You need to set the solution property for "Enterprise Library v6 binaries path" to set to
the folder that you extracted "EnterpriseLibrary6-binaries.exe".
You can do that by clicking the solution and then pressing F4 to see the properties window, but you need to make sure that your "Enterprise Library Config tool" is v6.
http://www.microsoft.com/en-us/download/details.aspx?id=38789
The Visual Studio Gallery provides Enterprise Library 5 Config tool which is obviously the wrong Version.
I had to use NuGet to install the application block I wanted to use in the project. For me, Tools >> Library Package Manager >> Manage NuGet Packages for solution and add the appropriate EntLib 6 Exception Handling Application Block WCF Provider.
Just download Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix
from the below link and while installing provide VS2012 or Vs2013.
http://www.microsoft.com/en-us/download/details.aspx?id=38789
After installation restart Visual Studio.
You will Enterprise Library 6.0 configuration.
By default Extension and Updates in VS give 5.0 configuration we need 6.0 to work.
This is what worked for me:
Download Microsoft.Practices.EnterpriseLibrary.ConfigConsoleV6.vsix, from here and during installation, provide VS2012 or VS2013.
Then restart your VS2012/2013 and you should be good to go!
Is it possible to run/debug multiple projects in visual studio (2010) just like you would do it
in eclipse.
There you can have as many mains running (talking about eclipse for java here) as possible and you could see the nicely.
Furthermore, why does Visual Studio lock all files, even the files independent from current running project?
What i would like to do is simple (seems impossible in visual studio): run a web applications and then debug a automated WatiN test that would do a specific operation on the app such that i can see step by step the automation tool in action, though developing/validating my test.
is this possible?
Yes you can run multiple projects in debug mode. Just right-click on project and the Debug->Start New Instance
A few test scenarios have been recorded using CodedUI test template for my web application in Visual Studio 2010 beta. These run from within the Visual Studio successfully without any issues. I was looking for instructions to create a deployment package.
Configure an environment with a "standalone" MSTest
A series of new test tools is being introduced with Visual Studio 2010. Team Agents provides a very small footprint and includes MSTest (it will be installed in a Visual Studio path).
C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\mstest.exe
You can copy the contents of your test project(s) bin\ directory to the machine with Team Agents installed and execute MSTest against your test container.
mstest /testcontainer:x:\test-project\automated-tests.dll"
Coded UI tests use namespaces within libraries that are part of Visual Studio e.g. Microsoft.VisualStudio.TestTools.UITesting
This is unlike UI Automation which is part of the core .NET framework e.g.
System.Windows.Automation
Therefore as I understand it you cannot package Coded UI tests to run in an environment that does not have Visual Studio installed.