Help compilation error
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 20

Thread: Help compilation error

  1. #1
    Join Date
    Nov 2013
    Posts
    11

    Help compilation error

    Hi!

    I got a sourcecode for a program since way back maybe since 05 or something, now im trying to compile this program and the following happens.


    "Warning CS1595: 'Program_Name' is defined in multiple places using definition from Program_Name.cs"

    I'm trying to compile with the csc from net framework 1.1.4322 since this was the current framework when the program was written.

    How do i get this compiled ?

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,202

    Re: Help compilation error

    The 'error' you are showing is a warning, not a compile error. Do you see other errors?

  3. #3
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    Quote Originally Posted by Arjay View Post
    The 'error' you are showing is a warning, not a compile error. Do you see other errors?

    Thats the only error i see

    Code:
    WoW!Sharp.cs(297,16): warning CS1595: 'WoW_Sharp.OnZoneChangeDelegate' is
            defined in multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Sharp.cs(556,10): warning CS1595: 'WoW_Sharp.MemoryReader' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\MemoryReader.cs'
    WoW!Sharp.cs(757,10): warning CS1595: 'WoW_Sharp.WoW_ChatLog' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!ChatLog.cs'
    WoW!Sharp.cs(769,27): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(789,26): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(853,30): warning CS1595: 'WoW_Sharp.WoW_Movement' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Sharp.cs(862,29): warning CS1595: 'WoW_Sharp.WoW_Movement' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Sharp.cs(872,30): warning CS1595: 'WoW_Sharp.WoW_Movement' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Sharp.cs(941,21): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(981,25): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(981,41): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1065,23): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1374,31): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1374,49): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1457,32): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1457,68): warning CS1595: 'WoW_Sharp.WoW_ObjectTypes' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1474,76): warning CS1595: 'WoW_Sharp.WoW_ObjectTypes' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1495,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1551,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1606,10): warning CS1595: 'WoW_Sharp.WoW_Buffs' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Buffs.cs'
    WoW!Sharp.cs(1617,10): warning CS1595: 'WoW_Sharp.WoW_Loot' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Loot.cs'
    WoW!Sharp.cs(1838,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Sharp.cs(1850,10): warning CS1595: 'WoW_Sharp.WoW_Inventory' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Inventory.cs'
    WoW!Sharp.cs(1861,10): warning CS1595: 'WoW_Sharp.WoW_Descriptors' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Descriptors.cs'
    WoW!Sharp.cs(1900,29): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Pointers.cs(24,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Pointers.cs(25,26): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Offsets.cs(24,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Offsets.cs(25,25): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Object.cs(43,11): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(45,42): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(65,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(112,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Object.cs(125,11): warning CS1595: 'WoW_Sharp.WoW_ObjectTypes' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(126,11): warning CS1595: 'WoW_Sharp.WGUID' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(127,11): warning CS1595: 'WoW_Sharp.WoW_ItemBuffs' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!ItemBuffs.cs'
    WoW!Object.cs(145,33): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Object.cs(162,10): warning CS1595: 'WoW_Sharp.WGUID' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(184,10): warning CS1595: 'WoW_Sharp.WoW_ObjectTypes' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(548,10): warning CS1595: 'WoW_Sharp.WoW_ItemBuffs' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!ItemBuffs.cs'
    WoW!Object.cs(832,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(846,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(864,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(1028,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Object.cs(1128,29): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Loot.cs(19,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Loot.cs(22,11): warning CS1595: 'WoW_Sharp.WoW_LootSlot' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Loot.cs'
    WoW!Loot.cs(24,22): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Loot.cs(68,10): warning CS1595: 'WoW_Sharp.WoW_LootSlot' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Loot.cs'
    WoW!Loot.cs(85,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Loot.cs(88,26): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!ItemBuffs.cs(19,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!ItemBuffs.cs(20,11): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!ItemBuffs.cs(22,11): warning CS1595: 'WoW_Sharp.WoW_ItemBuff' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!ItemBuffs.cs'
    WoW!ItemBuffs.cs(25,27): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!ItemBuffs.cs(25,38): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!ItemBuffs.cs(38,10): warning CS1595: 'WoW_Sharp.WoW_ItemBuff' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!ItemBuffs.cs'
    WoW!ItemBuffs.cs(69,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!ItemBuffs.cs(70,11): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!ItemBuffs.cs(73,26): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!ItemBuffs.cs(73,37): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!InventoryBag.cs(19,11): warning CS1595: 'WoW_Sharp.WoW' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!InventoryBag.cs(20,11): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!InventoryBag.cs(25,11): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!InventoryBag.cs(27,30): warning CS1595: 'WoW_Sharp.WoW' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!InventoryBag.cs(27,41): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!InventoryBag.cs(76,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!InventoryBag.cs(87,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Inventory.cs(20,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Inventory.cs(23,11): warning CS1595: 'WoW_Sharp.WoW_InventoryBag' is defined
            in multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!InventoryBag.cs'
    WoW!Inventory.cs(26,27): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Inventory.cs(107,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Inventory.cs(127,10): warning CS1595: 'WoW_Sharp.WoW_InventoryBag' is
            defined in multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!InventoryBag.cs'
    WoW!Inventory.cs(141,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Inventory.cs(158,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Inventory.cs(300,10): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Hashtable.cs(26,29): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Hashtable.cs(81,27): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Hashtable.cs(142,12): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Hashtable.cs(165,27): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Globals.cs(20,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Globals.cs(21,23): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Globals.cs(29,12): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Globals.cs(30,12): warning CS1595: 'WoW_Sharp.WoW_Object' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Descriptors.cs(21,11): warning CS1595: 'WoW_Sharp.WoW' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Descriptors.cs(25,29): warning CS1595: 'WoW_Sharp.WoW' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Descriptors.cs(83,20): warning CS1595: 'WoW_Sharp.WoW_ObjectTypes' is
            defined in multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!Descriptors.cs(94,26): warning CS1595: 'WoW_Sharp.WoW_ObjectTypes' is
            defined in multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Object.cs'
    WoW!ChatLog.cs(21,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!ChatLog.cs(26,25): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!ChatLog.cs(55,10): warning CS1595: 'WoW_Sharp.WoW_ChatLogLine' is defined in
            multiple places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!ChatLog.cs'
    WoW!Buffs.cs(19,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Buffs.cs(22,11): warning CS1595: 'WoW_Sharp.WoW_Buff' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Buffs.cs'
    WoW!Buffs.cs(28,23): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Buffs.cs(40,10): warning CS1595: 'WoW_Sharp.WoW_Buff' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Buffs.cs'
    WoW!Buffs.cs(57,10): warning CS1595: 'WoW_Sharp.WoW_Buff' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Buffs.cs'
    WoW!Buffs.cs(86,11): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    WoW!Buffs.cs(95,22): warning CS1595: 'WoW_Sharp.WoW' is defined in multiple
            places; using definition from
            'c:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp\WoW!Sharp.cs'
    
    C:\Users\Johnny\Documents\WoWSharp\trunk\WoW!Sharp>

  4. #4
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,202

    Re: Help compilation error

    So, other than these warnings, does the program compile?

  5. #5
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    Quote Originally Posted by Arjay View Post
    So, other than these warnings, does the program compile?
    Nope thats the problem =/ i really want to compile it, but no exe file =/

    this is the line im using

    c:\windows\microsoft.net\framework\v1.1.4322\csc /target:winexe /out:WoW!Bot.exe /reference:wow!sharp.dll *.cs

    Im using the framework that was used when the program was made.

  6. #6
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    You can add my skype for better communication if u want, molander.johnny

  7. #7
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,202

    Re: Help compilation error

    It's always harder to figure things out from the command line.

    If it were me, I'd load up the project in Visual Studio and compile it from there.

  8. #8
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    Quote Originally Posted by Arjay View Post
    It's always harder to figure things out from the command line.

    If it were me, I'd load up the project in Visual Studio and compile it from there.
    I've tried that too, but there i get an error that the exe does not contain a static main method suitable for an entry point.

  9. #9
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,202

    Re: Help compilation error

    Quote Originally Posted by asdfowkw View Post
    I've tried that too, but there i get an error that the exe does not contain a static main method suitable for an entry point.
    You need to check to make sure the namespace and class name of the statc main is set correctly in the project settings.

  10. #10
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    Quote Originally Posted by Arjay View Post
    You need to check to make sure the namespace and class name of the statc main is set correctly in the project settings.
    Could you try help me compile it if i send u the source ? and if u manage to you can tell me the solution?

  11. #11
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,202

    Re: Help compilation error

    Quote Originally Posted by asdfowkw View Post
    Could you try help me compile it if i send u the source ? and if u manage to you can tell me the solution?
    Sure. Zip the source up and attach it to your reply (click the go advance button to add file attachments).

  12. #12
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    Quote Originally Posted by Arjay View Post
    Sure. Zip the source up and attach it to your reply (click the go advance button to add file attachments).
    WoW!Sharp.zip there u go

  13. #13
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    Any luck ?

  14. #14
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    11,202

    Re: Help compilation error

    I converted the project to VS 2012 and it compiled fine. There was only one compiler warning in Wow!Hashtable.cs (this.basePtr = basePtr; - Assignment made to same variable; did you mean to assign something else?). For now, you can ignore that warning.

    So I don't see any of the warnings that you are talking about.

    As far as running the program, the project is set to Class Library, so you will have to create an exe project, add a reference to the Wow!Sharp assembly, and call the library methods from there.

  15. #15
    Join Date
    Nov 2013
    Posts
    11

    Re: Help compilation error

    Quote Originally Posted by Arjay View Post
    I converted the project to VS 2012 and it compiled fine. There was only one compiler warning in Wow!Hashtable.cs (this.basePtr = basePtr; - Assignment made to same variable; did you mean to assign something else?). For now, you can ignore that warning.

    So I don't see any of the warnings that you are talking about.

    As far as running the program, the project is set to Class Library, so you will have to create an exe project, add a reference to the Wow!Sharp assembly, and call the library methods from there.
    I'm pretty novice in this so i want it to compile and then start working from there by looking over the code.

    How did you convert it ?

    Sorry for noob questions.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center