I suggest you ...

Support .NET Builds without requiring Visual Studio on the server

To build certain PCL libraries and libraries for Windows 8 RT requires having Visual Studio on the server.

Nick Berardi writes about a workaround that allows running a build server without VS, but it's really just a workaround for functionality that should be easy.

Not to mention there's probably licensing considerations we're just ignoring by doing that.


Please make it easy (and legal) to build .NET projects on a server without requiring a Visual Studio installation (or license) on that server.

3,061 votes
Sign in
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Phil HaackPhil Haack shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


    Sign in
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      • Ke ZhanKe Zhan commented  ·   ·  Flag as inappropriate

        Try to setup a simple dev environment on my windows 8 tablet, Visual studio is too big for a tablet. So used Visuao Studio Code and want to be able to build the project using MSBUILD, but it's so painful to make it work. It'd be super nice to have this happening!!! So we can code everywhere!!!

      • Francesco PontilloFrancesco Pontillo commented  ·   ·  Flag as inappropriate

        I'd just like to point out it's 2015, and developers still have to install 10 GBs of Visual Studio to simply compile one damned package.

      • Søren Nguyen BoisenSøren Nguyen Boisen commented  ·   ·  Flag as inappropriate

        How is this even an issue in 2015? Who in their right mind would require a build server to have a full version of Visual Studio (with all its bloat and problems installing/upgrading) installed?

        I truly regret choosing .NET as platform for our company, it simply isn't mature yet, even after all these years.

      • irperezirperez commented  ·   ·  Flag as inappropriate

        I mentioned this to MSFT 5 years ago, and their official response was "As Designed"...

      • Graham BunceGraham Bunce commented  ·   ·  Flag as inappropriate

        @martin. No, the build environment should be as stripped bare as possible to make sure there is nothing on it, in the gac, etc that mean it can build in one environment but not another. "works on my machine" pseudo-certification should be avoided, and can be with a clean room build server, so +1 from me...

      • Søren NielsenSøren Nielsen commented  ·   ·  Flag as inappropriate

        And when you allow this, also allow for a way for Clickonce applications to change assembly name and productname, to allow for side by side installation of Test, CI and Production versions.

      • Sten FrostholmSten Frostholm commented  ·   ·  Flag as inappropriate

        I would very much like to see a special build server MSI installer - which shoud install only the necessary stuff required to build .NET Projects made from Visual Studio (without VS itself). Not only Windows 8 builds requires workarounds if VS is not installed

        Here is a few examples we had to deal with at GN ReSound:

        1) Put Microsoft unittesting dll's in NuGet packages - normally located in the GAC here:

        2) Add another Visual Studio Web Publishing dll to source control (C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.Web.Publishing.Tasks.dll).

        Above is just examples, I'm sure many other task, build and test stuff is missing if VS is not installed on a build server.

        3 votes from me

      • Martin HinshelwoodMartin Hinshelwood commented  ·   ·  Flag as inappropriate

        Should I point out that there are no licencing considerations with this. You are free to install VS Ultimate on all of your build servers if your organisation owns even a single Ultimate licence. Your build server should reflect your development environment and not your production one... there is no compelling reason to invest in not requiring VS on the build server.

      • Kat Lim RuizKat Lim Ruiz commented  ·   ·  Flag as inappropriate

        I agree, although the request should be stated differently.
        The request should be: make Visual Studio, as an application, lighter, more portable and more self-contained (everything under one folder like Eclipse, or all the others).
        And this would automatically drive the separation of interests between the tools, the IDE, and so on.
        Additionally, when we install several VS versions it's ****!. All the DLLs, different folders, csproj associations, etc.

      • MotoWilliamsMotoWilliams commented  ·   ·  Flag as inappropriate

        Also doing file system web publishing would be a must for a build server.

        I've gotten it working with the following steps:
        - Installing BuildTools_Full.exe
        - NDP451-KB2861696-x86-x64-DevPack.exe
        - Copying C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\ from a VS Machine
        - Copying C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\WebApplications\ from a VS Machine

        But this should be a simple installer to go from a clean OS install to working build server. For the sake of the children of planet earth don't make this part of TFS.

      • Immo Landwerth [MSFT]Immo Landwerth [MSFT] commented  ·   ·  Flag as inappropriate

        I completely agree. It's more than just PCLs, though. It's effectively all SDKs and 3rd party tools that extend the build process, such as Windows Installer XML (WIX). I'm not trying to say "this is no my problem" (in fact it's very much in my yard) but I think we need a more generalized approach, akin to package management.

      ← Previous 1

      Feedback and Knowledge Base