Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Commit

Permalink
Adding System.Private.ServiceModel.dll to runtime
Browse files Browse the repository at this point in the history
Fixes #1598
  • Loading branch information
pranavkm committed Apr 7, 2015
1 parent fa19f3d commit 06aada9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion makefile.shade
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,13 @@ var RC_FILES = '${FindAllFiles("Resource.rc", BOOTSTRAPPER_EXE_NAME, BOOTSTRAPPE
// copy required CoreCLR assemblies
if (target.Framework == "dnxcore50")
{
foreach (var file in Directory.GetFiles(coreclrFolder).Where(f => Path.GetFileName(f).Equals("System.Private.DataContractSerialization.dll") || !Path.GetFileName(f).StartsWith("System")))
var extraBinaries = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"System.Private.DataContractSerialization.dll",
"System.Private.ServiceModel.dll"
};

foreach (var file in Directory.GetFiles(coreclrFolder).Where(f => extraBinaries.Contains(Path.GetFileName(f)) || !Path.GetFileName(f).StartsWith("System")))
{
var targetFilePath = Path.Combine(target.TargetFolder, Path.GetFileName(file));
Log.Info("Copying " + file + " to " + targetFilePath);
Expand Down

0 comments on commit 06aada9

Please sign in to comment.