ColorCode-Universal
ColorCode-Universal copied to clipboard
Issue with ColorCode Build
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]
Something happened in the last couple of weeks and now something is wrong in the build environment.
@Arlodotexe mind taking a look?
Not sure if this is related: https://github.com/dotnet/core/issues/3868
Oh, I just noticed that this PR was done from the root of someone's fork (instead of a branch): https://github.com/CommunityToolkit/ColorCode-Universal/pull/15 😡 It could be something bled over with the merge done here https://github.com/CommunityToolkit/ColorCode-Universal/pull/15/commits/697c527790d59ef50e4ae398aa74a656cb6dbe56 (deleted file, etc...) that's disrupted the build config?
Will see if I can compare before and after that PR was merged.
Going back even another LNG commit, I don't see anything out of the ordinary in the comparison:
https://github.com/CommunityToolkit/ColorCode-Universal/compare/040e6ba7a2b8010f983fa6bd3ad14b9015ffb681...main
So, not sure what else may be going on here. We'll have to see if we can repro locally I guess? And then maybe see if reverting back changes anything or if this is an environmental thing, since we know the VMs were updated recently with the issue we saw in Labs.
Asked in the C# discord here as well: https://discord.com/channels/143867839282020352/1029140553155219496
@Arlodotexe on your most recent run of #29 it gave a slightly different error:
"D:\a\1\s\ColorCode.WinUI\ColorCode.WinUI.csproj" (Pack target) (4) ->
(ResolveRuntimePackAssets target) ->
C:\hostedtoolcache\windows\dotnet\sdk\6.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(430,5): error NETSDK1112: The runtime pack for Microsoft.Windows.SDK.NET.Ref was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'any'. [D:\a\1\s\ColorCode.WinUI\ColorCode.WinUI.csproj]
Seems similar to discussion here? https://github.com/microsoft/WindowsAppSDK/discussions/1237#discussioncomment-1203470