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

Announcements

No record found.

News and Announcements icon
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
    304,763 Super User 2026 Season 1 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 622

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 532 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans