Sign in to follow this  
Appi

3 question

Recommended Posts

Question #1 (FIXED just compiled resource)

Цитата

CS0122: 'Thread' is inaccessible due to its protection level
       -> Server/Methods.cs:255

CS0122: 'Thread' is inaccessible due to its protection level
       -> Server/Methods.cs:276

CS0122: 'Thread' is inaccessible due to its protection level
       -> Server/Methods.cs:281

CS0122: 'Thread' is inaccessible due to its protection level
       -> Server/Methods.cs:643

CS0122: 'Thread' is inaccessible due to its protection level
       -> Server/Methods.cs:673

CS0122: 'Thread' is inaccessible due to its protection level
       -> Server/Global.cs:1948

Code: https://pastebin.com/dkqQkrA2

 

Question #2 (FIXED)

Цитата

CS1069: The type name 'Timer' could not be found in the namespace 'System.Timers'. This type has been forwarded to assembly 'System.ComponentModel.TypeConverter, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' Consider adding a reference to that assembly.
       -> Server/Global.cs:1823

Code: https://pastebin.com/bwkspwen

Fix:
Use it: https://msdn.microsoft.com/ru-ru/library/system.threading.timer(v=vs.110).aspx

 

Question #3 (FIXED just compiled resource)

Цитата

CS0012: The type 'MarshalByValueComponent' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.ComponentModel.TypeConverter, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
       -> Server/MySql.cs:36

Code: https://pastebin.com/LC2LNkf2

e8jffVc.png

 

Reference

g89MBlM.png

Edited by Appi

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.