Support for compiling older .NET projects.

Hi is there a way we can have support for an older version of .NET versions such as 3.5?

I was wondering if there is a workaround for this.

Thank you.

Have you tried


That action is only for setting up/installing .net core. To build a .net full framework project all you should have to do is call msbuild from your build script. The Windows vms are pre-installed with .net 4.8 and Visual Studio 2017 or 2018 depending on which image you use.


@xt0rted @jeremyepling Thank you for the reply.
I noticed that the oldest compiler that was pre-included was **Microsoft.Net.Component.4.6.2.SDK** in at Visual Studio 2017

We have some projects that are a bit older which is .NET framework 3.5 and need legacy supporting until we can refactor.

Is there a way we can install old compilers?

I was trying to consider converting from **Jenkin** to **Github Actions** but these are current restrictions. 

Is there a sample github action that builds an older .net framework project (Windows 2016 agent) and uploads the artifacts to a GitHub release?