Comments (6)
Am not sure to get it. You mean that the FullyQualifiedName property is not set when writing a ModuleDefinition?
from cecil.
No, I need a way to provide to Cecil the name of a ModuleDefinition when it needs to save one.
See AssemblyWriter.cs, line 942:
var file_name = GetModuleFileName (module.Name); module.Write (file_name, parameters);
In fact I would be happy to have in a ModuleDefinition a property FileName (for example), that could be used instead of the GetModuleFileName method if it is set.
from cecil.
So this only applies when writing an assembly with multiple module, and for non main module?
from cecil.
Yes.
from cecil.
Is there any solution for this case, in order to specify the filename of a non-main module?
from cecil.
No, the bug would be closed otherwise :)
from cecil.
Related Issues (20)
- Link in README goes to betting site HOT 2
- Problem with weawing
- Possible ArgumentOutOfRangeException when there are 65535 params in metadata table HOT 3
- how to modify PrivateImplementationDetails HOT 1
- Remove link in the about section in this repo HOT 1
- Mono.ArgumentNullOrEmptyException When trying to write embedded symbols assembly to stream
- How can I set constant value to an enum field when creating a new enum
- How can i read uncompiled CS files HOT 2
- Bug: PInvoke information is not saved to assembly properly
- failed to add arguments to attributes that accepts objects HOT 1
- Type parameter constraint in patched class breaks on newer Mono.Cecil version HOT 7
- Add the ability to create Instructions without the appropriate operand type HOT 1
- The MVID is not added to the sections HOT 1
- it will throw exception about failed to resolve TupleElementNamesAttribute:.ctor sometime
- Changes so Mono.Cecil will run when FIPS compliance is required
- `IsValueType` not set correctly for custom attribute fields of an enum type HOT 2
- Enum value in CustomAttributeArgument
- Is this locking correct in ModuleDefinition? HOT 1
- Incorrect metadata token fixing in `GetTypeSpecification` HOT 1
- stfld got a wrong operand in a generic type.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cecil.