I\'m using the Nuget Package Explorer to create some nuget packages. I\'ve managed to do so just building a project in Release mode in VS and adding both the dll and pdb fil
Inspired by @Tewr I've found a cumbersome but a working solution.
Create a nuget with the following file structure:
lib\net\$(Configuration)\YourLib.1.0.0.dll <---- put here some dummy file named YourLib.1.0.0.dll
tools\release\YourLib.1.0.0.dll <--- put here the release version
tools\debug\YourLib.1.0.0.dll <--- put here the debug version
build\YourLib.targets
The targets file content:
The dlls in lib folder will be automatically added as references creating the following in the project file: