refactor WorkspaceContext (#2736)
this removes a regression in ProjectModelServer behavior also added a test to cover target framework change in DTH
This commit is contained in:
parent
2e22c3ac4b
commit
f32683cbab
35 changed files with 821 additions and 635 deletions
|
@ -45,7 +45,7 @@ namespace Microsoft.DotNet.Tools.Publish
|
|||
publish.VersionSuffix = versionSuffix.Value();
|
||||
publish.ShouldBuild = !noBuild.HasValue();
|
||||
|
||||
publish.Workspace = WorkspaceContext.Create(versionSuffix.Value(), designTime: false);
|
||||
publish.Workspace = BuildWorkspace.Create(versionSuffix.Value());
|
||||
|
||||
if (string.IsNullOrEmpty(publish.ProjectPath))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue