Version as Metadata in build/
This commit is contained in:
parent
f39eeaf1c3
commit
a5862752c9
2 changed files with 6 additions and 10 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue