Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#112 closed defect (released)

WinForms UI won't build on other machines

Reported by: ibboard Owned by: ibboard
Priority: critical Milestone: WarFoundry 0.1
Component: WarFoundry-GUI-WinForms Version:
Keywords: project visualstudio solution Cc:
Blocked By: Blocking:

Description

There are some problems with the WinForms UI project that stops it building as-is on other machines. The output (provided by Jake) is:

Warning    1    Object reference not set to an instance of an object.        0    0  
Warning    1    Object reference not set to an instance of an object.        0    0   
Warning    2    Object reference not set to an instance of an object.        0    0   
Warning    3    Load of property 'OutputPath' failed.  The entered path is not a valid output path.    IBBoard.WarFoundry.GUI.WinForms

Warning    4    Load of property 'OutputPath' failed.  The entered path is not a valid output path.    IBBoard.WarFoundry.GUI.WinForms

Warning    5    The referenced project '..\..\IBBoard\IBBoard.csproj' does not exist.    IBBoard.WarFoundry.GUI.WinForms

Warning    6    Unable to create directory "C:\Documents and Settings\ibboard\My Documents\Visual Studio 2005\Projects\bin\Debug\". Access to the path 'C:\Documents and Settings\ibboard\My Documents\Visual Studio 2005\Projects\bin\Debug\' is denied.    IBBoard.WarFoundry.GUI.WinForms

Warning    7    The referenced component 'log4net' could not be found.    
Warning    8    The referenced component 'System' could not be found.    
Warning    9    The referenced component 'System.Data' could not be found.    
Warning    10    The referenced component 'System.Windows.Forms' could not be found.    
Warning    11    The referenced component 'System.XML' could not be found.    
Warning    12    The referenced component 'IBBoard.Windows.Forms' could not be found.    
Warning    13    The referenced component 'IBBoard' could not be found.    
Warning    14    The referenced component 'IBBoard.WarFoundry.API' could not be found.     

Warnings 3, 4 and 6 are because of my setup (using a virtual machine and loading the project from a network drive but building to the "local" drive")

Warning 5 is because of an error in paths that doesn't manifest when all projects are in the root of a mapped drive.

Change History (9)

comment:1 Changed 10 years ago by ibboard

(In r163) Re #112: WinForms UI won't build on other machines

  • Fix problems with reference to IBBoard project going up two levels
  • Problems with output path are still out-standing because the available macros are limited and $(HOMEDRIVE)$(HOMEPATH) isn't recognised and interpreted

Also:

  • Remove reference to removed log4net.xml file and properties

comment:2 Changed 10 years ago by ibboard

(In r164) Re #112: WinForms UI won't build on other machines

  • Drop back to a default build config that everyone can use
  • Remove unnecessary .user file

Fix for IBBoard's setup that doesn't interfere with other people's setup is still required

comment:3 Changed 10 years ago by ibboard

Owner: set to ibboard
Status: newaccepted

Must remember to accept tickets!

comment:4 Changed 10 years ago by ibboard

(In r165) Re #112: WinForms UI won't build on other machines

  • Use HOMEDRIVE and HOMEPATH variables to construct a path that should be in a user-writable area for everyone and isn't on a mapped network drive for IBBoard. Seems to work, but needs confirmation from others

comment:5 Changed 10 years ago by jake

It loads without any warnings on my computer and will now compile/run.

comment:6 Changed 10 years ago by ibboard

Resolution: fixed
Status: acceptedclosed

As per jacco's comment, the problem now appears to be fixed (albeit with a slightly unusual build path compared to more project that just use "bin\Debug" within the project)

comment:7 Changed 10 years ago by ibboard

released: 1

Mark released changes as released

comment:8 Changed 10 years ago by ibboard

released: 1yes

Mark released fixes as released using radio values

comment:9 Changed 10 years ago by ibboard

Resolution: fixedreleased

Mark fix as released under a previous version

Note: See TracTickets for help on using tickets.