Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7798873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:07:31+00:00 2026-06-02T00:07:31+00:00

I’ve got a SharePoint project that I’ve been debugging for some time without problems.

  • 0

I’ve got a SharePoint project that I’ve been debugging for some time without problems.

Today I added a feature receiver to the project’s only feature. I’ve not yet changed anything about the empty receiver class that Visual Studio adds by default.

The “Package” command now generates a package which includes my project’s DLL file (as you’d expect — adding a feature receiver shouldn’t change anything about this).

However, when I debug, the generated package does not include my project’s DLL file, and the deployment effort fails with the following error:

Error occurred in deployment step ‘Add Solution’: Failed to load
receiver assembly “ABC, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=2377fad544a7c307” for feature “ABC_XYZ Feature” (ID:
dca34989-a2f2-413b-b5c4-958e0bbb84ef).:
System.IO.FileNotFoundException: Could not load file or assembly ‘ABC,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=2377fad544a7c307’ or
one of its dependencies. The system cannot find the file specified.
File name: ‘ABC, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=2377fad544a7c307’ at
System.Reflection.Assembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection) at
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection) at System.Reflection.Assembly.InternalLoad(String
assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark,
Boolean forIntrospection) at System.Reflection.Assembly.Load(String
assemblyString) at
Microsoft.SharePoint.Administration.SPFeatureDefinition.get_ReceiverObject()

WRN: Assembly binding logging is turned OFF. To enable assembly bind
failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There
is some performance penalty associated with assembly bind failure
logging. To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].

Removing the feature receiver allows me to again debug without issue, but the problem returns as soon as I re-add the feature receiver.

I’ve tried cleaning and rebuilding, and then debugging, but the error won’t go away unless/until I remove the feature receiver.

Why does my project’s assembly get included in the package when I use the “Package” command, but not when I use the “Start Debugging” command, and what about adding the feature receiver causes this to happen?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:07:32+00:00Added an answer on June 2, 2026 at 12:07 am

    I don’t know what caused it to happen, but the problem went away when I manually cleared my obj and bin directories. Here are the steps I followed for getting from the state cited in the question to successful debugging w/ a feature receiver:

    1. Remove feature receiver
    2. Clean solution
    3. Close Visual Studio
    4. Delete SharePoint project’s obj folder in Windows Explorer
    5. Delete SharePoint project’s bin folder in Windows Explorer
    6. Open Visual Studio and re-add feature receiver
    7. Start Debugging
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have just tried to save a simple *.rtf file with some websites and
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.