This may be a stupid question but how can I add XML references in Visual Studio to a single c# file?
I want to use using System.xml;
, but Visual Studio is not able to find it. After a little research, I found out that I have to reference the DLL. But I only created a single C#
script and no project: the project window on the right side is empty (shows 0 projects) and, when I right-click on it, there is no option for adding a reference.
The script should provide a few functions for reading specific XML files and basically should be a plug-in which can be implemented in any C#
program if needed - so I think I don't really want to make an application out of it.