Skip to content

Commit

Permalink
Set DOTNET_ROLL_FORWARD to "Major" in configuration files
Browse files Browse the repository at this point in the history
Added 'DOTNET_ROLL_FORWARD' environment variable with a value of 'Major' to various configuration files. This setting allows .NET Core and .NET 5.0 and later applications to run on more recent major versions of .NET when the requested version isn't available, improving application compatibility and resilience.
  • Loading branch information
arturcic committed Nov 5, 2023
1 parent aaf7fc8 commit b4ce69a
Show file tree
Hide file tree
Showing 41 changed files with 149 additions and 34 deletions.
5 changes: 4 additions & 1 deletion build/.run/Artifacts DotnetTool Test.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=ArtifactsDotnetToolTest --arch=amd64 --docker_dotnetversion=6.0 --docker_distro=debian.11" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Artifacts Executable Test.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=ArtifactsExecutableTest" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Artifacts MsBuildCore Test.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=ArtifactsMsBuildCoreTest --arch=amd64 --docker_dotnetversion=6.0 --docker_distro=alpine.3.12-x64" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Artifacts MsBuildFull Test.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=ArtifactsMsBuildFullTest" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Artifacts Native Test.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=ArtifactsNativeTest --arch=amd64 --docker_dotnetversion=6.0 --docker_distro=alpine.3.12-x64" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Artifacts Prepare.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=ArtifactsPrepare --docker_dotnetversion=6.0 --docker_distro=alpine.3.12-x64" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Artifacts Test.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=ArtifactsTest --docker_dotnetversion=6.0 --docker_distro=alpine.3.12-x64" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
3 changes: 3 additions & 0 deletions build/.run/Build Docs.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=BuildDocs" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand Down
3 changes: 3 additions & 0 deletions build/.run/Build Prepare.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=BuildPrepare" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand Down
5 changes: 4 additions & 1 deletion build/.run/Build.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=Build" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Clean.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=Clean" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Code Format.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=CodeFormat --verbosity=diagnostic" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Default Artifacts.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Default Build.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Default Chores.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Default Docker.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Default Docs.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Default Publish.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Docker Build.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=DockerBuild --arch amd64 --docker_dotnetversion=6.0 --docker_distro=debian.11" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Docker Manifest.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=DockerManifest --docker_dotnetversion=6.0 --docker_distro=debian.11" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Docker Publish.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=DockerPublish --arch amd64 --docker_dotnetversion=6.0 --docker_distro=debian.11" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
5 changes: 4 additions & 1 deletion build/.run/Docker Test.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=DockerTest --arch amd64 --docker_dotnetversion=6.0 --docker_distro=debian.11" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
3 changes: 2 additions & 1 deletion build/.run/DockerHub Readme Publish.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOCKER_USERNAME" value="" />
<env name="DOCKER_PASSWORD" value="" />
<env name="DOCKER_USERNAME" value="" />
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
Expand Down
3 changes: 3 additions & 0 deletions build/.run/Generate Schemas.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=GenerateSchemas" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand Down
5 changes: 4 additions & 1 deletion build/.run/Package Archive.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
<option name="PROGRAM_PARAMETERS" value="--target=PackageArchive" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/.." />
<option name="PASS_PARENT_ENVS" value="1" />
<envs>
<env name="DOTNET_ROLL_FORWARD" value="Major" />
</envs>
<option name="USE_EXTERNAL_CONSOLE" value="0" />
<option name="USE_MONO" value="0" />
<option name="RUNTIME_ARGUMENTS" value="" />
Expand All @@ -17,4 +20,4 @@
<option name="Build" />
</method>
</configuration>
</component>
</component>
Loading

0 comments on commit b4ce69a

Please sign in to comment.