Skip to content

Commit

Permalink
Moved installer build outputs into the BuildOutput directory
Browse files Browse the repository at this point in the history
Named outputs to include the SemVer from GitVersion
  • Loading branch information
NameOfTheDragon committed Jan 1, 2019
1 parent 0612ba7 commit e5f5206
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,16 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ASCOM.Platform">
<Version>6.4.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations">
<Version>2018.2.1</Version>
</PackageReference>
<PackageReference Include="PostSharp">
<Version>6.0.26</Version>
<Version>6.0.32</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,16 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ASCOM.Platform">
<Version>6.4.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations">
<Version>2018.2.1</Version>
</PackageReference>
<PackageReference Include="PostSharp">
<Version>6.0.26</Version>
<Version>6.0.32</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\TA.DigitalDomeworks.SharedCode\TA.DigitalDomeworks.SharedCode.projitems" Label="Shared" />
Expand Down
10 changes: 4 additions & 6 deletions TA.DigitalDomeworks.Aspects/TA.DigitalDomeworks.Aspects.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,18 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="ASCOM.Platform">
<Version>6.4.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
<Version>6.4.2</Version>
</PackageReference>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="NLog">
<Version>4.5.9</Version>
<Version>4.5.11</Version>
</PackageReference>
<PackageReference Include="PostSharp">
<Version>6.0.26</Version>
<Version>6.0.32</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\TA.DigitalDomeworks.SharedCode\TA.DigitalDomeworks.SharedCode.projitems" Label="Shared" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations">
<Version>2018.2.1</Version>
</PackageReference>
<PackageReference Include="PostSharp.Patterns.Model">
<Version>6.0.26</Version>
<Version>6.0.32</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\TA.DigitalDomeworks.SharedCode\TA.DigitalDomeworks.SharedCode.projitems" Label="Shared" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="ASCOM.Platform">
<Version>6.4.0</Version>
<Version>6.4.2</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="TA.Ascom.ReactiveCommunications">
<Version>1.1.0</Version>
<Version>1.2.2</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" InitialTargets="EnsureWixToolsetInstalled" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\packages\UtilPack.NuGet.MSBuild.2.7.0\build\UtilPack.NuGet.MSBuild.props" Condition="Exists('..\packages\UtilPack.NuGet.MSBuild.2.7.0\build\UtilPack.NuGet.MSBuild.props')" />
<Import Project="..\packages\WiX.3.11.1\build\wix.props" Condition="Exists('..\packages\WiX.3.11.1\build\wix.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -13,22 +14,22 @@
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<OutputPath>bin\Debug\x86\</OutputPath>
<OutputPath>..\BuildOutput\Debug\</OutputPath>
<IntermediateOutputPath>obj\Debug\x86\</IntermediateOutputPath>
<DefineConstants>Debug</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\Release\x86\</OutputPath>
<OutputPath>..\BuildOutput\Release\</OutputPath>
<IntermediateOutputPath>obj\Release\x86\</IntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<OutputPath>bin\Debug\x64\</OutputPath>
<OutputPath>..\BuildOutput\Debug\</OutputPath>
<IntermediateOutputPath>obj\Debug\x64\</IntermediateOutputPath>
<DefineConstants>Debug</DefineConstants>
<SuppressSpecificWarnings>1076</SuppressSpecificWarnings>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
<OutputPath>bin\Release\x64\</OutputPath>
<OutputPath>..\BuildOutput\Release\</OutputPath>
<IntermediateOutputPath>obj\Release\x64\</IntermediateOutputPath>
</PropertyGroup>
<ItemGroup>
Expand Down Expand Up @@ -136,10 +137,7 @@
-->
<!-- [TPL] name the output file to include the version from theLocalServer assembly -->
<Target Name="BeforeBuild">
<GetAssemblyIdentity AssemblyFiles="$(SolutionDir)BuildOutput\$(Configuration)\TA.DigitalDomeworks.Server.exe">
<Output TaskParameter="Assemblies" ItemName="AssemblyVersions" />
</GetAssemblyIdentity>
<CreateProperty Value="$(OutputName).%(AssemblyVersions.Version)">
<CreateProperty Value="$(OutputName)-$(Platform)-$(GitVersion_SemVer)">
<Output TaskParameter="Value" PropertyName="TargetName" />
</CreateProperty>
<CreateProperty Value="$(TargetName)$(TargetExt)">
Expand All @@ -155,5 +153,8 @@
</PropertyGroup>
<Error Condition="!Exists('..\packages\WiX.3.11.1\build\wix.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WiX.3.11.1\build\wix.props'))" />
<Error Condition="!Exists('..\packages\WiX.3.11.1\build\wix.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\WiX.3.11.1\build\wix.props'))" />
<Error Condition="!Exists('..\packages\UtilPack.NuGet.MSBuild.2.7.0\build\UtilPack.NuGet.MSBuild.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\UtilPack.NuGet.MSBuild.2.7.0\build\UtilPack.NuGet.MSBuild.props'))" />
<Error Condition="!Exists('..\packages\GitVersionTask.4.0.0\build\GitVersionTask.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\GitVersionTask.4.0.0\build\GitVersionTask.targets'))" />
</Target>
<Import Project="..\packages\GitVersionTask.4.0.0\build\GitVersionTask.targets" Condition="Exists('..\packages\GitVersionTask.4.0.0\build\GitVersionTask.targets')" />
</Project>
2 changes: 2 additions & 0 deletions TA.DigitalDomeworks.Installer/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="GitVersionTask" version="4.0.0" developmentDependency="true" />
<package id="TA.Ascom.WixCustomActions" version="0.1.0-Beta15" />
<package id="UtilPack.NuGet.MSBuild" version="2.7.0" developmentDependency="true" />
<package id="WiX" version="3.11.1" />
</packages>
10 changes: 2 additions & 8 deletions TA.DigitalDomeworks.Server/NLog.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,9 @@
<target xsi:type="File" name="LogFile"
filename="${environment:variable=UserProfile}/logs/TA.DigitalDomeworks2018.LocalServer-${filesystem-normalize:fSNormalize=true:inner=${shortdate}-${windows-identity}-${machinename}.log}"
layout="${time}|${pad:padding=-5:inner=${uppercase:${level}}}|${pad:padding=-16:inner=${callsite:className=true:fileName=false:includeSourcePath=false:methodName=false:includeNamespace=false}}|${message}" />
<target xsi:type="NLogViewer" name="viewer"
address="tcp://127.0.0.1:878"
newLine="false" maxMessageSize="65000" encoding="utf-8"
includeAllProperties="true"
layout="${log4jxmlevent:includeSourceInfo=true:includeCallSite=true:includeMdc=true:appInfo=LogEmiter:includeNdc=true:includeNLogData=true:includeAllProperties=true}"/>
</targets>
<rules>
<logger name="*" minlevel="Trace" writeTo="DebugView" />
<logger name="*" minlevel="Error" writeTo="LogFile" />
<logger name="*" minlevel="Trace" writeTo="viewer" />
<logger name="*" minlevel="Debug" writeTo="DebugView" />
<logger name="*" minlevel="Trace" writeTo="LogFile" />
</rules>
</nlog>
12 changes: 5 additions & 7 deletions TA.DigitalDomeworks.Server/TA.DigitalDomeworks.Server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="ASCOM.Platform">
<Version>6.4.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
<Version>6.4.2</Version>
</PackageReference>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand All @@ -169,13 +167,13 @@
<Version>3.3.4</Version>
</PackageReference>
<PackageReference Include="NLog">
<Version>4.5.9</Version>
<Version>4.5.11</Version>
</PackageReference>
<PackageReference Include="PostSharp.Patterns.Threading">
<Version>6.0.26</Version>
<Version>6.0.32</Version>
</PackageReference>
<PackageReference Include="TA.Ascom.ReactiveCommunications">
<Version>1.1.0</Version>
<Version>1.2.2</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="NLog">
<Version>4.5.9</Version>
<Version>4.5.11</Version>
</PackageReference>
<PackageReference Include="System.Reactive">
<Version>4.1.0</Version>
<Version>4.1.2</Version>
</PackageReference>
</ItemGroup>
<Import Project="..\TA.DigitalDomeworks.SharedCode\TA.DigitalDomeworks.SharedCode.projitems" Label="Shared" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,18 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="FakeItEasy">
<Version>4.8.0</Version>
<Version>4.9.2</Version>
</PackageReference>
<PackageReference Include="GitVersionTask">
<Version>3.6.5</Version>
<Version>4.0.0</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Machine.Specifications.Should">
<Version>0.11.0</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>11.0.2</Version>
<Version>12.0.1</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit e5f5206

Please sign in to comment.