Skip to content

Strange build error when calling "pack" target #4337

Closed
@JohnTortugo

Description

Reported by @AdamYoblick by e-mail:

We’re seeing a strange error in the winforms internal build. The errors don’t seem to cause the step to fail.

Sample build: https://dev.azure.com/dnceng/public/_build/results?buildId=424221&view=logs

.dotnet\sdk\5.0.100-alpha1-014915\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(198,5): error NU5128: Some target frameworks declared in the dependencies group of the nuspec and the lib/ref folder do not have exact matches in the other location. Consult the list of actions below:
- Add lib or ref assemblies for the netcoreapp5.0 target framework
.dotnet\sdk\5.0.100-alpha1-014915\Sdks\NuGet.Build.Tasks.Pack\build\NuGet.Build.Tasks.Pack.targets(198,5): error NU5131: References were found in the nuspec, but some reference assemblies were not found in both the nuspec and ref folder. Add the following reference assemblies:
- Add System.Drawing.dll to the netcoreapp5.0 reference group in the nuspec
- Add System.Design.dll to the netcoreapp5.0 reference group in the nuspec
- Add System.Drawing.Design.dll to the netcoreapp5.0 reference group in the nuspec
- Add System.Windows.Forms.dll to the netcoreapp5.0 reference group in the nuspec
- Add System.Windows.Forms.xml to the netcoreapp5.0 reference group in the nuspec
- Add System.Windows.Forms.Design.dll to the netcoreapp5.0 reference group in the nuspec
- Add System.Windows.Forms.Design.xml to the netcoreapp5.0 reference group in the nuspec
- Add System.Windows.Forms.Design.Editors.dll to the netcoreapp5.0 reference group in the nuspec
- Add System.Windows.Forms.Design.Editors.xml to the netcoreapp5.0 reference group in the nuspec
- Add Microsoft.VisualBasic.dll to the netcoreapp5.0 reference group in the nuspec
- Add Accessibility.dll to the netcoreapp5.0 reference group in the nuspec
- Add Accessibility.xml to the netcoreapp5.0 reference group in the nuspec

I don’t think we’ve made any changes to the package in over a month. Are you aware of anyone else seeing this?

Activity

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

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions