-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
48 lines (40 loc) · 1.63 KB
/
Directory.Build.props
File metadata and controls
48 lines (40 loc) · 1.63 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
<Project>
<PropertyGroup>
<Nullable>disable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<!--App版本-->
<AppVersion>3.3</AppVersion>
<!--Avalonia库版本-->
<AvaloniaVersion>11.3.11</AvaloniaVersion>
<!--FzLib库版本-->
<FzLibVersion>3.3.2</FzLibVersion>
<!--使用本地FzLib库。非作者使用时,应改为F-->
<FzLocal>false</FzLocal>
<!--输出到指定文件夹-->
<SpecialOutputDir>true</SpecialOutputDir>
<OutputDir>C:\CodeTemp</OutputDir>
</PropertyGroup>
<!--指定bin目录和obj目录位置-->
<PropertyGroup Condition="'$(SpecialOutputDir)' == 'true'">
<OutputPath>$(OutputDir)\$(SolutionName)\bin\$(Configuration)\$(MSBuildProjectName)</OutputPath>
<BaseIntermediateOutputPath>$(OutputDir)\$(SolutionName)\obj\$(Configuration)\$(MSBuildProjectName)</BaseIntermediateOutputPath>
</PropertyGroup>
<!--使用本地FzLib-->
<ItemGroup Condition="'$(Configuration)' == 'Debug' and '$(UseLocalFzLib)' == 'true'">
<Reference Include="FzLib">
<HintPath>..\..\FzLib\Publish\libs\FzLib.dll</HintPath>
</Reference>
<Reference Include="FzLib.Avalonia">
<HintPath>..\..\FzLib\Publish\libs\FzLib.Avalonia.dll</HintPath>
</Reference>
</ItemGroup>
<!--使用Nuget中的FzLib-->
<ItemGroup Condition="! ('$(Configuration)' == 'Debug' and '$(UseLocalFzLib)' == 'true')">
<PackageReference Include="FzLib"/>
<PackageReference Include="FzLib.Avalonia"/>
</ItemGroup>
<PropertyGroup>
<NoWarn>CS0168,CS0169;MSB3539</NoWarn>
</PropertyGroup>
</Project>