Admin
|
 |
 |
| Присоединился: 18 Mar 2003 |
| Число сообщений: 36 |
| |
|
MK.BAT
Отправлено: 18 Mar 2003 06:53 PM |
Hi all,
some days ago i found a question about mk.bat in this forum. I don't know if there is answer and the search function is not working. So again this question: is there anybody who can give me a mk.bat as used in the original portal and in the rainbow portal?
I'm currentliy not working with vs!
Can anybody help me?
Thanks
|
//Igor
|
|
|
|
Admin
|
 |
 |
| Присоединился: 18 Mar 2003 |
| Число сообщений: 36 |
| |
|
Re: MK.BAT
Отправлено: 18 Mar 2003 06:58 PM |
Hi Mike,
MK.BAT is delivered with the original IBS Portal. The batch file is used to compile the code behind modules and the component modules into a dll (in this case: aspnetportal.dll you find in the bin directory).
I think it is only a question of time to write that command line syntax for the vbc (the visual basic compiler) and not really a question of knowledge.
The intention of my question was to find somebody who has already such a batch file and i don't have to write it my self
But it seems that there is nobody in the world of IBSW developers that have on. And this means: i have to do it my self. And there are so many subdirectory's i have to write in the command line........
Mike, thanks for you answer.
|
//Igor
|
|
|
|
Admin
|
 |
 |
| Присоединился: 18 Mar 2003 |
| Число сообщений: 36 |
| |
|
Re: MK.BAT
Отправлено: 18 Mar 2003 06:59 PM |
Hi all,
first version of mk.bat finished. Don't ask me what i'm doing, it works (not fully tested). In addition to that, i found a post in one of the other forums with an important information: there must be feature in vs to log the calls to resgen, al and vbc to a text file. My be someone can post such a log so that i con compare it with my compiler settings.
so, here is the first version:
rem Use this batch to recompile ibsw without using visual studio
rem
rem Compiling ASPNETPortal.dll
vbc /t:library /optimize /out:bin\ASPNETPortal.dll *.vb /recurse:Admin\*.vb components\*.vb controls\*.vb /recurse:DesktopModules\*.vb /r:System.web.dll /r:System.data.dll
/r:system.dll /r:System.Web.Mobile.dll /r:System.XML.dll /r:system.drawing.dll
/libpath:C:\WINNT\Microsoft.NET\Framework\v1.0.3705
/imports:system,system.web,Microsoft.VisualBasic,
system.data,system.xml,system.data.common,system.data.oledb,
system.data.sqlclient,system.web.ui,system.web.ui.design,
system.web.ui.htmlcontrols,system.drawing.image,
system.Web.UI.WebControls,system.collections /optionexplicit-
i have to optimze that, but today it works. There is only one thing that makes me a little bit nervous: i have to set the option /optionexplicit- ! If i didn't use that option i get a lot of errors for vars that are not declared??????????
But now it's time to drink some bear
Cheers
Tom |
//Igor
|
|
|
|