Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: MSBuild Engine is now Open Source on GitHub

19 Mar 2015   #1
Brink

64-bit Windows 10 Pro
 
 
MSBuild Engine is now Open Source on GitHub

Quote:
Today we are pleased to announce that MSBuild is now available on GitHub and we are contributing it to the .NET Foundation! The Microsoft Build Engine (MSBuild) is a platform for building applications. By invoking msbuild.exe on your project or solution file, you can orchestrate and build products in environments where Visual Studio isn't installed. For instance, MSBuild is used to build the .NET Core Libraries and .NET Core Runtime open source projects.



The MSBuild sources we're publishing today are closely aligned with the version we will ship with Visual Studio 2015. You may notice a few differences as this is our first attempt at a standalone build, but you should see those discrepancies reduced over time. And keep in mind that for now, you'll need to have Visual Studio 2015 installed in order to build the first time.

We will be adding Linux and Mac support soon (perhaps with your help!) so you can use MSBuild to build the open source .NET projects on your preferred platform. We'll initially start with Mono and look to port the code to run on .NET Core. But we're really just getting started on our ports. We wanted to open up the code first, so that we could all enjoy the cross-platform journey from the outset.

Walkthrough

Build the Source Tree
The first scenario you might want to try is building the source tree. To do this, you will need to have Visual Studio 2015 installed on your machine. From a Developer Command Prompt, run the following:

git clone https://github.com/Microsoft/msbuild.git
cd msbuild
build.cmd

Build a Console App
To build an app, you'll first want to run the BuildAndCopy.cmd script we included in the root folder of the source. This will build the sources and create a copy of your build output with everything you need. Again from a Developer Command Prompt, run this command from your MSBuild source location: BuildAndCopy.cmd bin\MSBuild true Now, to build a simple .NET Core console application, try the following:

cd ..\
git clone https://github.com/dotnet/corefxlab
.\msbuild\bin\MSBuild\MSBuild.exe .\corefxlab\demos\CoreClrConsoleApplications
\HelloWorld\HelloWorld.csproj
.\corefxlab\demos\CoreClrConsoleApplications\HelloWorld\bin\Debug\HelloWorld.exe



Summary


MSBuild is the default build engine for Visual Studio and the .NET community on the Windows platform. Through open sourcing MSBuild we are responding to community feedback and we intend to make it the best choice for .NET developers on the Linux and Mac platforms.

You can learn about the opportunities to get involved here. We look forward to your comments and hearing from you on the .NET Foundation Forums!
Source: MSBuild Engine is now Open Source on GitHub - .NET Blog - Site Home - MSDN Blogs


My System SpecsSystem Spec
.
Reply

 MSBuild Engine is now Open Source on GitHub




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
microsoft open source
microsoft should open source, IE, Win 9x/ME and XP, windows explorer, calculator, wordpad and notepad, snipping tool and windows media player
Chillout Room
webOS goes Open Source
Source A Guy
News
open source alternative of pdf
is there any open source alternative to replace pdf file format
Chillout Room
Source Engine Games Glitched, Stuttering, Crashing
Hi all, I've just installed Windows 7 and am naturally in the process of restoring all my old games that were installed before the format of Vista. ALL Source engine based games run glitchy or crash. HL2, HL:E1, HL2:Lost Coast, HL2MP, CS:S and Dark Messiah: All the above stutter after...
Gaming
Artifacting on all Source Engine games?
Title says it all pretty much, every Source Engine game I play (HL2, L4D, CSS, TF2, etc) has minor artifacting (moreso on games running the Ep1 Engine as opposed to the Source 2007/L4D engine.) Does anyone else experience this and/or know a fix?
Gaming
Source Engine Games Have "Stopped Responding"
Okay, here's the deal: I just recently installed the W7 32bit beta to find that all games that run on the source engine stop responding as soon as they're launched. This happens with source games only whether they are ran through steam or not. All of the games ran fine on vista. I have a Dell...
Gaming


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 16:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App