I'm working on resolving the best practice warning in our X++ code. Not having any issues correcting the warnings.
Issue is when I rebuild the solution the same best practice warnings are displayed. Makes it very difficult to determine which ones have been resolved and which ones still need to be looked at.
Is there a way to have the compiler create a new list of best practice warnings? I have tried cleaning the solution, restarting Visual Studio and making sure the updated code is installed in the F&O environment.
Thanks for assistance
Duane
Hi DDMoore,
Instead you can generate CAR report to see the list of BP warnings related to particular model.
Thanks,
Girish S.
Unfortunately, that did not help. The only way I have found to correct it is to (1) restart the development machine (so convenient said no one ever) or (2) exit Visual Studio and clear the C:\Users\<user>\AppData\Local\Temp\VSLogs - could also clear the entire temp folder - (also not very convenient). It does take longer to build the project with this data removed but there should be a way to clear cached data automatically. Without taking one of the steps, new best practice warnings do not appear.
Thanks for the assistance
Duane
Try deleting BuildProjectResult* files from your package folder (e.g. K:\AOSService\PackagesLocalDirectory\YourPackage).
André Arnaud de Cal...
292,074
Super User 2025 Season 1
Martin Dráb
230,900
Most Valuable Professional
nmaenpaa
101,156