forked from fluentribbon/Fluent.Ribbon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.build.props
68 lines (57 loc) · 3.42 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
60
61
62
63
64
65
66
67
68
<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>netcoreapp3.0;net462;net45</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>
<!--<DisableImplicitFrameworkReferences Condition="'$(TargetFramework)' != 'netcoreapp3.0'">true</DisableImplicitFrameworkReferences>-->
<UseWpf>true</UseWpf>
<NoWarn>$(NoWarn);NU1701;NU1603;NU1605;SA1652</NoWarn>
</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>
<!-- Set the reference for the other targets -->
<!--<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.0'">
<Reference Include="Microsoft.CSharp" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>-->
<PropertyGroup>
<XamlColorSchemeGeneratorVersion>3.0.0.31</XamlColorSchemeGeneratorVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="JetBrains.Annotations" version="2018.3.0" privateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" version="2.10.*" 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.0.2" privateAssets="All" />
<PackageReference Include="WpfAnalyzers" version="2.2.0.2" privateAssets="All" />
<PackageReference Include="XamlColorSchemeGenerator" version="$(XamlColorSchemeGeneratorVersion)" privateAssets="All" />
</ItemGroup>
</Project>