forked from jongeorge1/Who-Can-Help-Me
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated code from whocanhelpme.codeplex.com
- Loading branch information
0 parents
commit f9c1815
Showing
1,827 changed files
with
463,164 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,29 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project DefaultTargets="All" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
|
|||
<PropertyGroup> | |||
<PropertiesPath>$(MSBuildProjectDirectory)\Properties</PropertiesPath> | |||
</PropertyGroup> | |||
|
|||
<Import Project="$(PropertiesPath)\Global.Imports" /> | |||
|
|||
<Target Name="All" | |||
DependsOnTargets="Build" /> | |||
|
|||
<Target Name="ConfigureSolution" | |||
DependsOnTargets="VersionNumberGenerate;" /> | |||
|
|||
<Target Name="Build" | |||
DependsOnTargets="PreBuild; | |||
BuildSolutions; | |||
RunSpecs; | |||
Package; | |||
BuildSuccess" /> | |||
|
|||
<Target Name="PreBuild" | |||
DependsOnTargets="CleanSolution; | |||
SyncWithSourceControl; | |||
ConfigureSolution; | |||
VersionNumberIncrement;" /> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
%windir%\Microsoft.NET\Framework\v3.5\msbuild %0\..\Build.proj /p:IsDesktopBuild=true | |||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
%windir%\Microsoft.NET\Framework\v3.5\msbuild %0\..\Build.proj /t:Package | |||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,44 @@ | |||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<PropertyGroup> | |||
<SolutionName>WhoCanHelpMe</SolutionName> | |||
</PropertyGroup> | |||
|
|||
<!-- Core Path Variables --> | |||
<PropertyGroup> | |||
<BuildPath Condition="'$(BuildPath)'==''">$(MSBuildProjectDirectory)</BuildPath> | |||
<SolutionsPath Condition="'$(SolutionsPath)'==''">$(MSBuildProjectDirectory)\..\Solutions</SolutionsPath> | |||
<SolutionRoot Condition="'$(SolutionRoot)'==''">$(BuildPath)\..\..</SolutionRoot> | |||
<ApplicationsPath Condition="'$(ApplicationsPath)'==''">$(SolutionsPath)</ApplicationsPath> | |||
<TasksPath Condition="'$(TasksPath)'==''">$(BuildPath)\Tasks</TasksPath> | |||
<TargetsPath Condition="'$(TargetsPath)'==''">$(BuildPath)\Targets</TargetsPath> | |||
</PropertyGroup> | |||
|
|||
<!-- Core Build Properties --> | |||
<PropertyGroup> | |||
<IsDesktopBuild>true</IsDesktopBuild> | |||
<AssemblyVersionFile>$(BuildPath)\..\Common\AssemblyVersion.cs</AssemblyVersionFile> | |||
<DropsPath>$(BuildPath)\..\Drops</DropsPath> | |||
<ForcedMSBuildProperties>Configuration=Release;Platform=Any CPU</ForcedMSBuildProperties> | |||
<GlobalBuildVersionNumber></GlobalBuildVersionNumber> | |||
<InstallerNameWithoutExtension>$(SolutionName).Setup</InstallerNameWithoutExtension> | |||
<ReferencedAssembliesPath>$(BuildPath)\..\ReferencedAssemblies</ReferencedAssembliesPath> | |||
<WebAppPath>$(SolutionsPath)\$(SolutionName).Web</WebAppPath> | |||
<PackageName>$(SolutionName)</PackageName> | |||
<VersioningPath>$(BuildPath)\Versioning</VersioningPath> | |||
<VersionXmlFile>$(VersioningPath)\VersionNumber.exe.config</VersionXmlFile> | |||
</PropertyGroup> | |||
|
|||
<PropertyGroup> | |||
<WorkingDirectory>$(SolutionRoot)</WorkingDirectory> | |||
</PropertyGroup> | |||
|
|||
<ItemGroup> | |||
<SolutionsToBuild Include="$(SolutionsPath)\$(SolutionName).sln;"/> | |||
<ProjectBuildArtefactFolders Include="$(ApplicationsPath)\$(SolutionName)\bin; | |||
$(ApplicationsPath)\$(SolutionName)\obj; | |||
$(DeploymentProjectPath)\bin; | |||
$(DeploymentProjectPath)\obj" /> | |||
</ItemGroup> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<Choose> | |||
<When Condition=" ('$(PROCESSOR_ARCHITECTURE)'=='x86') AND ('$(PROCESSOR_ARCHITEW6432)'=='') "> | |||
</When> | |||
<When Condition=" ('$(PROCESSOR_ARCHITECTURE)'=='AMD64') AND ('$(PROCESSOR_ARCHITEW6432)'=='') "> | |||
</When> | |||
<!-- Running in SysWow64 --> | |||
<Otherwise> | |||
<PropertyGroup> | |||
<ProgramFilesSuffix> (x86)</ProgramFilesSuffix> | |||
<RegistryWowHive>Wow6432Node\</RegistryWowHive> | |||
</PropertyGroup> | |||
</Otherwise> | |||
</Choose> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<PropertyGroup> | |||
<AtSign>%40</AtSign> | |||
<PercentSign>%25</PercentSign> | |||
<DoubleQuote>%22</DoubleQuote> | |||
<SingleQuote>%27</SingleQuote> | |||
<CarriageReturn>%0D</CarriageReturn> | |||
<LineFeed>%0A</LineFeed> | |||
<Tab>%09</Tab> | |||
<HardNewLine>%0A%0D%0C%08</HardNewLine> | |||
<SoftNewLine>%0A%20%08</SoftNewLine> | |||
</PropertyGroup> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<!-- Import Project Properties --> | |||
<Import Project="$(PropertiesPath)\Build.properties" /> | |||
<Import Project="$(PropertiesPath)\Common.properties" /> | |||
<Import Project="$(PropertiesPath)\CPUArchitecture.properties" /> | |||
|
|||
<!-- Import Custom MSBuild Tasks --> | |||
<Import Project="$(TasksPath)\Microsoft.Sdc.Common.tasks" /> | |||
<Import Project="$(TasksPath)\MSBuild.Community.tasks" /> | |||
<Import Project="$(TasksPath)\MSBuild.Extended.tasks" /> | |||
|
|||
<!-- Import Custom Project Targets --> | |||
<Import Project="$(TargetsPath)\BuildSolutions.target" /> | |||
<Import Project="$(TargetsPath)\BuildSuccess.target" /> | |||
<Import Project="$(TargetsPath)\CleanSolution.target" /> | |||
<Import Project="$(TargetsPath)\CreateDrops.target" /> | |||
<Import Project="$(TargetsPath)\Package.target" /> | |||
<Import Project="$(TargetsPath)\RunSpecs.target" /> | |||
<Import Project="$(TargetsPath)\SyncWithSourceControl.target" /> | |||
<Import Project="$(TargetsPath)\VersionNumberGenerate.target" /> | |||
<Import Project="$(TargetsPath)\VersionNumberGetLast.target" /> | |||
<Import Project="$(TargetsPath)\VersionNumberIncrement.target" /> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
%windir%\Microsoft.NET\Framework\v3.5\msbuild %0\..\Build.proj /p:IsDesktopBuild=false | |||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
%windir%\Microsoft.NET\Framework\v3.5\msbuild %0\..\Build.proj /p:IsDesktopBuild=false;SkipVersionNumberIncrement=true;GlobalBuildVersionNumber=1.0.0.0 | |||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
%windir%\Microsoft.NET\Framework\v3.5\msbuild %0\..\Build.proj /t:ConfigureSolution | |||
pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
%windir%\Microsoft.NET\Framework\v3.5\msbuild %0\..\Build.proj /t:RunSpecs | |||
pause |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
|
|||
<Target Name="BuildSolutions"> | |||
|
|||
<Message Text="SolutionsToBuild: @(SolutionsToBuild)" /> | |||
|
|||
<!-- *** This line must NOT be merged back into the regular Build branch *** --> | |||
<!--<ReadLinesFromFile File="$(VersioningPath)\BuildNumber.txt"> | |||
<Output TaskParameter="Lines" PropertyName="BuildNumber"/> | |||
</ReadLinesFromFile>--> | |||
|
|||
<MSBuild | |||
Projects="@(SolutionsToBuild)" | |||
Properties="$(ForcedMSBuildProperties);BuildNumber=$(GlobalBuildVersionNumber)" /> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<Target Name="BuildSuccess"> | |||
<Message Text="---------------"/> | |||
<Message Text="BUILD SUCCEEDED"/> | |||
<Message Text="---------------"/> | |||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<Target Name="CleanSolution"> | |||
|
|||
<Message Text="Cleaning up temp files prior to build" Importance="High"/> | |||
|
|||
<RemoveDir Directories="@(ProjectBuildArtefactFolders)" /> | |||
<!--<CleanFolder Path="$(DropsPath)" Force="True"/>--> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<Target Name="CreateDrops" | |||
DependsOnTargets="VersionNumberGetLast"> | |||
|
|||
<MakeDir Directories="$(DropsPath)\$(GlobalBuildVersionNumber)\"/> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,32 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<Target Name="Package" | |||
DependsOnTargets="CreateDrops"> | |||
|
|||
<ItemGroup> | |||
<WebAppFiles Include="$(WebAppPath)\**\*.*" | |||
Exclude="$(WebAppPath)\**\*.cs; | |||
$(WebAppPath)\**\*.csproj; | |||
$(WebAppPath)\**\*.user; | |||
$(WebAppPath)\**\*.vspscc; | |||
$(WebAppPath)\**\bin\*.pdb; | |||
$(WebAppPath)\**\*.xml; | |||
$(WebAppPath)\**\Code\**; | |||
$(WebAppPath)\**\Initialisers\**; | |||
$(WebAppPath)\**\obj\**; | |||
$(WebAppPath)\**\Properties\**; | |||
$(WebAppPath)\**\Registrars\**; | |||
$(WebAppPath)\**\ResourceFiles\**;" /> | |||
</ItemGroup> | |||
|
|||
<Zip ZipFileName="$(DropsPath)\$(GlobalBuildVersionNumber)\$(PackageName).v$(GlobalBuildVersionNumber).zip" | |||
Files="@(WebAppFiles)" | |||
WorkingDirectory="$(WebAppPath)" | |||
Flatten ="false" | |||
ZipLevel="10"/> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,31 @@ | |||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
|
|||
<Choose> | |||
<When Condition="('$(OutputPath)'!='')"> | |||
</When> | |||
<!-- Running outside of the build --> | |||
<Otherwise> | |||
<PropertyGroup> | |||
<OutputPath>bin\debug</OutputPath> | |||
</PropertyGroup> | |||
</Otherwise> | |||
</Choose> | |||
|
|||
<Target Name="RunSpecs" | |||
DependsOnTargets="CreateDrops"> | |||
|
|||
<MakeDir Directories="$(DropsPath)\$(GlobalBuildVersionNumber)\BDDSpecs"/> | |||
|
|||
<PropertyGroup> | |||
<MSpecOptions>--html $(DropsPath)\$(GlobalBuildVersionNumber)\BDDSpecs\Specs.html</MSpecOptions> | |||
<MSpecArgs>$(SolutionsPath)\MSpecTests.WhoCanHelpMe\Bin\Release\MSpecTests.WhoCanHelpMe.dll</MSpecArgs> | |||
<MSpecCommand>$(ReferencedAssembliesPath)\Machine.Specifications\Machine.Specifications.ConsoleRunner.exe $(MSpecOptions) $(MSpecArgs)</MSpecCommand> | |||
</PropertyGroup> | |||
|
|||
<Message Importance="high" Text="Running Specs with this command: $(MSpecCommand)"/> | |||
|
|||
<Exec Command="$(MSpecCommand)" /> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
|
|||
<Target Name="SyncWithSourceControl" | |||
Condition=" '$(SkipSyncWithSourceControl)' != 'true' "> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,9 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<Target Name="BuildSuccess"> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,23 @@ | |||
<?xml version="1.0" encoding="utf-8" ?> | |||
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="All"> | |||
|
|||
<Target Name="VersionNumberGenerate"> | |||
|
|||
<attrib Files="$(BuildPath)\Versioning\VersionNumber.exe.config" ReadOnly="False"/> | |||
|
|||
<!-- plug in a custom version of VersionNumber.exe to fix "Y2k7" bug --> | |||
<Exec Command=""$(BuildPath)\Versioning\VersionNumber.exe" "$(AssemblyVersionFile)"" | |||
ContinueOnError="false"/> | |||
|
|||
<VersionNumber.Load ConfigFileLocation="$(VersionXmlFile)"> | |||
<Output TaskParameter="VersionNumber" PropertyName="GlobalBuildVersionNumber" /> | |||
</VersionNumber.Load> | |||
|
|||
<attrib Files="$(BuildPath)\Versioning\VersionNumber.exe.config" ReadOnly="True"/> | |||
|
|||
<Message Text="GlobalBuildVersionNumber is now $(GlobalBuildVersionNumber)" Importance="HIGH" /> | |||
|
|||
</Target> | |||
|
|||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |||
|
|||
<Target Name="VersionNumberGetLast"> | |||
|
|||
<VersionNumber.Load ConfigFileLocation="$(VersionXmlFile)"> | |||
<Output TaskParameter="VersionNumber" PropertyName="GlobalBuildVersionNumber" /> | |||
</VersionNumber.Load> | |||
|
|||
<Message Text="Previous VersionNumber is $(GlobalBuildVersionNumber)" Importance="HIGH" /> | |||
|
|||
</Target> | |||
|
|||
</Project> |
Oops, something went wrong.