Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Answered

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

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. 

  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans