hello
I have a asp.net project that uses c# as the code behind lang.
I would like to add a few features but my current computer does not have the Visual studio IDE - just the SDK
for simple forms i was able to add the src attrib and get the classes to compile but when I use a class in the same namespace my code behind forms ( a data base class - that connects to the Db and has other Db access util methods) - the on demand compile fails with the msg:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'DatabaseOps' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 36: else
Line 37: {
Line 38: DatabaseOps dbOp;
Line 39: dbOp = new DatabaseOps ();
Line 40: Boolean validatedB = false;
***
Any help on how to buildweb app dll from the command line would be appreciated.
I tried using csc on each of the .cs files and finally al.exe
with the commands
csc /t:module DatabaseOps.cs
csc /addmodule

atabaseOps.netmodule /t:module login.aspx.cs
csc /addmodule

atabaseOps.netmodule /t:module Expoinvoice.aspx.cs
csc /addmodule

atabaseOps.netmodule /t:module ExpoinvoiceDetail.aspx.cs
csc /addmodule

atabaseOps.netmodule /t:module Global.asax.cs
csc /addmodule

atabaseOps.netmodule /t:module logout.aspx.cs
csc /addmodule

atabaseOps.netmodule /t:module ReportChooser.aspx.cs
csc /addmodule

atabaseOps.netmodule /t:module AssemblyInfo.cs
al DatabaseOps.netmodule login.aspx.netmodule Expoinvoice.aspx.netmodule Global.asax.netmodule logout.aspx.netmodule ReportChooser.aspx.netmodule AssemblyInfo.netmodule /target:LIBRARY /out:a.dll
I guess I need to compile something else too - cause the dll I got was much smaller than the one the IDE had made on the other computer. ( was 34kb but the command line one i made is just 5kb ! )
Regards
Tushar