Click here to Skip to main content
15,881,709 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
here is the file that it is getting all the errorshttps://github.com/openbeast90/delude/blob/master/delude-logger/Resources/Webhook.cs
if you have any questions about the project ask so i can help you help me
or just look through the rest of the project
ive wasted 12 hours so far on this and i am new to coding so i would really appreciate it
here is the compiler errors im getting

here is a ss of the output
https://imgur.com/a/D9QMF9C

What I have tried:

i have tried rebuilding the resources.resx
Posted
Updated 6-Jul-21 4:39am
v2

1 solution

Look at your error messages: they are very clear.
YOu code is attempting to declare classes that already exist.
The namespace "Stealer" has two classes called "FormUpload" and so forth - you can't have that.
Either one set must be in a different namespace so the system can resolve which version you mean each time you try to use it, one of them needs a different name, or you need to combine them into a single class.

It's also possible that neither of them is marked as partial which would allow a class to be defined in multiple files.
 
Share this answer
 
Comments
col bur (solder fumes.cs) 6-Jul-21 10:39am    
@originalgriffbut it has to be in the namespace for the other files I’m trying to compile to use it as a reference , and I have already tried renaming the namespace stealer to stealer1 and formupload to formupload2 and I get the same error
Dave Kreskowiak 6-Jul-21 11:31am    
Well, you missed something.
OriginalGriff 6-Jul-21 11:47am    
The problem with renaming things is that it changes all instances - so if you have a duplicate before you do that, you still have a duplicate afterwards ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900