Replacing DeepClone with a call that creates a copy of the project using the template csproj under a new ProjectCollection everytime.

This commit is contained in:
Livar Cunha 2016-10-24 22:46:15 -07:00 committed by Livar Cunha
parent c9f9421b93
commit 9e49ec2723
4 changed files with 72 additions and 19 deletions

View file

@ -37,7 +37,7 @@ namespace Microsoft.DotNet.ProjectJsonMigration
MigrationRuleInputs rootInputs = ComputeMigrationRuleInputs(rootSettings);
IEnumerable<ProjectDependency> projectDependencies = null;
var tempMSBuildProjectTemplate = rootSettings.MSBuildProjectTemplate.DeepClone();
var tempMSBuildProjectTemplate = rootSettings.CloneMSBuildProjectTemplate();
try
{