Version as Metadata in build/

This commit is contained in:
Piotr Puszkiewicz 2017-03-02 19:50:46 -08:00
parent f39eeaf1c3
commit a5862752c9
2 changed files with 6 additions and 10 deletions

View file

@ -1,6 +1,6 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp1.0</TargetFramework>
@ -8,10 +8,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="$(SdkPackageName)">
<Version>$(SdkPackageVersion)</Version>
</PackageReference>
<PackageReference Include="$(SdkPackageName)" Version="$(SdkPackageVersion)" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View file

@ -1,6 +1,6 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netcoreapp1.0</TargetFramework>
@ -8,10 +8,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="$(TemplatePackageName)">
<Version>$(TemplatePackageVersion)</Version>
</PackageReference>
<PackageReference Include="$(TemplatePackageName)" Version="$(TemplatePackageVersion)" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>