Open VitorX opened 5 years ago
I used this today and there was no problem. I suspect @VitorX had a problem with the git checkout affecting the xml propdesc file.
PS> & .\x64\Debug\PropSchema.exe -register (get-item .\RecipeProperties.propdesc).FullName
PSRegisterPropertySchema succeeded.
PS> .\x64\Debug\PropSchema.exe -showprops All | grep Recipe
Microsoft.SampleRecipe.Difficulty
When viewed using the registered sample in Windows Explorer the Difficulty field was then shown on the file properties as expected.
Code Sampel Recipe Property Handler Sample
Description This Property Schema doesn't work on Windows 10, is there any docs about the new schema for Windows 10?
Error Msg ERROR - Schema parse errors encountered; some properties may have been omitted. See eventlog for more details.
ReadMe.txt https://github.com/microsoft/Windows-classic-samples/blob/1d363ff4bd17d8e20415b92e2ee989d615cc0d91/Samples/Win7Samples/winui/shell/appshellintegration/RecipePropertyHandler/ReadMe.txt
Official Docs https://docs.microsoft.com/en-us/windows/win32/properties/propdesc-schema-entry?redirectedfrom=MSDN