M
Mattias Sjögren
Why can't you use the existing namespace?
Mattias
Mattias
Tamir Khason said:ilasm failed here
Creating PE file
Error: No entry point declared for executable
Could not create output file, error code=0x80004005
message news:%[email protected]...Tamir,
I doubt it, especially if it is signed. If it is signed, then I imagine
the namespace of each type makes up part of the hash that is embedded in the
assembly when it is signed.
What you could do is run ildasm on the assembly, creating files of IL,
and then call ilasm, which would compile the IL. You can change the
namespace in the IL, and get the same results, I believe.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
wantTamir Khason said:I have a couple of class libraries wich I built about a year ago. I
toadd it no other project, but I want to change their namespaces without
recompliation ('cos I'm not sure that I have all nessesery libraries).
Is it possible anyhow change namespace of compiled .NET DLL ?
TNX
Tamir Khason said:Added /DLL key and now I recieve the following:
Resolving member refs: 19157 -> 19157 defs, 0 refs
Could not create output file, error code=0x80070714
message news:%[email protected]...embeddedTamir,
When using IL, I think you need to specify the target to be a DLL, not
an executable.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
wroteTamir Khason said:ilasm failed here
Creating PE file
Error: No entry point declared for executable
Could not create output file, error code=0x80004005
"Nicholas Paldino [.NET/C# MVP]" <[email protected]>
inmessage Tamir,
I doubt it, especially if it is signed. If it is signed, then I
imagine
the namespace of each type makes up part of the hash that isinofthe
assembly when it is signed.
What you could do is run ildasm on the assembly, creating files
IL,Iand then call ilasm, which would compile the IL. You can change the
namespace in the IL, and get the same results, I believe.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
I have a couple of class libraries wich I built about a year ago.
wantto
add it no other project, but I want to change their namespaces without
recompliation ('cos I'm not sure that I have all nessesery libraries).
Is it possible anyhow change namespace of compiled .NET DLL ?
TNX
Nicholas Paldino said:Tamir,
I doubt it, especially if it is signed. If it is signed, then I imagine
the namespace of each type makes up part of the hash that is embedded in the
assembly when it is signed.
What you could do is run ildasm on the assembly, creating files of IL,
and then call ilasm, which would compile the IL. You can change the
namespace in the IL, and get the same results, I believe.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Tamir Khason said:I have a couple of class libraries wich I built about a year ago. I want to
add it no other project, but I want to change their namespaces without
recompliation ('cos I'm not sure that I have all nessesery libraries).
Is it possible anyhow change namespace of compiled .NET DLL ?
TNX
Nicholas Paldino said:Tamir,
I doubt it, especially if it is signed. If it is signed, then I imagine
the namespace of each type makes up part of the hash that is embedded in the
assembly when it is signed.
What you could do is run ildasm on the assembly, creating files of IL,
and then call ilasm, which would compile the IL. You can change the
namespace in the IL, and get the same results, I believe.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Tamir Khason said:I have a couple of class libraries wich I built about a year ago. I want to
add it no other project, but I want to change their namespaces without
recompliation ('cos I'm not sure that I have all nessesery libraries).
Is it possible anyhow change namespace of compiled .NET DLL ?
TNX
Nicholas Paldino said:Tamir,
When using IL, I think you need to specify the target to be a DLL, not
an executable.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Tamir Khason said:ilasm failed here
Creating PE file
Error: No entry point declared for executable
Could not create output file, error code=0x80004005
message news:%[email protected]...inTamir,
I doubt it, especially if it is signed. If it is signed, then I imagine
the namespace of each type makes up part of the hash that is embedded
theassembly when it is signed.
What you could do is run ildasm on the assembly, creating files of IL,
and then call ilasm, which would compile the IL. You can change the
namespace in the IL, and get the same results, I believe.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
I have a couple of class libraries wich I built about a year ago. I want
to
add it no other project, but I want to change their namespaces without
recompliation ('cos I'm not sure that I have all nessesery libraries).
Is it possible anyhow change namespace of compiled .NET DLL ?
TNX
Nicholas Paldino said:Tamir,
When using IL, I think you need to specify the target to be a DLL, not
an executable.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
Tamir Khason said:ilasm failed here
Creating PE file
Error: No entry point declared for executable
Could not create output file, error code=0x80004005
message news:%[email protected]...inTamir,
I doubt it, especially if it is signed. If it is signed, then I imagine
the namespace of each type makes up part of the hash that is embedded
theassembly when it is signed.
What you could do is run ildasm on the assembly, creating files of IL,
and then call ilasm, which would compile the IL. You can change the
namespace in the IL, and get the same results, I believe.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
I have a couple of class libraries wich I built about a year ago. I want
to
add it no other project, but I want to change their namespaces without
recompliation ('cos I'm not sure that I have all nessesery libraries).
Is it possible anyhow change namespace of compiled .NET DLL ?
TNX
Tamir Khason said:ilasm failed here
Creating PE file
Error: No entry point declared for executable
Could not create output file, error code=0x80004005
message news:%[email protected]...Tamir,
I doubt it, especially if it is signed. If it is signed, then I imagine
the namespace of each type makes up part of the hash that is embedded in the
assembly when it is signed.
What you could do is run ildasm on the assembly, creating files of IL,
and then call ilasm, which would compile the IL. You can change the
namespace in the IL, and get the same results, I believe.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
wantTamir Khason said:I have a couple of class libraries wich I built about a year ago. I
toadd it no other project, but I want to change their namespaces without
recompliation ('cos I'm not sure that I have all nessesery libraries).
Is it possible anyhow change namespace of compiled .NET DLL ?
TNX