Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Ive added a using to my C# source file, but its still telling me that I have undefined types. What am I doing wrong?

0
Posted

Ive added a using to my C# source file, but its still telling me that I have undefined types. What am I doing wrong?

0

It’s likely that youre missing the reference to that assembly in which the namespace is located. Using is simply a syntax convenience, in order to add a dependency to another assembly, you must reference it in the IDE you right click your project and select add reference, from the command line you use the /reference switch.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123