compilation error using dos command

B

Ben

I'm using the dos command to compile our app web forms
dll via the following batch file :

set InDir=c:\test\
set OutDir=c:\inetpub\wwwroot\test\bin\
set InFile1=%InDir%Default.aspx.cs
set InFile2=%InDir%Login.aspx.cs
set OutFile=%OutDir%\test.webform.dll
set assemblies=System.dll,System.Data.dll,System.Web.dll,%
OutDir%test.biz.dll
csc /t:library /out:%OutFile% %InFile1% %InFile2% /r:%
assemblies%

It works fine until the no. of InFile grows to over 50
that it complains "The input line is too long."

Is there a way to resolve this?

Thanks,
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top