Can someone please help me and provide me the sample pipeline to build my .NET Framework 4.8 solution project?
Thank you so much.
Hi,
Pipelines builds that run on Atlassian's infrastructure don't support .NET framework but only .NET Core. The .NET framework requires Windows and Pipelines currently run on Linux hosts.
For .NET Framework, you can use a self-hosted runner on a Windows server of your own:
Windows Runners use PowerShell to run pipeline steps on your Windows machine (host device). We have documentation for the several options in a bitbucket-pipelines.yml file:
However, the commands you use in each step's script are not some special Pipelines commands. They are commands that you should be able to execute on PowerShell. Microsoft offers the .NET CLI:
If you can use this CLI from PowerShell to do what you want with .NET framework, you should be able to use it in a Pipelines build with a Windows self-hosted runner, as long as the CLI is installed on the host machine.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.