Following this article: https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/testing-validation
- Created a Task Recording and saved as a Developer download
- Using VS 2019
- Selected Dynamics 365 -> Addins -> Import Task Recording
- Created a new projects.
- Solution builds with no issue.
- In Test Explorer when the test is run the error message is "One or more modules is missing." Says the error is on the attributes line: [SysCodeGenAttribute(),SysTestMethodAttribute()
[SysCodeGenAttribute(),SysTestMethodAttribute()] public void testMethod() { using (var c = ClientContext::create()) { ..... } }
- Test Explorer is set to x64 processor.
- I would also expect the attribute line to be in a different color instead of the default black characters.
- When the solution is built the output window under the Test drop-down shows:
========== Test discovery finished: 1 Tests found in 1.6 sec ==========
ProjectData: Could not find project with GUID 2e6650d2-06aa-476d-a25c-efdf0d3e0343
ProjectData: Could not find project with GUID 2e6650d2-06aa-476d-a25c-efdf0d3e0343
ProjectData: Could not find project with GUID a93726d1-e1cc-482b-b16f-3e5322527f6e
ProjectData: Could not find project with GUID a93726d1-e1cc-482b-b16f-3e5322527f6e
ProjectData: Could not find project with GUID 2e6650d2-06aa-476d-a25c-efdf0d3e0343
ProjectData: Could not find project with GUID 2e6650d2-06aa-476d-a25c-efdf0d3e0343
ProjectData: Could not find project with GUID a93726d1-e1cc-482b-b16f-3e5322527f6e
ProjectData: Could not find project with GUID a93726d1-e1cc-482b-b16f-3e5322527f6e
Is importing a task recording supported in VS2019?
Am I missing a package, reference and/or model?
Any assistance is appreciated.
Thanks
Duane