Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 2c76030

Browse files
kzuadalon
authored andcommitted
Fix reference assembly generation
When we switched to letting the new NuGetizer inference control the package content, we missed adding the .csproj that generates the reference assembly manually, since it's not added by default as a Content item by the common targets. Fixes NuGet/Home#5465
1 parent 4040b2a commit 2c76030

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Build/NuGet.Build.Packaging.Tasks/NuGet.Build.Packaging.Tasks.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
</ItemGroup>
1919
<ItemGroup>
2020
<None Remove="**\*.props;**\*.targets" />
21+
<Content Include="GenerateReferenceAssembly.csproj">
22+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
23+
</Content>
2124
<None Include="NuGet.Build.Packaging.Tasks.targets" />
2225
<Content Include="**\*.props;**\*.targets" Exclude="obj\**\*.*;bin\**\*.*;NuGet.Build.Packaging.Tasks.targets">
2326
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>

0 commit comments

Comments
 (0)