Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dll must be strong signed in order to be marked as a prerequisite

Status
Not open for further replies.

PGO01

Programmer
Jan 8, 2008
156
GB
I have a click-once deployment win forms project that cannot build successfully because of this error:

Example.dll must be strong signed in order to be marked as a prerequisite.

I don't want to strong sign the Example.dll.

I have gone into 'Project Properties > Publish > Application Files' and made sure that Example.dll is marked as 'Include (Auto)' and not 'Prerequisite'.

Any ideas?

Many thanks in advance.
Pete
 
Fixed it!

My project (A) had a reference to another assembly (B) and they both referenced a third assembly (C).

The problem was that (B) was referencing an old version of (C) that was strongly signed.

Solution:
Opened project (B) and did the following:
1. Set reference to (C) to Copy Local = false.
2. Build > Clean Solution.
3. Build > Rebuild All.
4. Rebuild All on Project (A).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top