|
3 | 3 | <SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
4 | 4 | <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
5 | 5 | <CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
|
6 |
| - <!-- <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> --> |
7 |
| - <!-- <RestoreLockedMode>true</RestoreLockedMode> --> |
8 | 6 | <IsBuildingWpfTempProj Condition="$(MSBuildProjectName.Contains('_wpftmp')) != 'true'">false</IsBuildingWpfTempProj>
|
9 | 7 | <IsBuildingWpfTempProj Condition="$(MSBuildProjectName.Contains('_wpftmp')) == 'true'">true</IsBuildingWpfTempProj>
|
10 | 8 | <DisableWinExeOutputInference>true</DisableWinExeOutputInference>
|
|
17 | 15 | <TargetFrameworks>net8.0-windows;net6.0-windows;net462</TargetFrameworks>
|
18 | 16 | <LangVersion>latestmajor</LangVersion>
|
19 | 17 |
|
| 18 | + <IsBuildingForLegacyFramework>false</IsBuildingForLegacyFramework> |
| 19 | + <IsBuildingForLegacyFramework Condition="'$(TargetFramework)' == 'net462'">true</IsBuildingForLegacyFramework> |
| 20 | + |
20 | 21 | <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
21 | 22 | <GenerateDocumentationFile>false</GenerateDocumentationFile>
|
22 | 23 | <Configuration Condition="'$(Configuration)' == ''">Release</Configuration>
|
23 | 24 | <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)/Fluent.Ribbon.ruleset</CodeAnalysisRuleSet>
|
24 | 25 | <OutputPath Condition="$(IsBuildingWpfTempProj) != 'true'">$(MSBuildThisFileDirectory)/bin/$(MSBuildProjectName)/$(Configuration)/</OutputPath>
|
25 | 26 |
|
26 |
| - <AutoGenerateBindingRedirects Condition="$(DefineConstants.Contains(NETCOREAPP)) == false">true</AutoGenerateBindingRedirects> |
| 27 | + <AutoGenerateBindingRedirects Condition="'$(IsBuildingForLegacyFramework)' == 'true'">true</AutoGenerateBindingRedirects> |
27 | 28 |
|
28 | 29 | <UseWpf>true</UseWpf>
|
29 | 30 | <UseWindowsForms>true</UseWindowsForms>
|
|
45 | 46 | <InformationalVersion Condition="'$(InformationalVersion)' == ''">SRC</InformationalVersion>
|
46 | 47 | </PropertyGroup>
|
47 | 48 |
|
48 |
| - <PropertyGroup> |
49 |
| - <!-- <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> |
50 |
| - <RestoreLockedMode Condition="'$(RestoreLockedMode)' == ''">true</RestoreLockedMode> --> |
51 |
| - </PropertyGroup> |
52 |
| - |
53 | 49 | <!-- Sign assembly -->
|
54 | 50 | <PropertyGroup>
|
55 | 51 | <SignAssembly>True</SignAssembly>
|
|
71 | 67 |
|
72 | 68 | <!-- PDB-Options -->
|
73 | 69 | <PropertyGroup>
|
| 70 | + <DebugSymbols>true</DebugSymbols> |
74 | 71 | <DebugType>Embedded</DebugType>
|
75 | 72 | </PropertyGroup>
|
76 | 73 |
|
|
85 | 82 | <ItemGroup>
|
86 | 83 | <PackageReference Include="JetBrains.Annotations" PrivateAssets="all" IncludeAssets="build;compile" />
|
87 | 84 |
|
88 |
| - <PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" IncludeAssets="build;analyzers" Condition="$(DefineConstants.Contains(NETCOREAPP))" /> |
| 85 | + <PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all" IncludeAssets="build;analyzers" /> |
89 | 86 | <!-- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" version="*" privateAssets="all" includeAssets="build;analyzers" /> -->
|
90 | 87 | <!-- <PackageReference Include="PropertyChangedAnalyzers" version="2.7.0" privateAssets="all" includeAssets="build;analyzers" />
|
91 | 88 | <PackageReference Include="ReflectionAnalyzers" version="0.1.19-dev" privateAssets="all" includeAssets="build;analyzers" /> -->
|
|
0 commit comments