Skip to content

Commit

Permalink
Add back in copying of RuntimeAssets during publish.
Browse files Browse the repository at this point in the history
Any NuGet packages that had contentFiles weren't getting the content files added to the published output directory.  This breaks things like debugging in VS Code.

Fix #2459
  • Loading branch information
eerhardt committed Apr 13, 2016
1 parent f82da07 commit cc47904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dotnet/commands/dotnet-publish/PublishCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ private bool PublishProjectContext(ProjectContext context, string buildBasePath,

PublishAssetGroups(export.RuntimeAssemblyGroups, outputPath, nativeSubdirectories: false, includeRuntimeGroups: context.IsPortable);
PublishAssetGroups(export.NativeLibraryGroups, outputPath, nativeSubdirectories, includeRuntimeGroups: context.IsPortable);
export.RuntimeAssets.StructuredCopyTo(outputPath, outputPaths.IntermediateOutputDirectoryPath);
}

if (options.PreserveCompilationContext.GetValueOrDefault())
Expand Down

0 comments on commit cc47904

Please sign in to comment.