Hi, I am using visual studio 2017 professional for D365FO development. It was working fine but suddenly, references are overlapping method name in code editor.
Morever, I tried with codelens but still same issue and also update the VS still same result.
Please help!
Thanks
Hello D356FO_Dev,
Using visual studio 2017 professional implies that you are a version of D365FO VM which is a bit old. You might consider updating the Visual studio by opening, Visual studio installer, from the start Menu.
The second option which is the best is backing up your objects and redeploy a new Dev environment just like Mohit suggested.
I find setting up new development environment easy then fixing visual studio issues like this one.
I tried both solutions but still no success.
I am not sure what is the process to uninstall the visual studio and how to get D365 FO extension after uninstalling.
But for the error while loading property, refer to the below thread.
https://stackoverflow.com/questions/52160012/visual-studio-2017-error-in-test-property-page
Thanks,
Girish S.
Hi Girish,
showing me an error.
May be reinstalling visual studio will solve this issue but then I will loose this D365 extension as it is not available in tools and extensions. May be you have any other idea?
Thanks
Hi, if I reinstall visual studio but then most probably I could not find D365 FO extension. Is it correct then how would I get it?
For a temporary solution you can disable the codeLens option from the Tools >> Options >> Dynamics 365 >> X++ >> CodeLens>> Uncheck the enable codeLens.
This will remove the reference option shown on the code.
Thanks,
Girish S.
tried all the three options still no success :(
Can you try deleting VS cache
dotnetrevisited.blogspot.com/.../how-to-clear-visual-studio-cache.html
Just try to move the method to next line and check.
Place the cursor on the method and click on enter.
Is it happening for one object or for all the objects?
Try one more thing Just copy all the code into notepad - Remove all the code from the table - Save and build the project - Now copy the code again from the notepad and check.
Thanks,
Girish S.
André Arnaud de Cal...
292,162
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156