© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago
XAML Llama

error NETSDK1127 The targeting pack Microsoft.NETCore.App is not installed.

Hi, we recently started seeing this error in our CI pipeline without any build configuration changes...

Can't seem to find any information about it online, and the error code doesn't seem to be documented at learn.microsoft.com either...

C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(358,5): error NETSDK1127: The targeting pack Microsoft.NETCore.App is not installed. Please restore and try again. [D:\a\1\s\ColorCode.WinUI\ColorCode.WinUI.csproj]
C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(358,5): error NETSDK1127: The targeting pack Microsoft.NETCore.App is not installed. Please restore and try again. [D:\a\1\s\ColorCode.WinUI\ColorCode.WinUI.csproj]


Was wondering if this sounded familiar to anyone else or if anyone else has seen this and had any suggestions on how we can resolve this? It's blocking us from being able to ship an update to the Windows Community Toolkit.

Project issue tracking it here: https://github.com/CommunityToolkit/ColorCode-Universal/issues/28

Thanks!
GitHub
Issue with ColorCode Build · Issue #28 · CommunityToolkit/ColorCode...
C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(358,5): error NETSDK1127: The targeting pack Microsoft.NETCore.Ap...
Issue with ColorCode Build · Issue #28 · CommunityToolkit/ColorCode...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Multi-targeting NetFx and NetCore - Targeting wrong version?
C#CC# / help
3y ago
How to pin Microsoft.NETCore.App.Ref version
C#CC# / help
2y ago
How to upgrade from Microsoft.NETCore.App 6.0.13 to Microsoft.NETCore.App 6.0.16 on Ubuntu 22.04LTS?
C#CC# / help
3y ago
✅ Error on using dot net binaries on mac "Microsoft.NETCore.App.app is damaged and can’t be opened"
C#CC# / help
2y ago