T
Thorsten Tarrach
Hallo,
When I reference to an assembly and use a constant from that assembly it
will be card coded during compilation.
Dim a as integer = test123.class1.myconst 'myconst is 3
becomes to
dim a as integer = 3
For me as the developer of the library causes this behaviour some problemes:
Whenever I change a constant I loose backward compatibility. This also
applies to enums which makes this problem even worse.
Is there an attribute to tell the compiler to get the constants during
runtime?
Thanks, Thorsten
When I reference to an assembly and use a constant from that assembly it
will be card coded during compilation.
Dim a as integer = test123.class1.myconst 'myconst is 3
becomes to
dim a as integer = 3
For me as the developer of the library causes this behaviour some problemes:
Whenever I change a constant I loose backward compatibility. This also
applies to enums which makes this problem even worse.
Is there an attribute to tell the compiler to get the constants during
runtime?
Thanks, Thorsten