Home Forums Support Location of NetworkCommsDotNet files

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3307
    Anonymous
    Inactive

    Hi I am using Visual studio 2013 and trying to create a windows form application in C# I don’t understand where I should locate the files that are contained in the “networkcommsdlls” folder within my project environment, I am using the following:

    using System.Net;
    using NetworkCommsDotNet;
    using NetworkCommsDotNet.Tools;
    using NetworkCommsDotNet.Connections;
    using NetworkCommsDotNet.Connections.TCP;
    using NetworkCommsDotNet.DPSBase;

    But I keep getting the error:
    Error 1 The type or namespace name ‘NetworkCommsDotNet’ could not be found (are you missing a using directive or an assembly reference?) \\psf\home\Documents\Visual Studio 2013\Projects\myclient\myclient\Form1.cs
    How do I set-up my program so it can use your libraries or net tools?

    #3308
    Anonymous
    Inactive

    Hi Carlos,

    You’ve added the namespaces to your source file(s) which only really save you from having to type the complete, long winded, NetworkCommsDotNet.Connections.TCP.<whatever> whenever you want to use <whatever>.

    But, you don’t appear to have added a reference(s) to the NetworkComms libraries. This is the part that actually tells the compiler that you want to use the library.

    Right click the references in your project and then on the window that appears click the browse button near the bottom. Then browse to the folder you unzipped the NetworkComms files to. In there you should find a DLL’s folder and within that you should see folders for different versions of .Net.

    I’ve been using the Net40/Merged/NetworkCommsDotNetComplete.dll one, but you can use the individual ones, just make sure you include all you need.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.