R
R
Ramyon2019-05-31 17:32:46
C++ / C#
Ramyon, 2019-05-31 17:32:46

How to compile C# code without access to third party library used?

Hello! There is some C# code that uses a namespace that is not accessible (other people's library/on the server). Because of this, I can't compile it on my computer to just fix syntax errors and stuff. I tried to create an emulator library with empty classes, but the difficulty is that you need to initialize a lot of things and do it right, guess with the data type, and so on. Maybe there is some way how to solve this problem? I heard about wrappers, but I don't understand how to do it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2019-05-31
@ramyon

That's exactly what you need to do - you need an emulator with empty classes, and yes, this will only help you with compilation, otherwise you will have to implement interfaces and constructors one way or another ... i.e. actually writing this library from scratch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question