Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish step fails with .NET 7.0.200 #2361

Closed
4 tasks done
brianpopow opened this issue Feb 19, 2023 · 1 comment · Fixed by #2362
Closed
4 tasks done

Publish step fails with .NET 7.0.200 #2361

brianpopow opened this issue Feb 19, 2023 · 1 comment · Fixed by #2362

Comments

@brianpopow
Copy link
Collaborator

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

ImageSharp version

Current main branch

Other ImageSharp packages and versions

Current main branch

Environment (Operating system, version and so on)

Ubuntu 22.04.1

.NET Framework version

.NET 7.0.200

Description

There seems to be a braking change with the current .NET 7.0 version, which breaks the publish step. See: https://github.com/SixLabors/ImageSharp/actions/runs/4217414560/jobs/7321231893

Error message is:

/usr/share/dotnet/sdk/7.0.200/Current/SolutionFile/ImportAfter/Microsoft.NET.Sdk.Solution.targets(36,5): error NETSDK1194: The "--output" option isn't supported when building a solution. 

MS build version: 17.5.0-preview-23061-01+040e2a90e

Related issue dotnet sdk issue

Steps to Reproduce

Run: dotnet pack -c Release --output artifacts

Images

No response

@JimBobSquarePants
Copy link
Member

Cripes!

Looks like there's two workarounds.

Use the property.
dotnet/sdk#30624 (comment)

Or specify the project name.
https://github.com/sebastienros/esprima-dotnet/pull/375/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants