|
-
May 16th, 2012, 05:54 AM
#1
Thread Starter
Lively Member
How to add reference of a .dll using Notepad???
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?
-
May 16th, 2012, 07:49 AM
#2
Re: How to add reference of a .dll using Notepad???
you open the project file, and add the necessary entry under references.
-tg
-
May 16th, 2012, 09:51 AM
#3
Thread Starter
Lively Member
Re: How to add reference of a .dll using Notepad???
Not in VS. I mean just starting scripts from scratch in Notepad.
-
May 16th, 2012, 10:05 AM
#4
Re: How to add reference of a .dll using 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
-
May 17th, 2012, 05:45 AM
#5
Thread Starter
Lively Member
Re: How to add reference of a .dll using Notepad???
Is it ".csproj"?
Is the xml something like this:
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>
Add / Remove the reference here?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|