M_Giovannini Posted December 28, 2020 Posted December 28, 2020 Introduction. I recently decided to start writing my own server for RAGE: MP. Have experience developing servers for SA:MP, I study several programming languages. I decided to write the server in C#, because I know Java relatively well and I had a little experience writing scripts in C# for the game Space Engineers. Description of my problem Actually, the problem arose when I tried to write a simple client-side script. When I connect to my server, I get this error: C#: Server packages could not be compiled successfully! Check clientside_cs.txt for C# logs. File "enable-clientside-cs.txt" in the root directory of RAGE:MP I have. Here is the information from the file "clientside_cs.txt": Скрытый текст C#: compiling scripts.. CS0579: Повторяющийся атрибут "global::System.Runtime.Versioning.TargetFrameworkAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs:3 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyCompanyAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/Main.AssemblyInfo.cs:13 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyConfigurationAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/Main.AssemblyInfo.cs:14 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyFileVersionAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/Main.AssemblyInfo.cs:15 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyInformationalVersionAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/Main.AssemblyInfo.cs:16 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyProductAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/Main.AssemblyInfo.cs:17 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyTitleAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/Main.AssemblyInfo.cs:18 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyVersionAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/Main.AssemblyInfo.cs:19 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyCompanyAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:13 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyConfigurationAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:14 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyFileVersionAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:15 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyInformationalVersionAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:16 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyProductAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:17 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyTitleAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:18 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyVersionAttribute" -> cs_packages/obj/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:19 CS0579: Повторяющийся атрибут "global::System.Runtime.Versioning.TargetFrameworkAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs:3 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyCompanyAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:13 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyConfigurationAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:14 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyFileVersionAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:15 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyInformationalVersionAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:16 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyProductAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:17 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyTitleAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:18 CS0579: Повторяющийся атрибут "System.Reflection.AssemblyVersionAttribute" -> cs_packages/obj/x64/Debug/netcoreapp3.1/cs_packages.AssemblyInfo.cs:19 C#: No scripts compiled or no RAGE.Events.Script classes found I'm a newbie, so I might have some stupid mistakes. Here is a screenshot of the project itself. Please help me.
Xabi Posted December 28, 2020 Posted December 28, 2020 Remove bin and obj folders, they could cause weird issues and it's probably the cause of those errors. 1
M_Giovannini Posted December 28, 2020 Author Posted December 28, 2020 19 минут назад, Xabi сказал: Remove bin and obj folders, they could cause weird issues and it's probably the cause of those errors. I've been racking my brain since yesterday and looking for information about this on the Internet, and the solution turned out to be so simple. Thank you so much, you are the best!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now