bugDotGNU Portable.NET - Bugs: bug #10775, the case of a missing library...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10775: the case of a missing library which is not used at runtime

Submitted by:  Norbert Bollow <nb>
Submitted on:  Sat 23 Oct 2004 12:07:51 AM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 23 Oct 2004 03:25:06 AM UTC, comment #1:

I have added an "--ignore-load-errors" option to "ilrun",
which will cause it to ignore metadata errors when loading.
Use of this option is severely discouraged, as it could
lead to severe system instability.

The proper way to use optional components in an
application is to load them dynamically via reflection,
not to rely upon misfeatures in Microsoft's static
loading algorithm.

Fix committed, 23 Oct 2004

Rhys Weatherley <rweather>
Project Administrator
Sat 23 Oct 2004 12:07:51 AM UTC, original submission:

If a program references a missing DLL which is not actually used at runtime, MS .Net executes the program without complaint. ilrun generated a fatal error and doesn't execute the program.

Trumpf requests replacing the fatal error with a warning.

The attached shell script generates a program Test.exe which will run fine on MS .Net even if TestUnused.dll is notpresent, but which can't be run with ilrun without TestUnused.dll

Norbert Bollow <nb>
Project Member

 

Attached Files
file #1923:  script added by nb (745B - application/octet-stream - shell script which generates Test.exe)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 23 Oct 2004 03:25:06 AM UTCrweatherStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sat 23 Oct 2004 12:07:51 AM UTCnbAttached File-=>Added script, #1796

Back to the top


Powered by Savane 3.1-cleanup1