# How do I use VS\_GLOBAL\_SECTION\_POST\_ExtensibilityGlobals

**URL:** https://discourse.cmake.org/t/how-do-i-use-vs-global-section-post-extensibilityglobals/11121
**Category:** Usage
**Tags:** os:windows, comp:msvc
**Created:** [June 27, 2024, 5:16pm UTC](https://discourse.cmake.org/t/how-do-i-use-vs-global-section-post-extensibilityglobals/11121 "2024-06-27T17:16:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chad\_s](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@chad\_s](https://discourse.cmake.org/u/chad_s)
#### Post date: [June 27, 2024, 5:16pm UTC](https://discourse.cmake.org/t/how-do-i-use-vs-global-section-post-extensibilityglobals/11121/1 "2024-06-27T17:16:39Z")

</div>

I’m having trouble finding or creating any working examples of using VS\_GLOBAL\_SECTION\_POST\_ExtensibilityGlobals to add a property to a solution (for a plugin). It seems that GlobalSection(ExtensibilityGlobals) is being set to default every time. I am trying to set the VisualSVNWorkingCopyRoot variable. Any help is appreciated.

---

<div class="post-metadata">

### Author: ![Angew](https://discourse.cmake.org/user_avatar/discourse.cmake.org/angew/32/229_2.png) [@Angew](https://discourse.cmake.org/u/Angew)
#### Post date: [June 28, 2024, 7:16am UTC](https://discourse.cmake.org/t/how-do-i-use-vs-global-section-post-extensibilityglobals/11121/2 "2024-06-28T07:16:21Z")

</div>

Hi.

Here’s a minimal example:

```auto
cmake_minimum_required(VERSION 3.25)
project(PostSection)

set_property(DIRECTORY
	PROPERTY VS_GLOBAL_SECTION_POST_ExtensibilityGlobals
	VisualSVNWorkingCopyRoot=Some\\Path
)

```

(There’s nothing special about 3.25, it’s just the version which happens to be installed on my disk)

And here is what appears in the generated `.sln` file:

```auto
	GlobalSection(ExtensibilityGlobals) = postSolution
		VisualSVNWorkingCopyRoot = Some\Path
		SolutionGuid = {C0B62B38-EE6A-3BCF-A7C2-50E5DB3A2873}
	EndGlobalSection

```

---

<div class="post-metadata">

### Author: ![chad\_s](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@chad\_s](https://discourse.cmake.org/u/chad_s)
#### Post date: [June 28, 2024, 2:25pm UTC](https://discourse.cmake.org/t/how-do-i-use-vs-global-section-post-extensibilityglobals/11121/3 "2024-06-28T14:25:59Z")

</div>

> [@chad\_s](#):
>
> VS\_GLOBAL\_SECTION\_POST\_

Thanks a million! I had been using set instead of the set\_property command!
