Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document support for packaging projects #55

Closed
kzu opened this issue Dec 18, 2020 · 1 comment
Closed

Document support for packaging projects #55

kzu opened this issue Dec 18, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@kzu
Copy link
Member

kzu commented Dec 18, 2020

When creating non-trivial nugets with multiple projects included, the simple instructions in the current docs typically fall short and you need a proper packaging project instead.

This is already supported by nugetizer, but not documented at all. We need to document how a simple packaging project like:

<Project Sdk="Microsoft.Build.NoTargets/2.0.1" DefaultTargets="Pack">
  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <PackageId>MyPackage</PackageId>
    <Description>...</Description>
    <PackageTags>dotnet proxy runtime dynamic</PackageTags>
  </PropertyGroup>
  <ItemGroup>
     <!--  PackageReference/ProjectReference/Content/None/etc. items just work here too -->
  </ItemGroup>
</Project>

can be used to get very granular control of what's packed and where. The project needs to have a .msbuildproj extension.

May need multi-targeting feature from #89 to be a comprehensive solution.

@kzu
Copy link
Member Author

kzu commented Feb 4, 2023

Done now

@kzu kzu closed this as completed Feb 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant