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 CRM (Archived)

startup project

(0) ShareShare
ReportReport
Posted on by

hi

now I am getting  A project with an output Type class library  cannot be started directly

In order to debug this project, add an executable project to  this solution which references the library  project . set  the executable project as the startup project.

what I have to do

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at

    Hi Ashok,

    Since you're building a Class Library, the code in there can't run on its own - it can only be referenced by another process. I like to add a second project, a Console App, to my solution for testing. You can reference the class library project and call that code from the console app.

    Let me know if this helps or if you're having more other issues. If this was helpful, please mark as the answer. Good luck!

    Aiden

  • Mahendar Pal Profile Picture
    45,095 on at

    Ashok,

    I will suggest you to first download CRM SDK and see plugin tutorial there and you can also check in youtube how to write and use plugin. If you are still facing issue you should share your issue here.

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans