In VS, it's easy using the project panel in adding reference of a .dll.
But how can I do the C# scripting all in Notepad and I needa reference to shdocvw.dll?
Printable View
In VS, it's easy using the project panel in adding reference of a .dll.
But how can I do the C# scripting all in Notepad and I needa reference to shdocvw.dll?
you open the project file, and add the necessary entry under references.
-tg
Not in VS. I mean just starting scripts from scratch in Notepad.
again....
you open the project file, and add the necessary entry under references.
I do this all the time in Notepad++.... I just open the project file, which is in XML format, add/remove/change what I need to, and save it. I don't recommend this unless you know what you're doing... but it' possible... all you need to do is
open the project file, and add the necessary entry under references.
-tg
Is it ".csproj"?
Is the xml something like this:
Add / Remove the reference here?Code:<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>