You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides-basic/dotnet-runtime-support.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Only a single .NET core runtime can be loaded into an Excel process (this one .N
16
16
17
17
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.
18
18
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).
20
20
```
21
21
<TargetFramework>net6.0-windows</TargetFramework>
22
22
<RollForward>Minor</RollForward>
@@ -25,8 +25,8 @@ This means the add-in will only run under .NET 6.
25
25
* If no .NET runtime is loaded yet, the add-in will attempt to load .NET 6.
26
26
* If .NET 6 is not installed, the add-in will fail to load.
27
27
* 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`**.
30
30
```
31
31
<TargetFramework>net6.0-windows</TargetFramework>
32
32
<RollForward>Major</RollForward>
@@ -36,13 +36,13 @@ This means the add-in will load into .NET 6 and newer version of .NET, but will
36
36
* 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.
37
37
* 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.
38
38
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`**.
40
40
```
41
41
<TargetFramework>net6.0-windows</TargetFramework>
42
42
<RollForward>LatestMajor</RollForward>
43
43
```
44
44
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
45
45
* If no .NET runtime is loaded yet, the newest installed version of .NET will be loaded (at least .NET 6).
46
46
* 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.
0 commit comments