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

Submitter:  Norbert Bollow <nb>
Submitted:  Sat 23 Oct 2004 12:07:51 AM UTC
   
 
Category:  None Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-23 rweather StatusNone Fixed
    Open/ClosedOpen Closed
2004-10-23 nb Attached File- Added script, #1796

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code