6

When I try to upgrade my project from Framework to .Net6 by migration tools, I get an error messages as

error: Could not find document for file "Some File Path" under target project workspace

I can`t find an answer, and want a right solution, that will help me. I've deleted hidden folders and excluded folders and files and migration successfully done.

I can`t find answer on any other resources.

varad_s
  • 764
  • 1
  • 12
  • 24
isx
  • 61
  • 4

2 Answers2

0

The files that produce the error are not included in the project workspace. Therefore they are not used to build your project.

In my case deleting the files before I upgraded to .NET 6 helped. That way, the upgrade assistant does not find any documents in the project folder, that are not in your project workspace.

Damian
  • 1
0

I deleted hidden folders in project folder, hidden excluded folders and files in project tree and migration successfull do.

isx
  • 61
  • 4