skip to main |
skip to sidebar

1. Open the visual studio 2005 command prompt
2. Type the following command : csc /target:library /out:"<path>.dll" "<filepath>.cs"

e.g.,
csc /target:library /out:"D:custom.dll" "D:custom.cs"
To Hide the OPEN button in the OPEN / SAVE / CANCEL Dialog box
We've to add the following tag in the HEAD tag of the ASP.NET html code:
meta name="DownloadOptions" content="noopen"
In the same way if you want to hide the SAVE button add the following tag:
meta name="DownloadOptions" content="nosave"