BHoM / LadybugTools_Toolkit

GNU Lesser General Public License v3.0
2 stars 2 forks source link

The nuget package is not produced #230

Closed adecler closed 2 months ago

adecler commented 2 months ago

Description:

Trying to create the package generates this error:

Error NU5050: Attempted to pack multiple files into the same location(s). The following destinations were used multiple times: lib\netstandard2.0\LadybugTools_oM.dll, lib\netstandard2.0\LadybugTools_Engine.dll, lib\netstandard2.0\LadybugTools_Adapter.dll

The error was introduced in this PR: https://github.com/BHoM/LadybugTools_Toolkit/pull/198 <file src="lib\**\*" target="lib" /> creates a duplication with the dlls from the lib folder that are added automatically to the list by the bot. Effectively resulting in this:

image

Testing removing <file src="lib\**\*" target="lib" /> solves the error, at least when creating the package locally.