How to pack Sdk project's dependencies into generated nuget package?
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
I have a Sdk project which depends on several nuget projects, and I use below sections to control how the project is packed:
```xml
True
True
Sdk\
```
After packing the nuget package will look like below:
```
(root)
| - Sdk
| | - Sdk.targets
| | - Sdk.props
| - tools
| - ProjectAssembly.dll
```
And I referenced some tasks from ProjectAssembly.dll in Sdk.targets:
```xml
```
However, the built assembly needs its dependent assemblies, which was not restored when I use the sdk in project. Is there any way to pack these dependencies into the package, or will msbuild restore them for me in future?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.