Overwrite dotnet.exe during our build.
New CoreFX now has dotnet.exe in the shared framework. We need to overwrite it when we copy corehost.
This commit is contained in:
parent
ed887d183a
commit
49c16e8823
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
// corehost will be renamed to dotnet at some point and then we will not need to rename it here.
|
||||
File.Copy(
|
||||
Path.Combine(Dirs.Corehost, CoreHostBaseName),
|
||||
Path.Combine(SharedFrameworkNameAndVersionRoot, $"dotnet{Constants.ExeSuffix}"));
|
||||
Path.Combine(SharedFrameworkNameAndVersionRoot, $"dotnet{Constants.ExeSuffix}"), true);
|
||||
File.Copy(
|
||||
Path.Combine(Dirs.Corehost, HostPolicyBaseName),
|
||||
Path.Combine(SharedFrameworkNameAndVersionRoot, HostPolicyBaseName), true);
|
||||
|
|
Loading…
Add table
Reference in a new issue