Lesstep
Azure Pipelines · .NET Framework · Checked November 6, 2026

Azure Pipelines: MSB3644 "The reference assemblies for .NETFramework were not found"

To build a .NET Framework project, MSBuild needs the reference assemblies, the targeting pack, for that project's framework version on the agent. When the version is not there, the build stops with MSB3644. Microsoft-hosted Windows images come with packs for some versions only, and the Windows Server 2019 image, which many answers suggest, was retired on December 31, 2025 (Microsoft's page on hosted agents). Questions on Stack Overflow with this error in Azure DevOps have been seen over 140,000 times.

When the failing build is a pull request's build validation, the pull request waits on it: Azure DevOps Pull Requests, a plugin for JetBrains IDEs, lists the pull request's branch policies with their state in Rider, and with Pro runs a failed build policy again once the fix is pushed. Get it on JetBrains Marketplace

What it looks like

Which versions the hosted images have

From the Visual Studio components listed in each image's readme in the runner-images repository, which Azure Pipelines uses too:

Reference assemblies from NuGet

A newer target framework

A self-hosted agent

'.NETFramework,Version=v5.0'

Azure DevOps pull requests in IntelliJ IDEA and Rider

Azure DevOps Pull Requests, a plugin by Lesstep for JetBrains IDEs 2024.1 or later and Android Studio, reads the organization, project and repository from your git remote and lists the pull requests that wait for your review in an IDE tool window, on Azure DevOps Services and on Azure DevOps Server. It shows the branch policies of a pull request with their state, so a required build that has not passed is next to its pull request, and with Pro you run a failed or expired build policy again from there. The review inbox is free; voting, commenting, completing and creating are Pro, with a 30-day trial.

Get it on JetBrains Marketplace

Azure DevOps, Azure Pipelines, .NET, .NET Framework and Visual Studio are trademarks of Microsoft Corporation; IntelliJ IDEA and Rider are trademarks of JetBrains s.r.o. This page is not affiliated with or endorsed by Microsoft or JetBrains.

More: Dotnet command failed with non-zero exit code · the dotnet task matched no project · no agent satisfies the demands · 日本語