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 :
Microsoft Dynamics AX (Archived)

MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you ha

(0) ShareShare
ReportReport
Posted on by 335

MSB3644: The reference assemblies for framework ".NETFramework,Version=v4.0" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK 

 

or

AX1004: Reference System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 was not a valid model assembly.

 

 error/warning comes while importing xpo from development machine to Live server.
No error in DP class,query,contract class,tmp table.

Error found when compiling VS file of report.


my development machine is having VS2010 and there is no error at all, while Live server is not having VS2010.

as far as my understanding copying folder "V4.0" to the LIVE server provides all necessary assemblies, references and .NET framework for the XPO or VS file of Report.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Zeeshan Adeel Profile Picture
    335 on at

    Solution:

    After a lot of search and test work, I finally solved this problem.

    Scenario:

    It turns out that, on Server 2012, there is no reference Assemblies V4.0  under C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework.

    There is only V4.5, that's why, it keeps warning me "The reference assemblies for framework ".NETFramework,Version=v4.0" were not found."

    Solution:

    Just copy this folder from my local PC to that server, rebuild the project and those warnings are gone.

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Thank you very much for sharing the valuable input.

    Providing context of question is very helpful. No genius can understand from your question and answer that 'how issue was raised', 'what are the steps to reproduce issue'.

    was it at time of deploying report or doing something else. what was your version of ax, what was version of visual studio.

    Providing such information is healthy for community.

  • Zeeshan Adeel Profile Picture
    335 on at

    dear sohaib,

    error/warning comes while importing xpo from development machine to Live server.

    No error in DP class,query,contract class,tmp table.

    Error found when compiling VS file of report.

    my development machine is having VS2010 and there is no error at all, while Live server is not having VS2010.

    as far as my understanding copying folder "V4.0" to the LIVE server provides all necessary assemblies, references and .NET framework for the XPO or VS file of Report.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans