Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

Dynamics SL 7, failing to declare basic object model in c#

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have been struggling with this for a few days now and I haven't been able to solve the issue. According to the documentation in the SDK and a few other posts on here I should only need the Microsoft.Dynamics.SL.ObjectModel.dll reference and I'm targeting the 3.5 framework along with compiling as x86, but I simply cannot get the project to build with any combination of reference files. 

I attempted to build a project from the VB template but I encountered the same  "The specified module could not be found. (Exception from HRESULT: 0x8007007E)" error in VB.

 

Any help would be greatly appreciated. 

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics SL 7, failing to declare basic object model in c#

    Solved the main issue. I needed to install SL in my dev environment. 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics SL 7, failing to declare basic object model in c#

    When I run the exe on the box with SL installed it makes it a step further and errors on soething else. Is there a specific aspect of the SL install I can run to test my project on my local box so that I can run the program through the debugger instead of creating a new build and copying it over for each test?

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans