Hi,
I'm creating an nuget package for an internal purpose and have configured the nuget package to be generated inside of my project.json file.
It all works great except I also need the .pdb file. I suspect I should be able to use the includeFiles but have not been able to find any examples.
Does anyone know if this can be done and how?
Thanks heaps.
"packOptions": {"owners": [ "??" ],"summary": "???","releaseNotes": "Initial Release","requireLicenseAcceptance": false,"tags": [ "???" ],"files": {"includeFiles": [ ] } },"scripts": {"postcompile": ["dotnet pack --no-build --configuration %compile:Configuration%","\"%project:Directory%\\..\\..\\tools\\nuget.exe\" push \"%project:Directory%\\bin\\%compile:Configuration%\\%project:Name%.%project:Version%.nupkg\" -source http://localhost:45116/api/v2/package" ] }
"scripts": {
"postcompile": [
"dotnet pack --no-build --configuration %compile:Configuration%"
"\"%project:Directory%\\..\\..\\tools\\nuget.exe\" push \"%project:Directory%\\bin\\%compile:Configuration%\\%project:Name%.%project:Version%.nupkg\" -source http://localhost:45116/api/v2/package"
]
}