-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathcommon.props
More file actions
104 lines (91 loc) · 4.02 KB
/
common.props
File metadata and controls
104 lines (91 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="common_versions.props" />
<PropertyGroup>
<TargetFrameworks>net6.0;net10.0</TargetFrameworks>
<AssemblyTitle>Ecng.$(MSBuildProjectName)</AssemblyTitle>
<Product>Ecng system framework</Product>
<Description>Ecng system framework</Description>
<Company>StockSharp LP</Company>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<IsSourcesAllow>false</IsSourcesAllow>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="
'$(MSBuildProjectName)' == 'Interop.Windows'
">
<TargetFrameworks>net6.0-windows;net10.0-windows</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="
'$(MSBuildProjectName)' == 'Tests' or
'$(MSBuildProjectName)' == 'UnitTesting'
">
<TargetFrameworks>net6.0;net10.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="
'$(MSBuildProjectName)' == 'Nuget' or
'$(MSBuildProjectName)' == 'Data.ORM'
">
<TargetFrameworks>net10.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="
$(MSBuildProjectName.StartsWith('Backup')) or
$(MSBuildProjectName.StartsWith('Compilation')) or
$(MSBuildProjectName.StartsWith('Excel.')) or
'$(MSBuildProjectName)' == 'Net.Udp'
">
<TargetFrameworks>net6.0;net10.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="
'$(MSBuildProjectName)' == 'Net.HPSocket' or
'$(MSBuildProjectName)' == 'SmartFormat' or
'$(MSBuildProjectName)' == 'StringSearch' or
'$(MSBuildProjectName)' == 'Tests'
">
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="
$(MSBuildProjectName.EndsWith('.Generator'))
">
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<IsRoslynComponent>true</IsRoslynComponent>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(StockSharpTargets)' != ''">
<TargetFrameworks>$(StockSharpTargets)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<RootNamespace>Ecng.$(MSBuildProjectName)</RootNamespace>
<AssemblyName>Ecng.$(MSBuildProjectName)</AssemblyName>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<IsSourcesAllow>true</IsSourcesAllow>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugType>portable</DebugType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup Condition=" '$(MSBuildProjectName)' != 'Tests' ">
<AssemblyAttribute Include="System.Reflection.AssemblyCopyrightAttribute">
<_Parameter1>Copyright @ StockSharp 2010 - $([System.DateTime]::Now.ToString(yyyy))</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Reflection.AssemblyTrademarkAttribute">
<_Parameter1>StockSharp</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Condition=" !$(DefineConstants.Contains('CLS_DISABLE')) " Include="System.CLSCompliantAttribute">
<_Parameter1>true</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Resources.NeutralResourcesLanguageAttribute">
<_Parameter1>en-US</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<ItemGroup Condition="$(MSBuildProjectName.EndsWith('.Generator'))">
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="$(MsCodeAnalysisVer)" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="$(MsCodeAnalysisAnalyzersVer)" PrivateAssets="all" />
</ItemGroup>
<!--<ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)IsExternalInit.cs" Link="Properties\IsExternalInit.cs" />
</ItemGroup>-->
</Project>