I've been tasked with evaluating TFS 2010 for possible use in my group, but don't have access to a server at this point. Is there a way to run it locally (Win XP) just to put it through it's paces?
It's better if you download the VM for TFS 2012 by Brain Keller, you will be able to see most of the TFS features with hands-on labs.
Visual Studio 2012 Application Lifecycle Management Virtual Machine and Hands-on-Labs / Demo Scripts
TFS2010 requires windows 2003, 2008, vista or 7, You can't install it directly on windows xp. You could install it into a virtual machine running one of these operating systems, that would require a fair amount of ram.
However I get the feeling that you probably don't really have the hardware requirements to run TFS, and you probably don't really want to maintain a TFS server. You should probably look at using TFService instead (tfs.visualstudio.com) which is an online version of TFS2012, free for up to 5 users (however while it's in preview it's free for larger groups too). You can install a patch so that VS2010 can access this service.
Related
I have a Visual Studio Code app (Angular/.Net Core Web Api app) for work and I can develop, debug and run it on my personal Mac when I VPN into my companies network.
I also have a desktop work PC on my companies site and a remote work server that I can RDP into to do all my work, but I prefer my personal Mac!
I now need to create a .Net Web Api app (NON .Net Core) that my .Net Core app needs to call over http (for WCF web services that won't run on .Net Core), so I created a Visual Studio .Net Framework web Api app on one of my Win PC work machines and I can run both projects side by side (Visual Studio Code and Visual Studio) on my PC but not my Mac.
Is there any way to get the .Net Framework app working on my Mac? ex. in a Docker container or maybe even just running the app in a container, so that my .Net Core app can call it?
Another idea I have but not sure if possible -
When I run the .Net Core app on my Mac I'm VPN'd into my companies network. If I run the .Net Web app on my work desktop or the remote server would I be able to connect to it from my Mac?
Visual Studio Code is a JavaScript application, which is what makes it nice a portable (and also kind of slow). The Visual Studio Framework is a different animal; one that is very territorial. Compiled applications that target the .NET framework will absolutely not run on MacOS, or Linux, or Solaris or..... anything not Windows. .NET core is portable to MacOS though.
As per this post (Can you install and run apps built on the .NET framework on a Mac?) there is the option of using Mono to recompile the code and run it on the Mac. Unfortunately, it does not support the full .NET Framework, and likely requires some non-trivial modifications to the code to make it work. If you go this route, you're either going to be limited to the areas of the Framework that are supported by Mono, or you'll have to maintain 2 different versions of the same code base. Neither option sounds very good to me.
As far as running in Docker, that will not work. Docker is fundamentally tied to the host operating system due to the use of kernel namespaces to provide isolation for processes and other system resources. It does not provide the same kernel API that the .NET Framework would require.
If you are absolutely determined to keep the development work on the Mac, the best option is probably to use a thick virtual machine that runs a full copy of Windows. This has the obvious downsides of being much more expensive (both in terms of the system resources it will need, and the software licensing costs), and you end up using Windows anyway (so you might as well just RDP to a real Windows machine). Probably not the answer you were hoping for (and I would love for someone to list some options that I've missed), but I think you're going to end up doing some work in Windows.
You can't run .NET Framework , because this working with layer architecture from operative system, when running, so many libraries is on migration and now running in .NET core via nuget recomendation is use oficial net core image from microsoft or run you docker over a microsoft server system.
I have Jenkins CI server which builds various .net projects. The server is on Virtual Machine, connected to ActiveDirectory and Jenkins is running in the context of domain user which is also a local administrator.
Software used:
Windows 10 Professional
Visual Studio 2015 14.0.25431.01 Update 3
Jenkins 1.625.3
Solutions are build using devenv.com (currently msbuild is not an option), e.g.:
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com" "xxxxx.sln" /rebuild "Release|Any CPU"
My issue is, that quite often I receive an error, just after running devenv.com:
Microsoft Visual Studio has detected a configuration issue. To correct this, please restart as Administrator. For more information please visit: http://go.microsoft.com/fwlink/?LinkId=659046Build
It started to happen after one of Windows 10 updates. I found out, that when someone is log in to build server with the remote desktop using the same domain account, the builds run OK. After logout, the builds run OK for some time and then the errors are back.
Any clue what's going on?
It may be related to this apparent bug in a recent Windows update:
Connect: Visual Studio 2015 and SSMS 2016 RTM (VS 2015 shell) not running under "Run as different user" on Windows 10 Anniversary, Windows 2016 CTP 5
UPDATE 2017-09-08
As #Florian points out, the above link is broken. I can't even find the Connect issue cached on Google, Bing or archive.org.
The Connect issue Unable to start SSMS as another user (cached copy on archive.org) makes me think it would be worth checking whether the problem resolves after updating Windows 10 to 1703 (Creators Update) and ensuring that April 25, 2017—KB4016240 (OS Build 15063.250) has been applied. If this works, anyone running Jenkins on Windows Server 2016 will have to wait for Microsoft to publish 1703 and KB4016240 (or equivalent) for that OS.
Excerpts from Connect page "Unable to start SSMS as another user". I have bolded the error details, which match those in the original question (except for the LinkId in the supplied URL) even though the product is SSMS rather than VS:
Version: SQL Server 2016 CTP3
Operating System: Windows 10
Steps to Reproduce:
Right-click SQL Server Management Studio, select "More", then "Run as
a different user"
Actual Results:
Error message: "This task requires the application to have elevated
permissions" with two options: Restart under different credentials,
and Cancel the task and return to Microsoft SQL Server Management
Studio. Pressing either option closes the window with no further
result. Error information is:
Microsoft SQL Server Management Studio has detected a configuration issue. To correct this, please restart as Administrator. For more information please visit: http://go.microsoft.com/fwlink/?LinkId=647011.
When I go to that page and try the fix suggested there, I can't find
ieproxy.dll. The fix is for Windows 7 / Internet Explorer 8, and I'm
on Windows 10 with Internet Explorer 11, so that may be why it's not
there.
[...]
Posted by Microsoft on 4/28/2017 at 6:26 PM
Hi Jake, It turned out that this issue has been resolved (on the Windows side) very recently - like 3 days ago :)
If you are running Win10 "1703", just make sure you get the latest
updates (specifically, KB4016240) and you should be able to run
ssms.exe using "runas" just fine. This will work with any version of
SSMS.
Currently, the fix is not available on older versions of Win10 (e.g.
1607) or WS2016 (also 1607).
Thanks,
-Matteo
[...]
Posted by Microsoft on 4/27/2017 at 7:35 PM
Hi Jake, Yes, we are aware of this issue (in Windows 10).
We've engaged with the Visual Studio and Windows folks (which is there
the issue is) and hopefully will have a way to fix this issue in SSMS
(you should not need an updated SSMS, just an update in Windows 10).
I'm going to keep this issue open until I have more concrete updates
on it.
Thanks,
-Matteo
If the Windows updates do not solve the problem or are not available to you, I would suggest trying repair operations on Windows as well as Visual Studio.
I'm running into the same error after updating my Windows 10 to 1607, in that I cannot run Visual Studio as a different user. I'm not building solutions at the time though, but still running the VS program as I think you would be calling.
Using this command: runas /netonly /user:domain \ account devenv.exe
as outlined here Unable to launch Visual Studio 2015 as a different user works for me. Not as convenient but does the trick.
I have MS Visual Studio 2012 installed on my laptop. But now I need MS Visual Studio 2010 . Because of this, I am thinking of downloading VMWare workstaion to create a Virtual Machine.
And, then I will be installing Windows 7 and then MS Visual Studio 2010 on it.
I wonder whether this is going to create a performance problem. The reason is that I will be using MS visual studio 2010 (in virtual machine) with openCV. There I need to use SVM (for training and predicting data- I've heard that this takes a LOT of time and memory. I'll be using like 300 colour images for this ). Will I be able to do all this on Virtual Machine ?
How much of memory do I need to allocate when creating the virtual machine ?
Actually, I had windows 8 (64-bit ) on my laptop when I first bought it. Since there was no 64-bit version after 2008 when it comes to MS Visual Studio ( I wanted at least 2012), I had to remove windows 8 (64-bit) from my laptop and then install windows 7 (32-bit). At the same time, I wanted to get rid of windows 8. Actually, this was not recommended by the manufacturer. But I had no other option. Now my laptop uses only 2.4 GB out of 4.0 GB memory. This happened due to that installation.
so, my question is : Since I have only 2.4 GB memory, will installing windows 7 on a virtual machine and then installing MS Visual Studio 2010 on top of it create an issue ?
If it's fine, How much of memory should I allocate when creating the virtual machine ?
I highly recommend that you do not do this... that saying if you have absolutely no choice, technically it should work.
To run MS Visual Studio 2010 through the VM you'll need to allocate 1GB of RAM just for MS VS and another 512MB for the virtual machine.
Whenever you are not using the VM make sure you shut it down so it doesn't chew up that memory, because while it's running your host machine will have about 1.1GB left for itself.
Hope that helped.
I have an ASP.NET MVC 4 app that I would like to run on a Mac machine. I would hate to run a full blown Windows virtual machine when all I really need is IIS7 to run the MVC app. What is the lightest way to run this (VirtualBox, Parallels, IIS7 Express, etc)? Really my goal is to code the Javascript/client-side of the app on my Mac and I am trying really hard not to do my development on a Windows machine :)
BEWARE: The below answer is very old and I don't delete it just for historic purposes. These days I would recommend to install ASP.NET Core along with .NET6. After you have set that up, there are different ways to expose your web port in production, such as NGinx reverse proxy, or Kestrel or other things that I haven't researched much these days.
Follow this link (provided by #LexLi in a comment above) to know how to set up your MVC environment.
With regards to IIS, as far as I know it cannot be done. You should use the native web server of your operating system. IIS doesn't run on Mac, so I guess you should try Apache, and then install module "mod_mono".
Or if that gets too hairy, just use the standalone mono web server called XSP.
Or run FastCGI, or nginx.
It is all explained here: http://www.mono-project.com/ASP.NET
I use Parallels, and although their software was poor a few years back, it's now lightyears ahead of VMWare in stability and performance. Parallels Desktop 7 for mac is awesome.
My only computer is a MBP, yet I develop software for IIS. I run Parallels in Coherence mode, and I essentially have VisualStudio as just another mac app. And since I'm only running one app in the VM, it's way more stable than a normal PC install. I actually haven't rebooted it in 2 months so far!
Only caveat - you want to dedicate 2-4GB of ram to the VM to prevent paging, so you should try to get more than 8GB if you're a polyglot developer. Having multiple IDEs on multiple OSes can be heavy, and when you add the memory-hogging yet blazingly fast Chrome to the mix, you'll hit that ram limit often...
xsp is a alternative for IIS in Mac, that can run basic capabilities.
I recently used VirtualBox with a copy of windows home (free with "I don't have key") and installed visual studio on it (community version). And IIS Express works just fine, TFS repos work too.
Is it possible to attach to a deployed Azure app? I would like to be able to step through the code so that I can see what values are being set in a request to one of my web role actions.
I have looked around and the only examples seem to be of debugging when the azure app is running on the local machine.
Windows Azure Tools (June 2010) allows to use IntelliTrace in the cloud. This release:
Adds support for debugging services in the cloud by using the Visual Studio 2010 IntelliTrace feature. This is enabled by using the deployment feature, and logs are retrieved through Server Explorer.
IntelliTrace support requires:
.NET 4
Visual Studio 2010 Ultimate
the cloud service has to be deployed with IntelliTrace enabled
No, you can't debug an Azure app running on MS's servers.
You might be able to solve your problem with Azure's logging feature, though.
Edited to add MS just announced IntelliTrace for the cloud fabric in the June 2010 tools.
Adding one more thing to Rinat's answer: I did attend a session on Intellitrace and one of things I was told that it should never be used on your applications running in production slot as it creates quite an overhead. So you may want to deploy your application in staging slot do all the cloud debugging and then remove Intellitrace once you find the cause of your problems.
Craig is right "today" you cannot debug an Azure App running on cloud fbaric, you can only debug on local fabric.
you may want to look at the diagonostic and logging API
Link
http://blog.benday.com/archive/2008/11/07/23201.aspx
this is a great tool - http://www.cerebrata.com/Products/AzureDiagnosticsManager/Default.aspx
http://msdn.microsoft.com/en-us/magazine/ee336122.aspx
This will help u..
There is a way to deploy the Visual Studio 2012 remote debugging tools to a Windows Azure Cloud Service and attach to the remote process. The following BLOG post explains an approach.
http://www.fullscale180.com/Blog/post/2012/10/07/Remote-Debugging-Windows-Azure-Cloud-Services-with-Visual-Studio-2012.aspx
This sample code
demonstrates remotely debugging Windows Azure Cloud Services with Visual Studio 2012. The sample utilizes Visual Studio 2012 remote debugging tools and provides an approach to deploy these tools with a cloud service, allowing us to attach to the deployed instance from the Visual Studio 2012 IDE using the remote debugging features.