New MSBuild PPA is ready to use

📆

👤

A week ago, we’ve successfully built both MSBuild and Roslyn on Launchpad. They’re now available for installation on Ubuntu systems.

As we said previously, we’ve switched into a new packaging format for two programs so they would be msbuild, msbuild-libhostfxr, and msbuild-sdkresolver combined into one master oackage known as msbuild, while mono-roslyn would be msbuild-roslyn.

Currently, they’re at version 16.9, the current release of Visual Studio at the time of writing, but we’ll update them when both parties (Microsoft and Mono) update their MSBuild and Roslyn into the next Visual Studio version.

To install the PPA, follow these steps:

  1. Open a terminal emulator
  2. Execute this command to add the PPA to sources.list:
    • If you’re running as root, run it like this:
      • # add-apt-repository ppa:eofla/msbuild
    • If you’re running as normal user, use this:
      • $ sudo add-apt-repository ppa:eofla/msbuild
  3. Update the package cache:
    • # apt update
    • Or, $ sudo apt update
  4. Now, install both msbuild and roslyn:
    • # apt install msbuild msbuild-roslyn
    • Or, $ sudo apt install msbuild msbuild-roslyn

Once the both of them are installed, you should be able to build your .NET applications by invoking “msbuild” on them. Remember, for projects that depend on external libraries, like Kernel Simulator, you have to run “msbuild -t:restore” on them.

If there are any problems or suggestions, contact us.


Discover more from Aptivi

Subscribe to get the latest posts sent to your email.

Thoughts?

Subscribe to our newsletter?

Subscribe today to get new articles instantly delivered to you!

Not now

Design a site like this with WordPress.com
Get started