NuGet / Home

Repo for NuGet Client issues
Other
1.49k stars 252 forks source link

Referenced dll, pack does not work #7508

Closed Varorbc closed 3 years ago

Varorbc commented 5 years ago
<Reference Include="Test">
  <HintPath>..\..\lib\Test.dll</HintPath>
  <Pack>true</Pack>
  <PackagePath>lib\net452\</PackagePath>
</Reference>
CasperWSchmidt commented 5 years ago

We also have this problem.

Varorbc commented 3 years ago

@CasperWSchmidt

  <ItemGroup>
    <Reference Include="Test">
      <HintPath>..\..\lib\Test.dll</HintPath>
    </Reference>
    <None Include="..\..\lib\Test.dll">
      <Pack>true</Pack>
      <PackagePath>lib\net452\</PackagePath>
    </None>
  </ItemGroup>