Fix asset copy on publish when lock file instance is shared
- Don't mutate the library target when making a package description. #1528
This commit is contained in:
parent
f49fdd9197
commit
dec4a0627f
6 changed files with 73 additions and 11 deletions
|
@ -159,7 +159,7 @@ namespace Microsoft.DotNet.Tools.Restore
|
|||
|
||||
var depsPath = Path.Combine(
|
||||
toolDescription.Path,
|
||||
Path.GetDirectoryName(toolDescription.Target.RuntimeAssemblies.First().Path),
|
||||
Path.GetDirectoryName(toolDescription.RuntimeAssemblies.First().Path),
|
||||
toolDescription.Identity.Name + FileNameSuffixes.Deps);
|
||||
|
||||
var calculator = context.GetOutputPaths(Constants.DefaultConfiguration, buidBasePath: null, outputPath: context.ProjectDirectory);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue