-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathValidation.csproj
More file actions
155 lines (129 loc) · 6.48 KB
/
Validation.csproj
File metadata and controls
155 lines (129 loc) · 6.48 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\package.props" />
<PropertyGroup>
<TargetFrameworks>net45;net46;net47;net472;netstandard2.0;netcoreapp3.0;net6.0;net7.0;net10.0</TargetFrameworks>
<AssemblyVersion>$(MajorVersion).0.0.0</AssemblyVersion>
<FileVersion>$(Version).$(Revision)</FileVersion>
</PropertyGroup>
<PropertyGroup>
<AssemblyName>$(PreAssemblyName).Validation</AssemblyName>
<RootNamespace>$(PreAssemblyName).Validation</RootNamespace>
<AssemblyTitle>Enterprise Library Validation Application Block</AssemblyTitle>
<PackageId>$(PrePackageName).Validation$(PostPackageName)</PackageId>
<Title>Enterprise Library Validation Application Block</Title>
<Description>The Validation Application Block provides useful features that allow developers to implement structured and easy-to-maintain validation scenarios in their applications.</Description>
<Summary>The Validation Application Block provides useful features that allow developers to implement structured and easy-to-maintain validation scenarios in their applications.</Summary>
<PackageTags>entlib entlib6 Enterprise Library validation validator vab LOB futures OSS</PackageTags>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\EnterpriseLibrary.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
</PropertyGroup>
<PropertyGroup>
<EntLibCommon>..\..\..\..\Common\source\Src\Common\Common.csproj</EntLibCommon>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="$(EntLibCommon)" Condition="Exists('$(EntLibCommon)') AND '$(EntLibDependencyType)' == 'Project'" />
<PackageReference Include="$(PrePackageName).Common$(PostPackageName)" Version="$(EntLibCommonVersion)" Condition="!Exists('$(EntLibCommon)') OR '$(EntLibDependencyType)' == 'Package'" />
</ItemGroup>
<ItemGroup Condition="!$(TargetFramework.StartsWith('net4'))">
<PackageReference Include="System.Configuration.ConfigurationManager" Version="$(SystemConfigurationConfigurationManagerVersion)" />
<PackageReference Include="System.ComponentModel.Annotations" Version="$(SystemComponentModelAnnotationsVersion)" />
</ItemGroup>
<ItemGroup Condition="('$(TargetFramework)' == 'netstandard2.0') OR ('$(TargetFramework)' == 'netcoreapp2.0')">
<!-- Microsoft.AspNetCore.Mvc.Core (containing ModelMetadataTypeAttribute) is only needed for pre-3.0
.NET Core and pre-2.1 .NET Standard -->
<PackageReference Include="Microsoft.AspNetCore.Mvc.Core" Version="$(MicrosoftAspNetCoreMvcCoreVersion)" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.configuration" />
<Reference Include="System.Configuration.Install" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\GlobalAssemblyInfo.cs">
<Link>GlobalAssemblyInfo.cs</Link>
</Compile>
<None Include="..\..\Validation.licenseheader">
<Link>Validation.licenseheader</Link>
</None>
<Compile Update="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Update="Configuration\DesignResources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DesignResources.resx</DependentUpon>
</Compile>
<EmbeddedResource Update="Configuration\DesignResources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>DesignResources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="..\..\NuGet\Readme.txt">
<Pack>true</Pack>
<Visible>False</Visible>
<PackagePath></PackagePath>
</Content>
<Content Include="..\..\NuGet\tools\SharedCommon\install.ps1">
<Pack>true</Pack>
<Visible>False</Visible>
<PackagePath>tools</PackagePath>
</Content>
<Content Include="..\..\NuGet\tools\SharedCommon\Utils.psm1">
<Pack>true</Pack>
<Visible>False</Visible>
<PackagePath>tools</PackagePath>
</Content>
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('netstandard')) OR $(TargetFramework.StartsWith('netcoreapp'))">
<Compile Remove="**\*.Desktop.cs" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net4'))">
<Compile Remove="**\*.Core.cs" />
</ItemGroup>
<ItemGroup Condition="('$(TargetFramework)' == 'netstandard2.0') OR ('$(TargetFramework)' == 'netcoreapp2.0')">
<!-- .NET Standard 2.0- and .NET Core 2.0- don't have access to MetadataTypeAttribute -->
<Compile Remove="**\*.MetadataTypeAttribute.cs" />
</ItemGroup>
<ItemGroup Condition="('$(TargetFramework)' != 'netstandard2.0') AND ('$(TargetFramework)' != 'netcoreapp2.0')">
<!-- .NET Framework and .NET Core 3.0+ can use MetadataTypeAttribute so workarounds are unnecessary -->
<Compile Remove="**\*.ModelMetadataTypeAttribute.cs" />
</ItemGroup>
<PropertyGroup>
<OutputPath>$(SolutionDir)..\bin\$(Configuration)\</OutputPath>
<DocumentationFile>$(SolutionDir)..\bin\$(Configuration)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<RunCodeAnalysis>false</RunCodeAnalysis>
<Prefer32Bit>false</Prefer32Bit>
<CodeAnalysisRuleSet>..\..\EnterpriseLibrary.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DebugSymbols>true</DebugSymbols>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
</Project>