Skip to content

Commit b6bae2d

Browse files
authored
Update dotnet-runtime-support.md
1 parent a010a5f commit b6bae2d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/guides-basic/dotnet-runtime-support.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Only a single .NET core runtime can be loaded into an Excel process (this one .N
1616

1717
For .NET core we support the **RollForward** property, allowing the add-in developer to specify how the add-in loads the runtime or behaves if a .NET core runtime is already loaded into the process. The following [RollForward settings](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#rollforward) (with .NET core target versions) give useful options.
1818

19-
* The default value (if the RollForward property is not specified) is `Minor`, (which is equivalent to `LatestPatch` since the .NET core runtime no longer publishes 'minor' version updates).
19+
The default value (if the RollForward property is not specified) is **`Minor`**, (which is equivalent to `LatestPatch` since the .NET core runtime no longer publishes 'minor' version updates).
2020
```
2121
<TargetFramework>net6.0-windows</TargetFramework>
2222
<RollForward>Minor</RollForward>
@@ -25,8 +25,8 @@ This means the add-in will only run under .NET 6.
2525
* If no .NET runtime is loaded yet, the add-in will attempt to load .NET 6.
2626
* If .NET 6 is not installed, the add-in will fail to load.
2727
* If a newer version of the runtime is already loaded into the Excel process, this add-in will fail to load.
28-
29-
* To allow forward-compatibility, the add-in can be built target .NET 6.0 and set `RollForward' to `Major`.
28+
29+
To allow forward-compatibility, the add-in can be built target .NET 6.0 and set `RollForward` to **`Major`**.
3030
```
3131
<TargetFramework>net6.0-windows</TargetFramework>
3232
<RollForward>Major</RollForward>
@@ -36,13 +36,13 @@ This means the add-in will load into .NET 6 and newer version of .NET, but will
3636
* If .NET 6 is not installed but a newer version of .NET is installed (e.g. .NET 8), the add-in will load the next available higher major version.
3737
* If a newer version of the runtime (e.g. .NET 8) is already loaded into the Excel process, the add-in will load and use that version.
3838

39-
* To allow for compatibility with a preference for the newest version, the add-in can be built target .NET 6.0 and set `RollForward' to `LatestMajor`.
39+
To allow for compatibility with a preference for the newest version, the add-in can be built target .NET 6.0 and set `RollForward` to **`LatestMajor`**.
4040
```
4141
<TargetFramework>net6.0-windows</TargetFramework>
4242
<RollForward>LatestMajor</RollForward>
4343
```
4444
This means the add-in will load into .NET 6 and newer version of .NET, but will prefer to load the newest version of .NET available. Thus
4545
* If no .NET runtime is loaded yet, the newest installed version of .NET will be loaded (at least .NET 6).
4646
* If any version of the runtime from .NET 6 or newer is already loaded into the Excel process, the add-in will load and use that version.
47-
47+
4848

0 commit comments

Comments
 (0)