Advertisement
tsnaik

WDDN lab2

Jul 9th, 2015
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. open VS dev console
  2.  
  3. calc.cs
  4.  
  5. >csc /t:library calc.cs //creates dll
  6. >csc /t:exe /r:calc.dll program.cs //creates exe
  7. >ildasm program.exe //deassembler
  8.  
  9. in '1' directory:
  10.  
  11. >css /t:module add.cs //creates netModule
  12. >css /t:module sub.cs
  13.  
  14. >csc /addmodule:add.netmodule /addmodule:sub.netmodule /t:library /out:calc.dll //creates calc.dll
  15. >csc /t:exe /r:calc.dll program.cs //creates exe
  16.  
  17.  
  18. in '2' directory:
  19.  
  20. >csc /t:module /out:calc.netmodule add.cs sub.cs // createcalc.netmodule
  21. >csc /addmodule:calc.netmodule /t:library /out:calc.dll //create calc.dll
  22. >csc /t:exe /r:calc.dll program.cs //create program.exe
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement