Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Sorry, of course "How?".

 

About what? Do you mean how or why? Or something else?

A man and a dog have an average of three legs.

Beaware of Statistics.

Posted
That's right :) But the problem occurs for example when you want to load a user control. I receive a "System.IO.FileLoadException: The located assembly's manifest definition with name 'XXX' does not match the assembly reference". I think, that's because of dynamic compilation of pages through asp.net (\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\). These dlls are not strong typed. How can I make asp.net use my *.snk file during the compilation? That's my problem (I've thought it's common ;).

A man and a dog have an average of three legs.

Beaware of Statistics.

Posted
Have you tried giving the application a hard coded version number in the AssemblyInfo file?

 

Yes, I have.

 

Also out of interest is there a reason why you need to give a web app a strong name?

 

I have an idea to secure my business logic using the code security. I can then restrict an access to my public functions/objects etc. only to assemblies with known public key.

A man and a dog have an average of three legs.

Beaware of Statistics.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...