Pack fails with NETSDK1194 on .NET SDK 7.0.200 #4121
JamieMagee
started this conversation in
General
Replies: 1 comment 2 replies
-
Not sure that fixing breaking changes in underlying tools is a route Cake should go. The aliases are currently thin wrappers around the tools (in this case MsBuild), without containing much logic. If we start adding logic to fix bugs, like in this case, in the underlying tools, we also take the burden of maintaining the fix in subsequent versions. Also in this case Microsoft stopped rolling out Docker images of 7.0.200 and wait until next service release, where they will adopt it, making 7.0.200 likely be the only affected version. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prerequisites
Cake runner
Cake .NET Tool
Cake version
3.0.0
Operating system
Linux, N/A
Operating system architecture
64-Bit
CI Server
GitHub Actions
What are you seeing?
When using
DotNetPack
and settingOutputDirectory
I get:I think this was accidentally included as a breaking change, but was intended to be in .NET 8.
There is a workaround/fix listed here: dotnet/sdk#30624 (comment)
What is expected?
The build successfully completes
Steps to Reproduce
Create a cake configuration with DotNetPack and an
OutputDirectory
.Output log
No response
Beta Was this translation helpful? Give feedback.
All reactions