@@ -83,7 +83,8 @@ partial class Build : Nuke.Common.NukeBuild
8383 . Executes ( ( ) =>
8484 {
8585 DotNetRestore ( s => s
86- . SetProjectFile ( Solution ) ) ;
86+ . SetProjectFile ( Solution )
87+ . AddProperty ( "CheckEolTargetFramework" , false ) ) ;
8788 } ) ;
8889
8990 Target Compile => _ => _
@@ -107,6 +108,7 @@ from framework in project.GetTargetFrameworks(true)
107108 . SetAssemblyVersion ( GitVersion . AssemblySemVer )
108109 . SetFileVersion ( GitVersion . AssemblySemFileVer )
109110 . SetInformationalVersion ( GitVersion . InformationalVersion )
111+ . AddProperty ( "CheckEolTargetFramework" , false )
110112 . CombineWith ( frameworks , ( s , f ) => s
111113 . SetFramework ( f . framework )
112114 . SetProjectFile ( f . project ) ) ) ;
@@ -119,6 +121,7 @@ from framework in project.GetTargetFrameworks(true)
119121 . EnableNoRestore ( )
120122 . SetAssemblyVersion ( GitVersion . AssemblySemVer )
121123 . SetFileVersion ( GitVersion . AssemblySemFileVer )
124+ . AddProperty ( "CheckEolTargetFramework" , false )
122125 . SetInformationalVersion ( GitVersion . InformationalVersion ) ) ;
123126 }
124127 }
@@ -144,6 +147,7 @@ from framework in project.GetTargetFrameworksForTest(excludeNetFramework)
144147 . SetNoRestore ( InvokedTargets . Contains ( Restore ) )
145148 . SetNoBuild ( InvokedTargets . Contains ( Compile ) )
146149 . ResetVerbosity ( )
150+ . AddProperty ( "CheckEolTargetFramework" , false )
147151 . SetResultsDirectory ( TestResultDirectory )
148152 . CombineWith ( testConfigurations , ( _ , v ) => _
149153 . SetProjectFile ( v . project )
@@ -200,6 +204,7 @@ void ExecutesPack() =>
200204 . SetNoBuild ( InvokedTargets . Contains ( Compile ) )
201205 . SetConfiguration ( Configuration )
202206 . SetOutputDirectory ( PackagesDirectory )
207+ . AddProperty ( "CheckEolTargetFramework" , false )
203208 . DisablePackageRequireLicenseAcceptance ( )
204209 . SetRepositoryType ( "git" )
205210 . SetRepositoryUrl ( repositoryUrl )
0 commit comments