473,804 Members | 3,209 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

what is the ".netmodule "

TJS
in this command line to create a strong name, what is the ".netmodule ", and
how do I create/get one ?
al /out:MyAssembly. dll MyModule.netmod ule /keyfile:sgKey.s nk
Nov 18 '05 #1
3 3601
A .netmodule is a "raw" module. I don't believe Visual Studio will let
you create a raw module but you could create one with command line
tools (csc with the /t:module option).

A raw module can't be deployed by itself, it has to be associated with
an assembly, which is what the assembly linker (al.exe) does. I get
the feeling you might not need to use al.exe, do you just need to
strong name an assembly? Are you using VS.NET?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 29 Oct 2004 12:42:24 -0700, "TJS" <no****@here.co m> wrote:
in this command line to create a strong name, what is the ".netmodule ", and
how do I create/get one ?
al /out:MyAssembly. dll MyModule.netmod ule /keyfile:sgKey.s nk


Nov 18 '05 #2
TJS
yes, I am trying to strong name an assembly and I don't use VS
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:bg******** *************** *********@4ax.c om...
A .netmodule is a "raw" module. I don't believe Visual Studio will let
you create a raw module but you could create one with command line
tools (csc with the /t:module option).

A raw module can't be deployed by itself, it has to be associated with
an assembly, which is what the assembly linker (al.exe) does. I get
the feeling you might not need to use al.exe, do you just need to
strong name an assembly? Are you using VS.NET?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 29 Oct 2004 12:42:24 -0700, "TJS" <no****@here.co m> wrote:
in this command line to create a strong name, what is the ".netmodule ",
and
how do I create/get one ?
al /out:MyAssembly. dll MyModule.netmod ule /keyfile:sgKey.s nk

Nov 18 '05 #3
Hi TJS:

You could let the compiler string name the assembly by putting an
attribute into a source code file:

[assembly:Assemb lyKeyFileAttrib ute(@"<key file name>")]

If you don't want to do this at compile time, you can delay sign:

[assembly:Assemb lyKeyFileAttrib ute(@"<key file name>")]
[assembly:Assemb lyDelaySignAttr ibute(true)]

The compiler still needs the key file name to at least insert the
public key into the assembly. Later you can do the actualy strong name
signing using sn.exe with the -R switch.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Sat, 30 Oct 2004 12:31:43 -0700, "TJS" <no****@here.co m> wrote:
yes, I am trying to strong name an assembly and I don't use VS
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:bg******* *************** **********@4ax. com...
A .netmodule is a "raw" module. I don't believe Visual Studio will let
you create a raw module but you could create one with command line
tools (csc with the /t:module option).

A raw module can't be deployed by itself, it has to be associated with
an assembly, which is what the assembly linker (al.exe) does. I get
the feeling you might not need to use al.exe, do you just need to
strong name an assembly? Are you using VS.NET?

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Fri, 29 Oct 2004 12:42:24 -0700, "TJS" <no****@here.co m> wrote:
in this command line to create a strong name, what is the ".netmodule ",
and
how do I create/get one ?
al /out:MyAssembly. dll MyModule.netmod ule /keyfile:sgKey.s nk


Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
16959
by: Ken Varn | last post by:
Sometimes when I try to close my managed C++ application, the following dialog displays in Win 2000 Pro: The title of the dialog is "Server Busy". The message is "This action cannot be completed because the other program is busy. Choose 'Switch to' to activate the busy program and correct the problem." I don't know why this is displayed. I would prefer to disable the display of this message if possible. My app needs to be able to...
5
2778
by: Jarek | last post by:
Hi all! I'm optimizing my C++ multi-threaded application (linux). My application consumes huge amout of memory from unknown reason. There are no memory leaks, or other allocation bugs, application works well, but on startup it has about 200mb (VmSize). How can I investigate what function/class/other takes so much memory ? I tried to verify sizes of classes using sizeof, but it returns so small values (<100 bytes), there are very little...
1
2233
by: blue | last post by:
Looking at code from the following: http://www.gamedev.net/reference/programming/features/enginuity2/page3.asp I'm confused though... CMMPointer(T *o) { obj=0; *this=0;
5
2079
by: junky_fellow | last post by:
Each time i submit some pattern to "google", it shows search took 0.XX seconds for exploring millions of web pages. When i look for efficient ways of searching a string, they always say compare your string with the strings in the file one by one. if there are millions of web pages then these algorithms would take considerable amount of time. So, what does google do for searching a pattern. Does it use thousands of parallel computers...
2
1491
by: Lasse Edsvik | last post by:
Hello I was wondering if you guys could tell me if: cmd.ExecuteReader(CommandBehavior.CloseConnection); returns a dataset, datatable or what?
1
1842
by: Alan Silver | last post by:
Hello, I have the following line of code in a script... litMsg.Text = Server.MapPath("/"); where litMsg is an ASP.Net Literal control. When I try and run this page, I get the error ... System.ArgumentException: Empty path has no directory.
9
4027
by: Dullme | last post by:
i can hardly know what is the code for this. I have researched palindromes, but unfortunately, I only have read about integers not for characters..I need some help..
5
3927
by: cowgurl art | last post by:
Hey there. I will not pretend to know more than I do...I'm just getting my feet wet with Dreamweaver and MySql databases. What I'm trying to do is create a form that will allow members to submit an audio file (mp3 or .wav) from a website. The form will insert the record into the database IF I can get it configured correctly. Here's the problem- I don't know what type to list the field as in order to get it to accept a file upload. Is this...
4
2832
by: CBFalconer | last post by:
regis wrote: Why don't you read the documentation (or source) from whomever supplied you that (non-standard) function? -- : Chuck F (cbfalconer at maineline dot net) : <http://cbfalconer.home.att.net> Try the download section.
0
10588
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7623
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5662
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.