Mercurial > repos > IBBoard.WarFoundry.GUI.WinForms
annotate IBBoard.WarFoundry.GUI.WinForms.csproj @ 110:39b93ca5fb9c
Fixes #234: Invalid data file doesn't stop load
* Refactor army change code
* Only set CurrentArmy value once we know it is safe and properly loaded
* Separate out smaller methods with sensible names
* Make CurrentGameSystem and CurrentArmy non-static
Also:
* Use parameter in FrmNewArmy constructor instead of ignoring it
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 19 Dec 2009 15:45:21 +0000 |
parents | 6871c9788ce1 |
children | 2a6a536d54cd |
rev | line source |
---|---|
3 | 1 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
2 <PropertyGroup> | |
3 <ProjectType>Local</ProjectType> | |
4 <ProductVersion>8.0.50727</ProductVersion> | |
5 <SchemaVersion>2.0</SchemaVersion> | |
6 <ProjectGuid>{72C59D77-E2A4-401C-91F2-12728056D9A9}</ProjectGuid> | |
7 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | |
8 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | |
9 <ApplicationIcon>App.ico</ApplicationIcon> | |
10 <AssemblyKeyContainerName> | |
11 </AssemblyKeyContainerName> | |
12 <AssemblyName>WarFoundry</AssemblyName> | |
13 <AssemblyOriginatorKeyFile> | |
14 </AssemblyOriginatorKeyFile> | |
15 <DefaultClientScript>JScript</DefaultClientScript> | |
16 <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> | |
17 <DefaultTargetSchema>IE50</DefaultTargetSchema> | |
18 <DelaySign>false</DelaySign> | |
19 <OutputType>WinExe</OutputType> | |
40
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
20 <RootNamespace>IBBoard.WarFoundry.GUI.WinForms</RootNamespace> |
3 | 21 <RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent> |
40
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
22 <StartupObject>IBBoard.WarFoundry.GUI.WinForms.FrmMain</StartupObject> |
3 | 23 <FileUpgradeFlags> |
24 </FileUpgradeFlags> | |
25 <UpgradeBackupLocation> | |
26 </UpgradeBackupLocation> | |
27 </PropertyGroup> | |
28 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | |
32
e97867236672
Re #112: WinForms UI won't build on other machines
IBBoard <dev@ibboard.co.uk>
parents:
31
diff
changeset
|
29 <OutputPath>$(HOMEDRIVE)$(HOMEPATH)\IBBoard.WarFoundry.GUI.WinForms\bin\Debug\</OutputPath> |
3 | 30 <AllowUnsafeBlocks>false</AllowUnsafeBlocks> |
31 <BaseAddress>285212672</BaseAddress> | |
32 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> | |
33 <ConfigurationOverrideFile> | |
34 </ConfigurationOverrideFile> | |
35 <DefineConstants>DEBUG;TRACE</DefineConstants> | |
36 <DocumentationFile> | |
37 </DocumentationFile> | |
38 <DebugSymbols>true</DebugSymbols> | |
39 <FileAlignment>4096</FileAlignment> | |
40 <NoStdLib>false</NoStdLib> | |
41 <NoWarn> | |
42 </NoWarn> | |
43 <Optimize>false</Optimize> | |
44 <RegisterForComInterop>false</RegisterForComInterop> | |
45 <RemoveIntegerChecks>false</RemoveIntegerChecks> | |
46 <TreatWarningsAsErrors>false</TreatWarningsAsErrors> | |
47 <WarningLevel>4</WarningLevel> | |
48 <DebugType>full</DebugType> | |
49 <ErrorReport>prompt</ErrorReport> | |
50 <UseVSHostingProcess>true</UseVSHostingProcess> | |
51 </PropertyGroup> | |
52 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | |
32
e97867236672
Re #112: WinForms UI won't build on other machines
IBBoard <dev@ibboard.co.uk>
parents:
31
diff
changeset
|
53 <OutputPath>$(HOMEDRIVE)$(HOMEPATH)\IBBoard.WarFoundry.GUI.WinForms\bin\Release\</OutputPath> |
3 | 54 <AllowUnsafeBlocks>false</AllowUnsafeBlocks> |
55 <BaseAddress>285212672</BaseAddress> | |
56 <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow> | |
57 <ConfigurationOverrideFile> | |
58 </ConfigurationOverrideFile> | |
59 <DefineConstants>TRACE</DefineConstants> | |
60 <DocumentationFile> | |
61 </DocumentationFile> | |
62 <DebugSymbols>false</DebugSymbols> | |
63 <FileAlignment>4096</FileAlignment> | |
64 <NoStdLib>false</NoStdLib> | |
65 <NoWarn> | |
66 </NoWarn> | |
67 <Optimize>true</Optimize> | |
68 <RegisterForComInterop>false</RegisterForComInterop> | |
69 <RemoveIntegerChecks>false</RemoveIntegerChecks> | |
70 <TreatWarningsAsErrors>false</TreatWarningsAsErrors> | |
71 <WarningLevel>4</WarningLevel> | |
72 <DebugType>none</DebugType> | |
73 <ErrorReport>prompt</ErrorReport> | |
74 <UseVSHostingProcess>true</UseVSHostingProcess> | |
75 </PropertyGroup> | |
76 <ItemGroup> | |
77 <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821" /> | |
78 <Reference Include="System"> | |
79 <Name>System</Name> | |
80 </Reference> | |
81 <Reference Include="System.Data"> | |
82 <Name>System.Data</Name> | |
83 </Reference> | |
84 <Reference Include="System.Drawing"> | |
85 <Name>System.Drawing</Name> | |
86 </Reference> | |
87 <Reference Include="System.Windows.Forms"> | |
88 <Name>System.Windows.Forms</Name> | |
89 </Reference> | |
90 <Reference Include="System.Xml"> | |
91 <Name>System.XML</Name> | |
92 </Reference> | |
93 <ProjectReference Include="..\IBBoard.Windows.Forms\IBBoard.Windows.Forms.csproj"> | |
94 <Name>IBBoard.Windows.Forms</Name> | |
95 <Project>{E3790268-2082-4975-B1A3-C70B37842CE8}</Project> | |
96 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | |
97 </ProjectReference> | |
30
eb470dc9aaa6
Re #112: WinForms UI won't build on other machines
IBBoard <dev@ibboard.co.uk>
parents:
28
diff
changeset
|
98 <ProjectReference Include="..\IBBoard\IBBoard.csproj"> |
3 | 99 <Name>IBBoard</Name> |
100 <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project> | |
101 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | |
102 </ProjectReference> | |
103 <ProjectReference Include="..\IBBoard.WarFoundry.API\IBBoard.WarFoundry.API.csproj"> | |
104 <Name>IBBoard.WarFoundry.API</Name> | |
105 <Project>{59EC117B-F955-44D5-8461-8F44F3A7481A}</Project> | |
106 <Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package> | |
107 </ProjectReference> | |
108 </ItemGroup> | |
109 <ItemGroup> | |
110 <Content Include="App.ico" /> | |
111 <Content Include="libs\log4net.dll" /> | |
112 <Content Include="WarFoundryPref.xml"> | |
113 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
114 </Content> | |
115 <Compile Include="AssemblyInfo.cs"> | |
116 <SubType>Code</SubType> | |
117 </Compile> | |
85
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
118 <Compile Include="FrmAbout.cs"> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
119 <SubType>Form</SubType> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
120 </Compile> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
121 <Compile Include="FrmAbout.Designer.cs"> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
122 <DependentUpon>FrmAbout.cs</DependentUpon> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
123 </Compile> |
3 | 124 <Compile Include="FrmArmyTree.cs"> |
125 <SubType>Form</SubType> | |
126 </Compile> | |
127 <Compile Include="FrmEditUnitEquipment.cs"> | |
128 <SubType>Form</SubType> | |
129 </Compile> | |
130 <Compile Include="FrmMain.cs"> | |
131 <SubType>Form</SubType> | |
132 </Compile> | |
133 <Compile Include="FrmNewArmy.cs"> | |
134 <SubType>Form</SubType> | |
135 </Compile> | |
136 <Compile Include="FrmNewUnit.cs"> | |
137 <SubType>Form</SubType> | |
138 </Compile> | |
139 <Compile Include="FrmNewUnitEquipment.cs"> | |
140 <SubType>Form</SubType> | |
141 </Compile> | |
142 <Compile Include="FrmReplaceUnitEquipment.cs"> | |
143 <SubType>Form</SubType> | |
144 </Compile> | |
145 <Compile Include="FrmUnit.cs"> | |
146 <SubType>Form</SubType> | |
147 </Compile> | |
40
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
148 <Compile Include="UI\EquipmentAmountControl.cs"> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
149 <SubType>UserControl</SubType> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
150 </Compile> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
151 <Compile Include="UI\EquipmentAmountControl.Designer.cs"> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
152 <DependentUpon>EquipmentAmountControl.cs</DependentUpon> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
153 </Compile> |
27
526fefefb16b
Fixes #91: Fix WinForms rendering of unit stats
IBBoard <dev@ibboard.co.uk>
parents:
20
diff
changeset
|
154 <Compile Include="UI\StatColumnStyle.cs"> |
526fefefb16b
Fixes #91: Fix WinForms rendering of unit stats
IBBoard <dev@ibboard.co.uk>
parents:
20
diff
changeset
|
155 <SubType>Component</SubType> |
526fefefb16b
Fixes #91: Fix WinForms rendering of unit stats
IBBoard <dev@ibboard.co.uk>
parents:
20
diff
changeset
|
156 </Compile> |
8
755e60be28be
Re #61 - Complete structure of WarFoundry API objects
IBBoard <dev@ibboard.co.uk>
parents:
6
diff
changeset
|
157 <Compile Include="Util\UnitEquipmentChoice.cs" /> |
85
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
158 <EmbeddedResource Include="FrmAbout.resx"> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
159 <SubType>Designer</SubType> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
160 <DependentUpon>FrmAbout.cs</DependentUpon> |
0bb9f40d44eb
Re #88: Complete initial WinForms UI
IBBoard <dev@ibboard.co.uk>
parents:
60
diff
changeset
|
161 </EmbeddedResource> |
3 | 162 <EmbeddedResource Include="FrmArmyTree.resx"> |
163 <DependentUpon>FrmArmyTree.cs</DependentUpon> | |
60
c283545d2d0b
Re #168: Combine "required" and "optional" equipment boxes
IBBoard <dev@ibboard.co.uk>
parents:
54
diff
changeset
|
164 <SubType>Designer</SubType> |
3 | 165 </EmbeddedResource> |
166 <EmbeddedResource Include="FrmEditUnitEquipment.resx"> | |
167 <DependentUpon>FrmEditUnitEquipment.cs</DependentUpon> | |
90
63ca28bd8ada
Re #179: Translations throughout GUI
IBBoard <dev@ibboard.co.uk>
parents:
85
diff
changeset
|
168 <SubType>Designer</SubType> |
3 | 169 </EmbeddedResource> |
170 <EmbeddedResource Include="FrmMain.resx"> | |
171 <DependentUpon>FrmMain.cs</DependentUpon> | |
28 | 172 <SubType>Designer</SubType> |
3 | 173 </EmbeddedResource> |
174 <EmbeddedResource Include="FrmNewArmy.resx"> | |
175 <DependentUpon>FrmNewArmy.cs</DependentUpon> | |
60
c283545d2d0b
Re #168: Combine "required" and "optional" equipment boxes
IBBoard <dev@ibboard.co.uk>
parents:
54
diff
changeset
|
176 <SubType>Designer</SubType> |
3 | 177 </EmbeddedResource> |
178 <EmbeddedResource Include="FrmNewUnit.resx"> | |
179 <DependentUpon>FrmNewUnit.cs</DependentUpon> | |
180 </EmbeddedResource> | |
181 <EmbeddedResource Include="FrmNewUnitEquipment.resx"> | |
182 <DependentUpon>FrmNewUnitEquipment.cs</DependentUpon> | |
60
c283545d2d0b
Re #168: Combine "required" and "optional" equipment boxes
IBBoard <dev@ibboard.co.uk>
parents:
54
diff
changeset
|
183 <SubType>Designer</SubType> |
3 | 184 </EmbeddedResource> |
185 <EmbeddedResource Include="FrmReplaceUnitEquipment.resx"> | |
186 <DependentUpon>FrmReplaceUnitEquipment.cs</DependentUpon> | |
187 </EmbeddedResource> | |
188 <EmbeddedResource Include="FrmUnit.resx"> | |
189 <DependentUpon>FrmUnit.cs</DependentUpon> | |
60
c283545d2d0b
Re #168: Combine "required" and "optional" equipment boxes
IBBoard <dev@ibboard.co.uk>
parents:
54
diff
changeset
|
190 <SubType>Designer</SubType> |
3 | 191 </EmbeddedResource> |
40
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
192 <EmbeddedResource Include="UI\EquipmentAmountControl.resx"> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
193 <SubType>Designer</SubType> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
194 <DependentUpon>EquipmentAmountControl.cs</DependentUpon> |
740350673006
Re #117: Add percentage and number boxes to equipment item dialogs
IBBoard <dev@ibboard.co.uk>
parents:
36
diff
changeset
|
195 </EmbeddedResource> |
48
cf644b2c65e6
* Change assembly number to 0.0.1.* because we've not reached 0.1 yet, never mind 1.0!
IBBoard <dev@ibboard.co.uk>
parents:
46
diff
changeset
|
196 <None Include="COPYING"> |
cf644b2c65e6
* Change assembly number to 0.0.1.* because we've not reached 0.1 yet, never mind 1.0!
IBBoard <dev@ibboard.co.uk>
parents:
46
diff
changeset
|
197 <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
cf644b2c65e6
* Change assembly number to 0.0.1.* because we've not reached 0.1 yet, never mind 1.0!
IBBoard <dev@ibboard.co.uk>
parents:
46
diff
changeset
|
198 </None> |
3 | 199 <None Include="translations\en.translation"> |
200 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
201 </None> | |
108 | 202 <None Include="translations\ru.translation"> |
203 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
204 </None> | |
105 | 205 <None Include="translations\se.translation"> |
206 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | |
207 </None> | |
10
19bdbb80999c
Closes #47 - Remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
208 <None Include="WarFoundry.exe.log4net"> |
19bdbb80999c
Closes #47 - Remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
209 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> |
19bdbb80999c
Closes #47 - Remove magic numbers
IBBoard <dev@ibboard.co.uk>
parents:
8
diff
changeset
|
210 </None> |
3 | 211 </ItemGroup> |
212 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | |
213 <PropertyGroup> | |
214 <PreBuildEvent> | |
215 </PreBuildEvent> | |
216 <PostBuildEvent> | |
217 </PostBuildEvent> | |
218 </PropertyGroup> | |
219 </Project> |