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
Project files were designed with Visual Studio 2022 version 17.11.5.
181
+
182
+
Some minor issues are known:
183
+
184
+
### Project Reload Path Replacements
185
+
186
+
Occasionally the project files may spontaneously reload, replacing all parameterized values with current fixed paths.
187
+
188
+
This should be fine for typical end-users, but is highly undesired for developers wishing to contribute changes to project files.
189
+
190
+
There's no known solution at this time. Undo all changes in the `VS2022` directories, in particular for `.vscproj` and `.filters` files.
191
+
192
+
Consider performing a full, brute-force clean with `clean_realm.bat`.
193
+
194
+
For more information see [dotnet/msbuild #5486](https://github.com/dotnet/msbuild/issues/5486) and [Visual Studio Developer Community](https://developercommunity.visualstudio.com/t/NETSdk-build-runs-unexpectedly-undesir/10816622?).
195
+
196
+
After the initial undo of changes, the reload typically does not occur again.
197
+
198
+
This issue seems to be related to the `VS2022/CMakeFiles/VerifyGlobs.cmake` file (see below).
199
+
200
+
# Extra VerifyGlobs.cmake file in CMakeFiles
201
+
202
+
There's a `VerifyGlobs.cmake` placeholder file located in `[osp]\realm\VS2022\CMakeFiles` that is required for fresh clones to build properly.
203
+
204
+
### Maximum Path Length
205
+
206
+
The default Windows configuration has a maximum 256 character path limitation.
207
+
See [Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry) for more details.
208
+
209
+
### VerifyGlobs.cmake Placeholder
210
+
211
+
Without the `VS2022/CMakeFiles/VerifyGlobs.cmake` file, the initial project build fails due to this auto-generated file being "missing".
212
+
213
+
Subsequent build attempts are typically successful. Not that _including_ this file also seems to be related to the undesired Project Reload (see above).
81
214
82
215
## Generating a new Realm-core patch file:
83
216
84
217
To generate a new patch compare a particular commit (a5e87a39) to your fork/branch (`dev`):
85
218
86
219
Save the generated file from this link to the `realm-commit-a5e87a39.patch` file:
@@ -128,4 +281,21 @@ openSSL disabled `0` and wolfSSL enabled `1` like this:
128
281
#define REALM_HAVE_WOLFSSL 1
129
282
```
130
283
131
-
###
284
+
### CMake error Not a file: VerifyGlobs.cmake
285
+
286
+
This file is typically not included in source control, but was found to be problematic when missing in this solution. Thus, there's a placeholder file.
287
+
288
+
```
289
+
1>Checking File Globs
290
+
1>EXEC : CMake error : Not a file: C:/workspace/osp-gojimmypi/realm/VS2022/CMakeFiles/VerifyGlobs.cmake
0 commit comments