Help Visual Studio

Results 1 to 7 of 7
  1. #1
    Novice Allkills34 is offline
    MemberRank
    Mar 2017 Join Date
    3Posts

    config Help Visual Studio

    Hello, Guys

    I will install the Group Forum on my émulator Plus R3.4

    But i have this message, i don't enderstand..

    Can you help me ?

    https://www.noelshack.com/2017-11-1489836292-aide.png


    Thanks for you reponse !


    (Sorry im french, my english is too bad ! :P)


  2. #2
    apt-get install xcowsay 3M1L is offline
    MemberRank
    Jul 2012 Join Date
    SwedenLocation
    268Posts

    Re: Help Visual Studio

    Can you help us and translate that message to English..?

  3. #3
    Novice Allkills34 is offline
    MemberRank
    Mar 2017 Join Date
    3Posts

    Re: Help Visual Studio

    Yes !

    Message :

    Severity Code Description Project File Line Delete statusError CS0050 Inconsistent accessibility: Return type 'GroupingForumManager' is less accessible than the 'Game.GetGroupForumManager ()' method More Emulator C: \ Users \ norma \ Desktop \ repack \ More Emulator Updated \ HabboHotel \ Game.cs 163 Active
    Severity Code Description Project File Line Delete statusError CS0050 Inconsistent accessibility: Return type 'GroupingForumManager' is less accessible than the 'Game.GetGroupForumManager ()' method More Emulator C: \ Users \ norma \ Desktop \ repack \ More Emulator Updated \ HabboHotel \ Game.cs 163 Active

  4. #4
    apt-get install xcowsay 3M1L is offline
    MemberRank
    Jul 2012 Join Date
    SwedenLocation
    268Posts

    Re: Help Visual Studio

    The error basically describes that your property doesn't have the same visibility as your method

    Do you mind posting the source code of Game.cs?
    Use pastebin.com

  5. #5

  6. #6
    apt-get install xcowsay 3M1L is offline
    MemberRank
    Jul 2012 Join Date
    SwedenLocation
    268Posts

    Re: Help Visual Studio

    Aha,
    You're trying to return an instance of the GroupManager class from a public method and the GroupManager class doesn't seem to be public, probably internal.
    E.g:
    Code:
    internal class GroupManager
    should be
    public class GroupManager

  7. #7
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: Help Visual Studio

    This is simple you're class which you're returning is "Less accessible" then your method.

    Example:

    Class GroupForumManager -> private
    Method GetGroupForumManager() -> public

    The class which you're returning must always be equally accessible or more accessible then the method which is returning that class.



Advertisement