File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,9 @@ do ()"""
208208 CreateProcess.fromRawCommand file args
209209 |> CreateProcess.withWorkingDirectory dir
210210 |> CreateProcess.withFramework
211+ |> CreateProcess.withEnvironment
212+ [ ( " DOTNET_ROLL_FORWARD" , " Major" )
213+ ( " DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX" , " 2" ) ]
211214 |> Proc.run
212215 |> ( AssertResult msg)
213216
Original file line number Diff line number Diff line change @@ -49,6 +49,14 @@ module Targets =
4949 | Some f -> { o with DotNetCliPath = f }
5050 | None -> o
5151
52+ let dotnetOptionsWithRollForwards ( o : DotNet.Options ) =
53+ let env =
54+ o.Environment
55+ .Add( " DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX" , " 2" )
56+ .Add( " DOTNET_ROLL_FORWARD" , " Major" )
57+
58+ o.WithEnvironment env
59+
5260 let nugetCache =
5361 Path.Combine(
5462 Environment.GetFolderPath Environment.SpecialFolder.UserProfile,
You can’t perform that action at this time.
0 commit comments