Ask coding questions

← Back to all posts
Assembly Reference
Mac54 (1)

How do you add an assembly reference in C# with repl.it? 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 (287) [earned 5 cycles]
View Answer
Commentshotnewtop
heyitsmarcus (287)

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.

https://repl.it/@heyitsmarcus/MWMSTDIO

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 (1)

@heyitsmarcus Thanks I didn't even notice.

heyitsmarcus (287)

@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!