Nacho

Nacho

  • NA
  • 3
  • 0

csc.exe Compilation Problem

Dec 4 2009 8:42 AM


Hi guys,


I am trying to learn C# for certain functions of my job but as I am not a member of the IT department I do not have privileges to access the C:\ drive (I have a personal different drive in the Network for my use, H:\), nor can I download the .NET 3.5 Framework, not to speak of installing it. The same applies for downloading and installing IDE's. However, I found that with .NET 2.0, I can grab the Microsoft .NET file in C:\WINDOWS copy and paste it into H:\, then go to the directory via the cmd.exe and compile using csc.exe and the notepad (I know it's very inconvenient but it's the only thing I can do with all the privilege restrictions). However, I would prefer to use .NET 3.5 so I did the same thing, only that when I run csc.exe to compile I get the set of errors below. Any ideas to solve this issue, please?

H:\C#\Microsoft .NET\Framework\v3.5> csc TestApp.cs

error CS0006: Metadata file 'System.Core.dll' could not be found
error CS0006: Metadata file 'System.Data.DataSetExtensions.dll' could not be found
error CS0006: Metadata file 'System.Data.Linq.dll' could not be found
error CS0006: Metadata file 'System.Runtime.Serialization.dll' could not be found
error CS0006: Metadata file 'System.ServiceModel.dll' could not be found
error CS0006: Metadata file 'System.ServiceModel.Web.dll' could not be found
error CS0006: Metadata file 'System.Web.Extensions.Design.dll' could not be found
error CS0006: Metadata file 'System.Web.Extensions.dll' could not be found
error CS0006: Metadata file 'System.Workflow.Activities.dll' could not be found
error CS0006: Metadata file 'System.Workflow.ComponentModel.dll' could not be found
error CS0006: Metadata file 'System.Workflow.Runtime.dll' could not be found
error CS0006: Metadata file 'System.Xml.Linq.dll' could not be found
 

Answers (2)