-
Notifications
You must be signed in to change notification settings - Fork 12
/
Directory.Build.props
47 lines (41 loc) · 1.66 KB
/
Directory.Build.props
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
<Project>
<PropertyGroup>
<RepositoryUrl>https://github.com/myvas/AspNetCore.Authentication.WeixinAuth</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<LangVersion>latest</LangVersion>
<Product>Myvas.AspNetCore.Authentication</Product>
<Copyright>© $([System.DateTime]::Now.Year) Myvas Foundation</Copyright>
</PropertyGroup>
<PropertyGroup>
<MinVerVersion>7.0</MinVerVersion>
<MinVerIgnoreHeight>alpha</MinVerIgnoreHeight>
</PropertyGroup>
<Target Name="CustomFileVersion" AfterTargets="MinVer">
<PropertyGroup>
<FileVersion>$(MinVerMajor).$(MinVerMinor).$(MinVerPatch).$([System.DateTime]::Now.AddYears(-2021).ToString("yMMdd"))</FileVersion>
</PropertyGroup>
</Target>
<PropertyGroup>
<RepoRoot>$(MSBuildThisFileDirectory)</RepoRoot>
<!--<OutputPath>$(RepoRoot)artifacts\$(Configuration)\$(ProjectName)\</OutputPath>-->
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DebugType>none</DebugType>
<DebugSymbols>false</DebugSymbols>
</PropertyGroup>
<!--<PropertyGroup>
<Platforms>AnyCPU</Platforms>
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>
<SignAssembly>false</SignAssembly>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
</PropertyGroup>-->
<!--<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Latest|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>-->
</Project>