Home - Forums-.NET - Spices.Net - MissingManifestResourceException

Spices.Net

NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

MissingManifestResourceException
Link Posted: 22-Jun-2006 03:50
I'm getting this exception when accessing a resource like this:
Properties.Resources.

What is the workaround for this?

Thanks
Link Posted: 22-Jun-2006 09:00
Yes, you can exclude from obfuscation all project related classes -
just add to the Spices.Project.ExclusionPattners string like following:

MyApp.My.*

where MyApp.My - namespace that contains project releated classes - Settings, Properties etc.
Link Posted: 23-Jun-2006 04:32
That did the trick thanks!
Link Posted: 25-Sep-2006 03:48
That's great!!

I only put all the namespace and it runs!!
Link Posted: 28-Nov-2006 12:05
Is there any way to do this when running from the console application without a project file ?
Link Posted: 28-Nov-2006 12:30
You can use control obfuscation attributes (you can find the code of these attributes in \\SDK\\Obfuscation attributes folder, youcan use this code as you want - use partially, change visiblity of attribute classes, but don't change namespaces and names of classes) and use attributes-analogues of ExclusionPatterns/InclusionPatterns collections of Spices.Project:
ObfuscateMembersAttribute - analogue of InclusionPatterns
NotObfuscateMembersAttribute - analogue of ExclusionPatterns.
Attach necessary attribute to your assembly attributes and specify pattern to exclude/include some members from obfuscation.