forked from OData/RESTier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow sign source assemblies in TFS by pulling source Allow build using a batch file Add not download nuget exe option Add NuGet.Config to .nuget folder: Allow nuget restore to use nuget.org package source No cache for nuget restore
- Loading branch information
Showing
12 changed files
with
375 additions
and
172 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 | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,6 @@ _[Ss]cripts | |
*.vsp | ||
*.psess | ||
*.orig | ||
*.pdb | ||
TrippinDB.mdf | ||
TrippinDB_log.ldf |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<solution> | ||
<add key="disableSourceControlIntegration" value="true" /> | ||
</solution> | ||
<packageSources> | ||
<add key="nuget.org" value="https://www.nuget.org/api/v2/" /> | ||
</packageSources> | ||
</configuration> |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="tools\DF.tasks.targets"/> | ||
|
||
<ItemGroup> | ||
<SolutionsToBuild Include="DomainFramework.sln"> | ||
<BuildInParallel>$(BuildInParallel)</BuildInParallel> | ||
</SolutionsToBuild> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<ProjectGuid>{120146C7-7CFD-4857-ACC0-78C2CD83C2C2}</ProjectGuid> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> | ||
<NuGetFolder>.nuget</NuGetFolder> | ||
<NuGetExe>$(NuGetFolder)\NuGet.exe</NuGetExe> | ||
</PropertyGroup> | ||
|
||
<Target Name="DownloadNuGet" Condition=" '$(NotDownloadNuget)' != 'true' "> | ||
<DownloadNuGet Condition="" OutputFileName="$(NuGetExe)" MinimumVersion="2.7.0" /> | ||
</Target> | ||
|
||
<Target Name="RestorePackages" DependsOnTargets="DownloadNuGet"> | ||
<Message Text="Restoring NuGet packages..." Importance="High" /> | ||
<Exec Command='"$(NuGetExe)" restore "%(SolutionsToBuild.Identity)" -PackagesDirectory packages -NonInteractive -Verbosity detailed -ConfigFile "$(MsBuildThisFileDirectory)$(NuGetFolder)\NuGet.Config" -NoCache' /> | ||
</Target> | ||
|
||
<Target Name="Build" DependsOnTargets="RestorePackages"> | ||
<MakeDir Directories="bin\$(Configuration)" /> | ||
<MSBuild | ||
Projects="@(SolutionsToBuild)" | ||
BuildInParallel="%(SolutionsToBuild.BuildInParallel)" | ||
Targets="Build" | ||
Condition=" '%(SolutionsToBuild.Portable)' != 'true' or '$(BuildPortable)' == 'true' " | ||
Properties="Configuration=$(Configuration);CodeAnalysis=$(CodeAnalysis);StyleCopEnabled=$(StyleCopEnabled);VisualStudioVersion=$(VisualStudioVersion)" /> | ||
</Target> | ||
|
||
<Target Name="ProjectCopRun"> | ||
</Target> | ||
<Target Name="StyleCopRun"> | ||
</Target> | ||
<Target Name="Clean"> | ||
<MSBuild | ||
Projects="@(SolutionsToBuild)" | ||
BuildInParallel="%(SolutionsToBuild.BuildInParallel)" | ||
Targets="Clean" | ||
Condition=" '%(SolutionsToBuild.Portable)' != 'true' or '$(BuildPortable)' == 'true' " | ||
Properties="Configuration=$(Configuration);VisualStudioVersion=$(VisualStudioVersion)" /> | ||
<RemoveDir Directories="bin\$(Configuration)" /> | ||
</Target> | ||
<Target Name="Rebuild" DependsOnTargets="RestorePackages"> | ||
<MSBuild | ||
Projects="@(SolutionsToBuild)" | ||
BuildInParallel="%(SolutionsToBuild.BuildInParallel)" | ||
Targets="ReBuild" | ||
Condition=" '%(SolutionsToBuild.Portable)' != 'true' or '$(BuildPortable)' == 'true' " | ||
Properties="Configuration=$(Configuration);CodeAnalysis=$(CodeAnalysis);StyleCopEnabled=$(StyleCopEnabled);VisualStudioVersion=$(VisualStudioVersion);OutputPath=$(OutputPath)Product;EnableProjectCop=false" /> | ||
</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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@echo off | ||
pushd %~dp0 | ||
setlocal | ||
|
||
if exist bin goto build | ||
mkdir bin | ||
|
||
:Build | ||
|
||
REM Find the most recent 32bit MSBuild.exe on the system. Require v12.0 (installed with VS2013) or later since .NET 4.0 | ||
REM is not supported. Also handle x86 operating systems, where %ProgramFiles(x86)% is not defined. Always quote the | ||
REM %MSBuild% value when setting the variable and never quote %MSBuild% references. | ||
set MSBuild="%ProgramFiles(x86)%\MSBuild\12.0\Bin\MSBuild.exe" | ||
if not exist %MSBuild% @set MSBuild="%ProgramFiles%\MSBuild\12.0\Bin\MSBuild.exe" | ||
|
||
if "%1" == "" goto BuildDefaults | ||
|
||
%MSBuild% DomainFramework.msbuild /m /nr:false /t:%* /p:Platform="Any CPU" /p:Desktop=true /v:M /fl /flp:LogFile=bin\msbuild.log;Verbosity=Normal | ||
if %ERRORLEVEL% neq 0 goto BuildFail | ||
goto BuildSuccess | ||
|
||
:BuildDefaults | ||
%MSBuild% DomainFramework.msbuild /m /nr:false /p:Platform="Any CPU" /p:Desktop=true /v:M /fl /flp:LogFile=bin\msbuild.log;Verbosity=Normal | ||
if %ERRORLEVEL% neq 0 goto BuildFail | ||
goto BuildSuccess | ||
|
||
:BuildFail | ||
echo. | ||
echo *** BUILD FAILED *** | ||
goto End | ||
|
||
:BuildSuccess | ||
echo. | ||
echo **** BUILD SUCCESSFUL *** | ||
goto end | ||
|
||
:End | ||
popd | ||
endlocal |
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
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
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
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
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
Binary file not shown.
Oops, something went wrong.