Open TorKlingberg opened 6 years ago
I notice the same problem.
Trying dotnet migrate
produced the following error:
Migration failed.
System.InvalidOperationException: The 'copyToOutput' property cannot be a rooted path.
at Microsoft.DotNet.Internal.ProjectModel.Files.IncludeContext.CreateCollection(String projectDirectory, String propertyName, IEnumerable1 patternsStrings, Boolean literalPath) at Microsoft.DotNet.Internal.ProjectModel.Files.IncludeContext..ctor(String sourceBasePath, String option, JObject rawObject, String[] defaultBuiltInInclude, String[] defaultBuiltInExclude) at Microsoft.DotNet.Internal.ProjectModel.ProjectReader.GetIncludeContext(Project project, JObject rawOptions, String option, String[] defaultBuiltInInclude, String[] defaultBuiltInExclude) at Microsoft.DotNet.Internal.ProjectModel.ProjectReader.GetCompilationOptions(JObject rawObject, Project project) at Microsoft.DotNet.Internal.ProjectModel.ProjectReader.BuildTargetFrameworksAndConfigurations(Project project, JObject projectJsonObject) at Microsoft.DotNet.Internal.ProjectModel.ProjectReader.ReadProject(Stream stream, String projectName, String projectPath, ProjectReaderSettings settings) at Microsoft.DotNet.Internal.ProjectModel.ProjectReader.ReadProject(String projectPath, ProjectReaderSettings settings) at Microsoft.DotNet.Internal.ProjectModel.ProjectContext.<CreateContextForEachFramework>d__45.MoveNext() at System.Collections.Generic.List
1.AddEnumerable(IEnumerable1 enumerable) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)
at Microsoft.DotNet.ProjectJsonMigration.ProjectMigrator.ComputeMigrationRuleInputs(MigrationSettings migrationSettings)
at Microsoft.DotNet.ProjectJsonMigration.ProjectMigrator.Migrate(MigrationSettings rootSettings, Boolean skipProjectReferences)
at Microsoft.DotNet.Tools.MigrateCommand.MigrateCommand.Execute()
at Microsoft.DotNet.Tools.Migrate.MigrateCommandCompose.Run(String[] args)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
I am having the same issue, did someone find a solution to this problem?
I followed the instructions in the readme, but get this error: