I don't see any spaces between your command and your parameters, Try thiscsc /target:library /out:bin/device.dll device.aspx.csif it still not working, you may need to change the valid output folder, or the folder where you .cs file exists.