Among my frequently asked questions, "How do I publish a project using netadvantage? Do I need to install netadvantage on the publishing machine ?", The answer is that there is no need to install netadvantage on the publishing machine. Therefore, I am going to briefly describe the release steps, only for the for ASP. NET project.
We have installed netadvantage for ASP. after the Net Control, we can develop it. during development, we may have discovered that many client JS scripts support the implementation of these controls. Therefore, in addition to packaging the DLL, we also need to find a way to put these JS scripts into the installation package. These scripts are all stored in the \ Inetpub \ wwwroot \ aspnet_client \ infragistics directory of the system disk and published web applications. Program The name is ig_common. Therefore, we only need to ensure that there are ig_common Web applications on the publishing machine. Now we can start.
1) Add a web installation project:
2) Add the primary output. Needless to say, this is very simple. In this case, the referenced netadvantage dll will be added to the dependencies:
Dependent content:
At this time, the normal installation project is basically complete, and then you can set a message at the time of installation.
3) Go to the file system view and right-click the project name.
Add a custom Web Folder:
Name it infragistics.
4) Add the content. Drag all the content in the infragitics directory in aspnet_client to the folder created above, and all JS files will be automatically added:
5) set the properties of infragitics: the virtual directory name is ig_common, and set it as a web application project:
Now, when installing the installation package, you can also create the ig_common JS script project. In this way, you can use it without installing netadvantage on the released machine.
It's quite easy. Of course there may be other installation methods. You just need to install the ig_common script on the publishing machine.
PS: Of course, some friends can put these scripts in their own projects, but when using the netadvantaeg control, you must manually set the script directory.
OK. I wish you success!
Tingtang
2005-3-4-