Skip to content

Cannot place .NET Framework 4.7.2 project reference dll inside lib\net5.0\SpecificFolder #118

@denjmpr

Description

@denjmpr

Describe the Bug

Firstly I want to thank you for implementing such great project! It really simplifies the way the NuGet packages can be created.

There are situations when we need to put .NET Framework 4.7.2 dll built from project reference inside lib\net5.0\SpecificFolder (or any other place under lib folder).
If it would be a .nuspec file I would want to generate such structure of files there:

  <files>
	<file src="ClassLibraryNET5.dll" target="lib\net5.0"/>
	<file src="ClassLibraryNET472.dll" target="lib\net5.0\SpecificFolder"/>
  </files>

Could you explain how to do it?

Steps to Reproduce

  1. Open NugetizerProjectReferenceTest.sln from attached file.
    NugetizerProjectReferenceTest.zip
  2. Pack NugetizerPack.msbuildproj project with Pack menu item from Visual Studio context menu.
  3. Unzip the result NugetizerPack.1.0.0.nupkg file.
  4. Observe - there is no ClassLibraryNET472.dll file under "lib\net5.0\SpecificFolder" folder.

Expected Behavior

The project reference dll can be placed anywhere under lib folder of result NuGet package.

Version Info

NuGetizer 0.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions