Ask coding questions

← Back to all posts
Assembly Reference
Mac54 (4)

How do you add an assembly reference in C# with I have a file with a namespace and I want to call a function from that namespace that I have in a separate file.

Answered by heyitsmarcus (347) [earned 5 cycles]
View Answer
heyitsmarcus (347)

Your file MWMSTDIO is not a cs file. Right click on it, click Rename and give it a .cs file extension, and it will read just fine.

If this solved your problem, please consider upvoting and marking my comment as the accepted answer to close this question. I'll continue answering any questions you might have.

Mac54 (4)

@heyitsmarcus Thanks I didn't even notice.

heyitsmarcus (347)

@heyitsmarcus You're welcome. I've noticed that sometimes when you're coding, you can't see the forest through the trees. You need someone to come in and take a glance to see something different. Happy Coding!