C
C#2y ago
Drajzer

❔ The reference assemblies for .NETFramework,Version=v4.6 were not found

When running app i am getting this error
Severity Code Description Project File Line Suppression State
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.6 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1229
Severity Code Description Project File Line Suppression State
Error MSB3644 The reference assemblies for .NETFramework,Version=v4.6 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 1229

I have .net 4.6
6 Replies
mtreit
mtreit2y ago
Did you follow the instruction in the error message and install the developer pack from https://aka.ms/msbuild/developerpacks ?
Microsoft
.NET SDKs downloads for Visual Studio
Download .NET SDKs for Visual Studio. Visit our main Downloads page for all .NET downloads, including Linux and macOS.
Drajzer
DrajzerOP2y ago
yes
mtreit
mtreit2y ago
What exactly did you install?
Drajzer
DrajzerOP2y ago
4.6 runtime and dev
mtreit
mtreit2y ago
So, the out of support developer pack? https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net46-developer-pack-offline-installer ? You should probably move to something supported.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?