Fixed version property to pull from Version.props in C# projects (#4382)

This commit is contained in:
Yevhenii Holovachov
2020-06-22 12:14:00 +03:00
committed by GitHub
parent 165365473f
commit e56c2eb6ca
16 changed files with 200 additions and 120 deletions

View File

@@ -1,9 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\..\installer\Version.props" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Platforms>x64</Platforms>
<PlatformTarget>x64</PlatformTarget>
<Version>$(Version).0</Version>
</PropertyGroup>
<ItemGroup>

View File

@@ -1,5 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<Import Project="..\..\..\..\installer\Version.props" />
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
@@ -13,6 +13,7 @@
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<Platforms>x64</Platforms>
<AssetTargetFallback>uap10.0.18362</AssetTargetFallback>
<Version>$(Version).0</Version>
</PropertyGroup>

View File

@@ -1,7 +0,0 @@
using System.Reflection;
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None,
ResourceDictionaryLocation.SourceAssembly
)]