-ert:no compile fail - is this expected behaviour
Posted: Fri Feb 22, 2008 1:48 am
Apologies if this is a stupid question _ I'm not a Windows/.net user
if I specify -ert:no i get a *compilation* error with or without -c
C:\home\hops\src\cobra>cobra -ert:no hello.cobra
error: Metadata file "Cobra.Lang.dll" could not be found
Compilation failed - 1 error, 0 warnings
IF I specify both -ert:no ( No runtime embedded ) and -r:Cobra.Lang ( to tell it it needs the runtime) I get a Cobra internal error
C:\home\hops\src\cobra>cobra -c -ert:no -r:Cobra.Lang hello.cobra
error: COBRA INTERNAL ERROR / ArgumentException / An item with the same key has
already been added.
Compilation failed - 1 error, 0 warnings
[ please tell me the key you're complaining about]
I'm doing this to get some idea of generated code size without the embedded runtime....
given the above whats the point of having -ert:no??
I half pie expected it might fail to run the executable without the embeded runtime but I didnt expect it would also fail the compile...
Is this expected/desired behaviour??
if I specify -ert:no i get a *compilation* error with or without -c
C:\home\hops\src\cobra>cobra -ert:no hello.cobra
error: Metadata file "Cobra.Lang.dll" could not be found
Compilation failed - 1 error, 0 warnings
IF I specify both -ert:no ( No runtime embedded ) and -r:Cobra.Lang ( to tell it it needs the runtime) I get a Cobra internal error
C:\home\hops\src\cobra>cobra -c -ert:no -r:Cobra.Lang hello.cobra
error: COBRA INTERNAL ERROR / ArgumentException / An item with the same key has
already been added.
Compilation failed - 1 error, 0 warnings
[ please tell me the key you're complaining about]
I'm doing this to get some idea of generated code size without the embedded runtime....
given the above whats the point of having -ert:no??
I half pie expected it might fail to run the executable without the embeded runtime but I didnt expect it would also fail the compile...
Is this expected/desired behaviour??