forked from fluentribbon/Fluent.Ribbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.build.props
59 lines (48 loc) · 2.95 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
48
49
50
51
52
53
54
55
56
57
58
59
<Project>
<PropertyGroup>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<!-- <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> -->
<!-- <RestoreLockedMode>true</RestoreLockedMode> -->
<IsBuildingWpfTempProj Condition="$(MSBuildProjectName.Contains('_wpftmp')) != 'true'">false</IsBuildingWpfTempProj>
<IsBuildingWpfTempProj Condition="$(MSBuildProjectName.Contains('_wpftmp')) == 'true'">true</IsBuildingWpfTempProj>
</PropertyGroup>
<PropertyGroup>
<TargetFrameworks>net472</TargetFrameworks>
<LangVersion>preview</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<Configuration Condition="'$(Configuration)' == ''">Release</Configuration>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/Fluent.Ribbon.ruleset</CodeAnalysisRuleSet>
<OutputPath Condition="$(IsBuildingWpfTempProj) != 'true'">$(MSBuildThisFileDirectory)/bin/$(MSBuildProjectName)/$(Configuration)/</OutputPath>
<RestoreSources Condition="Exists('C:/DEV/OSS_Own/ControlzEx/Publish')">C:/DEV/OSS_Own/ControlzEx/Publish</RestoreSources>
<UseWpf>true</UseWpf>
<NoWarn>$(NoWarn);NU1701;NU1603;NU1605;SA1652</NoWarn>
</PropertyGroup>
<PropertyGroup>
<!-- <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(RestoreLockedMode)' == ''">true</RestoreLockedMode> -->
</PropertyGroup>
<ItemGroup>
<Resource Include="**/*.png;**/*.ico;**/*.ps" />
<Compile Include="$(MSBuildThisFileDirectory)/Shared/GlobalAssemblyInfo.cs">
<Link>Properties/GlobalAssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
<!-- <ItemGroup>
<Compile DependentUpon="%(Filename)" SubType="Code" Update="**\obj\**\*.g$(DefaultLanguageSourceExtension)" />
<Compile DependentUpon="%(Filename)" SubType="Designer" Update="**\*.xaml$(DefaultLanguageSourceExtension)" />
</ItemGroup> -->
<PropertyGroup>
<XamlColorSchemeGeneratorVersion>3.0.0.31</XamlColorSchemeGeneratorVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" version="2019.*" privateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" version="3.*" privateAssets="All" Condition="'$(TargetFramework)' == 'netcoreapp3.0'" />
<!-- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" version="*" privateAssets="All" /> -->
<!-- <PackageReference Include="PropertyChangedAnalyzers" version="2.7.0" privateAssets="All" />
<PackageReference Include="ReflectionAnalyzers" version="0.1.19-dev" privateAssets="All" /> -->
<PackageReference Include="StyleCop.Analyzers" version="1.1.*" privateAssets="All" />
<PackageReference Include="WpfAnalyzers" version="2.2.*" privateAssets="All" />
<PackageReference Include="XamlColorSchemeGenerator" version="$(XamlColorSchemeGeneratorVersion)" privateAssets="All" />
</ItemGroup>
</Project>