Visual Studio debug app like eclipse - eclipse

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

Related

If I check in eclipse project into tfs, will I be able to use it in VS environment?

My ultimate goal is to completely migrate eclipse (mars) project into Visual Studio environment.
During my research, I have tried several options:
1) Create project from existing code. Doesn't apply to my case, since my project is a combination of .java and .jsp files, wizard only offers C++, C#, Visual Basic options.
2) TFS plugin for eclipse.
3) Checking in the project from eclipse into tfs.
Within the third option, I am planning to create a new team project, and check in the project from eclipse based on that article manual.
My question is will I be able to open and operate project I checked in inside VS environment?
I am also opened to any other suggestion, which might help me resolve that problem.
If you have an Eclipse project and you want to move to something like Visual Studio there are three options:
Java Language Support plugin
Visual Studio Code
Java Language Service for Android and Eclipse Android Project Import
Except for the latest, I expect you have to review the build script to make it work in the new environment.
TFS/VSTS is language agnostic and has no interested in IDE and has no "project conversion" support.
No, sharing(check in) the project in Team Foundation server just means to source control the code. You can't directly using them in VS environment.
However you can download the project and work on it locally(local eclipse). Then check in the changes to TFS server. More details please refer: Importing Projects from Team Foundation Server
Here is a tutorial includes step-by-step instructions to help you get
started with the Team Foundation Server plug-in for Eclipse.
Team Foundation Server Plug-in for Eclipse - Beginner's Guide

How to Use Eclipse Project Path with Different Users in Server

I have responsibility on develepment an Application which created in Eclipse. I am able to open project in my computer with Andorid studio after the configuration of project library on Eclipse. In summery i have to setup Eclipse first, configurate libraries path. and then it is possible to import through Android Studio at least l am geting more logical Exceptions or errors.
We have a server with different users.Other user already has Eclipse and able to make changes on his side. MY QUESTION is I want to setup Android Studio on my user but should i need to setup Eclipse too? Is it possible to use other users project path on Eclipse. little bit complicated but hope and one had this experiences before. Thank you.
(For Garry)
App -->> Eclipse-->> Android Studio . To open it in Android Studio Eclipse should be exist is same computer. My question is more like server possibilities. I want to Setup Android.Studio in my user and take the project path from other users Eclipse workspace just asking is it possible or l have to set up Eclipse in my server too?.

Is there a way to generate custom BuildConfig.java file when deploying from eclipse?

We have recently converted our app to run under Android Studio and gradle. Our build.gradle file has custom fields generated for different build variants of BuildConfig.java. We still need to run our application in eclipse to run our robolectric tests. Is it possible to have eclipse generate a BaseConfig.java with custom variables other than DEBUG?
Not a solution to your question, but you might want to consider running robolectric from Gradle.
There are many tutorials if you search for it and you probably already set this up.
If you're concerned about debugging robolectric tests you can do so with Android Studio as well. A little bit of classpath hacking may be needed in Android Studio or just use IDEA 14.

Using Enterprise LIbrary 6 Application Blocks

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!

how to use nunit with visual studio

Visual studio has a built-in unit test framework. I am wondering if I can use nunit instead?
Yes, TestDriven.Net, Nunit and Resharper provide integration with VS. More details in the two posts below (in response to the same question).
Unit test, NUnit or Visual studio?
and
Unit test, NUnit or Visual studio?
Using NUnit without extensions
This answer is long overdue, but I'm using NUnit in Visual Studio without any additional extensions (that are mainly also not free).
The whole idea is to configure your test project (a usual Class library project actually) so that when you hit F5 or Ctrl-F5 it automatically starts NUnit GUI and starts test execution.
The main benefit of this project configuration (all configuration steps are described with images) is that it's easy to also debug your tests if you need to when you have bugs in them.
Here's a free Visual Studio addin for NUnit: NUnitAddin