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

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

Can’t add Dynamics DLLs to class library project for building new transportation management engine

(0) ShareShare
ReportReport
Posted on by 7
I am following create-new-transportation-management-engine.
I have added all the DLLs as mentioned in this article to my class library project (.NET Framework 4.7.2).
However, when I am using these references in my class and compile my project, I get below error.
error CS0246: The type or namespace name 'Dynamics' could not be found (are you missing a using directive or an assembly reference?)
Any help in this regard?
I have the same question (0)
  • Suggested answer
    DB-02092211-0 Profile Picture
    7 on at
    Can’t add Dynamics DLLs to class library project for building new transportation management engine
    So the problem was that the referenced DLLs were from higher versions than my project version.
    I was ignoring the warning as the version of the DLLs in the decomplier showed v4.0. 
    Martin pointed to to root cause.
  • DB-02092211-0 Profile Picture
    7 on at
    Can’t add Dynamics DLLs to class library project for building new transportation management engine
    @Martin Dráb 
    warning MSB3275: The primary reference "Microsoft.Dynamics.AX.Tms.Base" could not be resolved because it has an indirect dependency on the assembly "Microsoft.Dynamics.AX.Framework.Utilities, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which was built against the ".NETFramework,Version=v4.8" 
  • Verified answer
    Martin Dráb Profile Picture
    235,847 Most Valuable Professional on at
    Can’t add Dynamics DLLs to class library project for building new transportation management engine
    Can you share the complete warning messages, please? They talk about some dependencies, but the screenshot doesn't show all the details.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

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

#2
Yng Lih Profile Picture

Yng Lih 150

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 104 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans