Skip to content

Commit

Permalink
Move version config to shared location
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveSanderson committed Jun 15, 2017
1 parent f29f91a commit 1060a4f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/AngleSharp/AngleSharp.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\version.props" />

<PropertyGroup>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
Expand All @@ -9,8 +11,6 @@
<AssemblyName>Blazor.AngleSharp</AssemblyName>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\</PackageOutputPath>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix>build$([System.DateTime]::Now.ToString('yyyyMMdd-HHmmss'))</VersionSuffix>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
4 changes: 2 additions & 2 deletions src/Blazor.Compiler/Blazor.Compiler.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\version.props" />

<PropertyGroup>
<OutputType>exe</OutputType>
<TargetFramework>netcoreapp1.0</TargetFramework>
<PreserveCompilationContext>true</PreserveCompilationContext>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\</PackageOutputPath>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix>build$([System.DateTime]::Now.ToString('yyyyMMdd-HHmmss'))</VersionSuffix>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Blazor.Host/Blazor.Host.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\version.props" />

<PropertyGroup>
<TargetFramework>netcoreapp1.0</TargetFramework>
<OutputType>Exe</OutputType>
Expand All @@ -8,8 +10,6 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\</PackageOutputPath>
<PackageId>Blazor.Host</PackageId>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix>build$([System.DateTime]::Now.ToString('yyyyMMdd-HHmmss'))</VersionSuffix>
</PropertyGroup>
<!-- Stuff needed for 'host' command -->
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/Blazor.Runtime/Blazor.Runtime.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\version.props" />

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard1.3</TargetFramework>

<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\artifacts\</PackageOutputPath>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix>build$([System.DateTime]::Now.ToString('yyyyMMdd-HHmmss'))</VersionSuffix>
</PropertyGroup>
</Project>
6 changes: 6 additions & 0 deletions version.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<VersionPrefix>0.1.0</VersionPrefix>
<VersionSuffix>build$([System.DateTime]::Now.ToString('yyyyMMdd-HHmmss'))</VersionSuffix>
</PropertyGroup>
</Project>

0 comments on commit 1060a4f

Please sign in to comment.