diff options
Diffstat (limited to 'Directory.Build.props')
-rw-r--r-- | Directory.Build.props | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Directory.Build.props b/Directory.Build.props index ed94e7f27..956e48988 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,6 +2,7 @@ <PropertyGroup> <IsReferenceAssembly Condition="'$(IsReferenceAssembly)' == '' and '$([System.IO.Path]::GetFileName($(MSBuildProjectDirectory)))' == 'ref'">true</IsReferenceAssembly> <DisableImplicitNamespaceImports_DotNet>true</DisableImplicitNamespaceImports_DotNet> + <NetCoreAppToolCurrent>net7.0</NetCoreAppToolCurrent> </PropertyGroup> <PropertyGroup Condition=" '$(IsReferenceAssembly)' == 'true' "> <!-- Since .NET 5 reference assemblies are always produced --> |