I disassembled a .dll a long-lost ex co-worker wrote because I need to make an adjustment, have no source code, etc.etc.
There is a class with tons of static properties, like so:
public static string YearMissing
{
get
{
return Strings.YearMissing;
}
}
javascript:emoticon(':D')
I looked at the "Expand Methods" view of this class, and clicked on "Strings" (i.e. part of Strings.YearMissing from above).
It brought me to another Namespace, Resources, and created a Strings class underneath, with a class defined like this:
namespace Resources
{
[CompilerGenerated, DebuggerNonUserCode, GeneratedCode("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "9.0.0.0")]
internal class Strings
{
..... lots of cut code ....
internal static string YearMissing { get; }
...
}
}
I'm trying to understand what I need to adjust in the disassembled code so that I can "recompile" this one class. I don't understand why this Resources namespace is being created, but I'm new at this Reflector stuff.
Any help is appreciated,
toerri
:shock:
There is a class with tons of static properties, like so:
javascript:emoticon(':D')
I looked at the "Expand Methods" view of this class, and clicked on "Strings" (i.e. part of Strings.YearMissing from above).
It brought me to another Namespace, Resources, and created a Strings class underneath, with a class defined like this:
I'm trying to understand what I need to adjust in the disassembled code so that I can "recompile" this one class. I don't understand why this Resources namespace is being created, but I'm new at this Reflector stuff.
Any help is appreciated,
toerri
:shock: