using Namespace; (Problem)

Hi, I was trying to do play with my brain, and that happened
No description
57 Replies
GhostStruᴺᴿ ᴸᴼᴿᴰ
I am using TypingProc as namespace
No description
GhostStruᴺᴿ ᴸᴼᴿᴰ
and in other project while using this
using TypingProc;
using TypingProc;
does not exist
SG97
SG975mo ago
have you added the reference to TypingProc project?
Patrick
Patrick5mo ago
that looks like a .net framework project
GhostStruᴺᴿ ᴸᴼᴿᴰ
Yes it is
Patrick
Patrick5mo ago
ok and did you add the reference like sn0wgirl asked?
GhostStruᴺᴿ ᴸᴼᴿᴰ
Let me try again I added it once but it didn't work, I'm trying again now Yea, nothing Same
SG97
SG975mo ago
can you show the reference added
GhostStruᴺᴿ ᴸᴼᴿᴰ
AutoTyper has reference to Typer and Typer to TypingProc
No description
GhostStruᴺᴿ ᴸᴼᴿᴰ
everywhere starts with namespace and the reference =]
No description
SG97
SG975mo ago
which project is this Typer?
GhostStruᴺᴿ ᴸᴼᴿᴰ
Auto Typer from a richtextbox the project typer is this
GhostStruᴺᴿ ᴸᴼᴿᴰ
here it's the "API" for the whole shit make the conection betweeen TypingProc(engine) and AutoTyper(Main Form)
Patrick
Patrick5mo ago
this seems like a lot of stuff for 1 thing what is an AutoTyper
GhostStruᴺᴿ ᴸᴼᴿᴰ
AutoTyper it`s a messager, that provides a message using delay
Patrick
Patrick5mo ago
why do you need it in separate assemblies/projects?
SG97
SG975mo ago
and if you do var typing = new Typing() what's the error
GhostStruᴺᴿ ᴸᴼᴿᴰ
because if I will make this in a single project the resources will go KABOM =]] needs to be defined the filePath,valueSleep,miliseconds but the problem is the reference
SG97
SG975mo ago
I see no static show the constructor
GhostStruᴺᴿ ᴸᴼᴿᴰ
wdym constructor?
SG97
SG975mo ago
show TypingProc.cs
Patrick
Patrick5mo ago
that's not how that works
GhostStruᴺᴿ ᴸᴼᴿᴰ
for this that is how it works =]] I used that
Patrick
Patrick5mo ago
splitting out code into separate assemblies doesn't magically make resources go away
GhostStruᴺᴿ ᴸᴼᴿᴰ
Sounds like a joke, but I just used that yesterday and keeps freezing that's why I did this, first time works well, now problem with the reference first time i mean, first time using this method, with 3 projects
Patrick
Patrick5mo ago
ok if you don't want to accept help in regard to something you don't understand, that's on you. good luck.
GhostStruᴺᴿ ᴸᴼᴿᴰ
bruh, I just explain you, if I will do a single file, the whole shit will freeze after start
SG97
SG975mo ago
not how it works
GhostStruᴺᴿ ᴸᴼᴿᴰ
i know =] I just need help to add this reference
SG97
SG975mo ago
which references does Typer have this?
GhostStruᴺᴿ ᴸᴼᴿᴰ
typingProc does not add
No description
SG97
SG975mo ago
why circular reference? and please, don't use OneDrive or any other cloud provider path for development
GhostStruᴺᴿ ᴸᴼᴿᴰ
not using =] yea...
SG97
SG975mo ago
assumed
No description
GhostStruᴺᴿ ᴸᴼᴿᴰ
idk it`s a single folder on desktop
GhostStruᴺᴿ ᴸᴼᴿᴰ
here we go
SG97
SG975mo ago
well, there's no paths to be seen
GhostStruᴺᴿ ᴸᴼᴿᴰ
tf gimme 3 sec
SG97
SG975mo ago
it's hard to keep up what projects are referencing what
GhostStruᴺᴿ ᴸᴼᴿᴰ
B:\AutoTyper-master
B:\AutoTyper-master
now is better no more onedrive
SG97
SG975mo ago
and B is a drive OneDrive made?
SG97
SG975mo ago
aight
GhostStruᴺᴿ ᴸᴼᴿᴰ
and still not adding
No description
GhostStruᴺᴿ ᴸᴼᴿᴰ
let me try something i will add everything in TypingProc
SG97
SG975mo ago
well if it's circular, it won't work
SG97
SG975mo ago
as in, AutoTyper is already referencing Typer... maybe
GhostStruᴺᴿ ᴸᴼᴿᴰ
I will add
Typer
Typer
in
TyperProc
TyperProc