We are currently upgrading to pro3.1 with .Net6 from pro2.9 with .Net4.8 and we have some test coverage that depend on arcgis pro pro sdk. The way we handled this is via a configuration in .runsetting for MSTest. This has been working well in pro2.9 but it throw the sdk .dll could not be found exception on all the test cases that depend on sdk. Have been trying to figure out the reason for this and a solution for it for a long while but did not find anything yet. I am wondering if anyone have some experience for this and have a resolution.
Any context or input will be highly appreciated.
Not sure if there are better solution there for this but adding this target to copy the dlls to the test project file look to be working fine for us. Just in case someone see this thread and looking for a solution.