web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

TFS - get latest does not pull down some files

(0) ShareShare
ReportReport
Posted on by

I've been experiencing something strange recently where Get Latest in visual studio source control explorer is not pulling down all of the files because it thinks it already has the latest of each object.  When I do a full build I get lots of errors saying " 'MyCustomType' or its base type does not exist" and ''MyCustomType' does not denote a class, a table, or an extended data type."  I checked for the type in visual studio's source control explorer and it shows the type there and the latest column says yes.  But I check in my local repository folder (C:\AOSService\PackagesLocalDirectory\MyPackageName\MyPackageName\AxEdt\" and the file is indeed not there.  I've stopping all services and deleting my package folder and getting latest from the root of my project in source control and still those files do not pull down but they do say they have the latest.  Does anyone know why this would happen and how I can get what TFS thinks I have in sync with what I actually have, even if it's deleting everything and pulling it all back down?  

I was able to work around this in visual studio's source control explorer by right clicking the root of my project and choosing advanced > get specific version and choosing "latest version" and checking the boxes for "overwrite writeable files that are not checked out" and "overwrite all files even if the local version matches the specified version".  This seems to have forced all files to come back down into my local repository.  

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,904 Super User 2025 Season 2 on at

    Hi Brawndo,

    With your latest paragraph, did you already solve your issue or do you still have an open question?

  • Verified answer
    Leo Chen Profile Picture
    on at

    Believe this is a Azure DevOps issue instead of D365FO. Probably you can go with the right forum support.

  • Greg's Mom Profile Picture
    on at

    I guess I did answer my own question with my work around.  I was hoping find out whether anyone else had experienced this and knew how to avoid it but I can start using "get specific version" and overwrite all files instead of get latest going forward.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 663 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 540 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 348 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans