/[cits3200i]/branches/gps-running-clean-r116/Common/Common-References.csproj


UCC Code Repository

Contents of /branches/gps-running-clean-r116/Common/Common-References.csproj

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations) (download)
Sun Sep 5 15:48:34 2010 UTC (11 years, 3 months ago) by rvvs89
File size: 8863 byte(s)
Branching a local copy of the HEAD revision of the gps-running project on Google Code.
We will probably have to use this project as a template for our own plugins if we want to support SportTracks 2.1.
1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
2
3 <PropertyGroup>
4 <StartAction>Program</StartAction>
5 <Configuration Condition=" '$(Configuration)' == '' ">ST3.0Release</Configuration>
6 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7 <SchemaVersion>2.0</SchemaVersion>
8 <OldToolsVersion>2.0</OldToolsVersion>
9 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
10 <ProductVersion>9.0.30729</ProductVersion>
11 <MapFileExtensions>true</MapFileExtensions>
12 <UseApplicationTrust>false</UseApplicationTrust>
13 <BootstrapperEnabled>false</BootstrapperEnabled>
14 </PropertyGroup>
15
16 <ItemGroup>
17 <Reference Include="System" />
18 <Reference Include="System.Data" />
19 <Reference Include="System.Drawing" />
20 <Reference Include="System.Messaging" />
21 <Reference Include="System.Windows.Forms" />
22 <Reference Include="System.Xml" />
23 </ItemGroup>
24
25 <PropertyGroup Condition=" ('$(PluginId)' != '') and (('$(Configuration)' == 'ST2.1Release') or ('$(Configuration)' == 'ST2.1Debug')) ">
26 <StartProgram>$(ProgramFiles)\Zone Five Software\SportTracks 2.1\SportTracks.exe</StartProgram>
27 <StPluginPath>%25ALLUSERSPROFILE%25\ZoneFiveSoftware\SportTracks\2.0\Plugins</StPluginPath>
28 <StPluginVersion>2</StPluginVersion>
29 </PropertyGroup>
30 <PropertyGroup Condition=" ('$(PluginId)' != '') and (('$(Configuration)' == 'ST3.0Release') or ('$(Configuration)' == 'ST3.0Debug')) ">
31 <StartProgram>$(ProgramFiles)\Zone Five Software\SportTracks 3\SportTracks.exe</StartProgram>
32 <StPluginPath>%25ALLUSERSPROFILE%25\ZoneFiveSoftware\SportTracks\3\Plugins</StPluginPath>
33 <StPluginVersion>3</StPluginVersion>
34 </PropertyGroup>
35
36 <PropertyGroup>
37 <OutputPath>bin\$(Configuration)\</OutputPath>
38 </PropertyGroup>
39
40 <!-- Configurations -->
41 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ST2.1Release|AnyCPU' ">
42 <DefineConstants>$(DefineConstants);TRACE;ST_2_1</DefineConstants>
43 <DebugType>pdbonly</DebugType>
44 <Optimize>true</Optimize>
45 <ErrorReport>prompt</ErrorReport>
46 <WarningLevel>4</WarningLevel>
47 </PropertyGroup>
48 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ST2.1Debug|AnyCPU' ">
49 <DefineConstants>$(DefineConstants);TRACE;DEBUG;ST_2_1</DefineConstants>
50 <DebugSymbols>true</DebugSymbols>
51 <DebugType>full</DebugType>
52 <Optimize>false</Optimize>
53 <ErrorReport>prompt</ErrorReport>
54 <WarningLevel>4</WarningLevel>
55 </PropertyGroup>
56 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ST3.0Release|AnyCPU' ">
57 <DefineConstants>$(DefineConstants);TRACE;ST_3_0</DefineConstants>
58 <Optimize>true</Optimize>
59 <DebugType>pdbonly</DebugType>
60 <PlatformTarget>AnyCPU</PlatformTarget>
61 <ErrorReport>prompt</ErrorReport>
62 </PropertyGroup>
63 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'ST3.0Debug|AnyCPU' ">
64 <DefineConstants>$(DefineConstants);TRACE;DEBUG;ST_3_0</DefineConstants>
65 <DebugSymbols>true</DebugSymbols>
66 <DebugType>full</DebugType>
67 <PlatformTarget>AnyCPU</PlatformTarget>
68 <ErrorReport>prompt</ErrorReport>
69 </PropertyGroup>
70
71 <!-- The last conditional references are seen in VSE, the others will raise warnings -->
72 <!-- references to ST API 2.1 -->
73 <ItemGroup Condition=" ('$(Configuration)' == 'ST2.1Release') or ('$(Configuration)' == 'ST2.1Debug') ">
74 <Reference Include="Common.Data, Version=2.1.3478.21402, Culture=neutral, processorArchitecture=MSIL">
75 <SpecificVersion>False</SpecificVersion>
76 <HintPath>$(ProgramFiles)\Zone Five Software\SportTracks 2.1\Common.Data.dll</HintPath>
77 <Private>False</Private>
78 </Reference>
79 <Reference Include="Common.Visuals, Version=2.1.3478.21407, Culture=neutral, processorArchitecture=MSIL">
80 <SpecificVersion>False</SpecificVersion>
81 <HintPath>$(ProgramFiles)\Zone Five Software\SportTracks 2.1\Common.Visuals.dll</HintPath>
82 <Private>False</Private>
83 </Reference>
84 <!--
85 <Reference Include="SportTracks, Version=2.1.3478.21513, Culture=neutral, processorArchitecture=MSIL">
86 <SpecificVersion>False</SpecificVersion>
87 <HintPath>$(ProgramFiles)\Zone Five Software\SportTracks 2.1\SportTracks.exe</HintPath>
88 <Private>False</Private>
89 </Reference>
90 -->
91 </ItemGroup>
92
93 <!-- references to ST API 3.0 -->
94 <ItemGroup Condition=" ('$(Configuration)' == 'ST3.0Release') or ('$(Configuration)' == 'ST3.0Debug') ">
95 <Reference Include="Common.Data, Version=3.0.3769.30863, Culture=neutral, processorArchitecture=x86">
96 <SpecificVersion>False</SpecificVersion>
97 <HintPath>$(ProgramFiles)\Zone Five Software\SportTracks 3\Common.Data.dll</HintPath>
98 <Private>False</Private>
99 </Reference>
100 <Reference Include="Common.Visuals, Version=3.0.3769.30868, Culture=neutral, processorArchitecture=x86">
101 <SpecificVersion>False</SpecificVersion>
102 <HintPath>$(ProgramFiles)\Zone Five Software\SportTracks 3\Common.Visuals.dll</HintPath>
103 <Private>False</Private>
104 </Reference>
105 <!--
106 <Reference Include="SportTracks, Version=3.0.3769.30929, Culture=neutral, processorArchitecture=x86">
107 <SpecificVersion>False</SpecificVersion>
108 <HintPath>$(ProgramFiles)\Zone Five Software\SportTracks 3\SportTracks.exe</HintPath>
109 <Private>False</Private>
110 </Reference>
111 -->
112 </ItemGroup>
113
114
115 <ItemGroup>
116 <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
117 <Visible>False</Visible>
118 <ProductName>.NET Framework Client Profile</ProductName>
119 <Install>false</Install>
120 </BootstrapperPackage>
121 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
122 <Visible>False</Visible>
123 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
124 <Install>false</Install>
125 </BootstrapperPackage>
126 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
127 <Visible>False</Visible>
128 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
129 <Install>false</Install>
130 </BootstrapperPackage>
131 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
132 <Visible>False</Visible>
133 <ProductName>.NET Framework 3.5</ProductName>
134 <Install>false</Install>
135 </BootstrapperPackage>
136 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
137 <Visible>False</Visible>
138 <ProductName>.NET Framework 3.5 SP1</ProductName>
139 <Install>true</Install>
140 </BootstrapperPackage>
141 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
142 <Visible>False</Visible>
143 <ProductName>Windows Installer 3.1</ProductName>
144 <Install>true</Install>
145 </BootstrapperPackage>
146 </ItemGroup>
147 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
148 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
149 Other similar extension points exist, see Microsoft.Common.targets.
150 <Target Name="BeforeBuild">
151 </Target>
152 <Target Name="AfterBuild">
153 </Target>
154 -->
155 <PropertyGroup>
156 <PostBuildEvent>:: This part is in the Common part of the properties
157 :: Avoid editing from VSE
158 REM Set the plugin GUID in the main PropertyGroup for the plugin
159 set guid=$(PluginId)
160 IF "%25guid%25"=="" GOTO END
161
162 REM ST version, for plugin.xml file
163 SET StVersion=3.0.3797
164 IF "$(StPluginVersion)"=="2" SET StVersion=2.1.3478
165
166 REM 7-zip must be configured, hardcoded path used
167 REM "%25programfiles%25\7-zip\7z.exe"
168
169 set stPlgFile=$(ProjectDir)$(ProjectName)-1.9.x.st$(StPluginVersion)plugin
170 REM To move a .st2plugin to common area, create environment variable (or set it below)
171 REM set stPlgoutdir=g:\Users\go\dev\web
172
173 set StTarget="$(StPluginPath)\Update\%25guid%25\$(ProjectName)"
174 IF NOT EXIST %25StTarget%25 mkdir %25StTarget%25
175 REM XCOPY depreciated in Vista, use for XP compatibility
176 XCOPY $(TargetDir)*.* "%25StTarget%25" /I/Y/Q/E &lt;NUL:
177
178 set Release=No
179 IF "$(ConfigurationName)"=="ST2.1Release" set Release=Yes
180 IF "$(ConfigurationName)"=="ST3.0Release" set Release=Yes
181 IF NOT "%25Release%25"=="Yes" GOTO END
182 IF NOT EXIST "%25programfiles%25\7-zip\7z.exe" GOTO END
183
184 REM generate the plugin.xml file
185 ECHO ^&lt;?xml version="1.0" encoding="utf-8" ?^&gt; &gt; "$(TargetDir)\plugin.xml"
186 ECHO ^&lt;plugin id="%25guid%25" minimumCommonVersion="%25StVersion%25" /^&gt; &gt;&gt; "$(TargetDir)\plugin.xml"
187
188 DEL "%25stPlgFile%25"
189 "%25programfiles%25\7-zip\7z" a -r -tzip "%25stPlgFile%25" "$(TargetDir)*" -x!*.st2plugin -x!*.tmp -x!*.pdb -x!$(ProjectName).xml
190
191 IF "%25stPlgoutdir%25"=="" GOTO END
192 IF not EXIST "%25stPlgoutdir%25" GOTO END
193 COPY "%25stPlgFile%25" "%25stPlgoutdir%25"
194
195 :END</PostBuildEvent>
196 </PropertyGroup>
197
198 </Project>

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26