Skip to content

Revert "Update model management APIs in WinML sample" - #567

Closed
shisan (qiutongMS) wants to merge 1 commit into
release/experimentalfrom
revert-564-user/zadesai/updateModelManagement
Closed

shisan (qiutongMS) wants to merge 1 commit into
release/experimentalfrom
revert-564-user/zadesai/updateModelManagement

Conversation

@qiutongMS

@qiutongMS shisan (qiutongMS) commented Nov 7, 2025 •

Copy link
Copy Markdown
Contributor

Reverts #564

Because there are few errors when we test the sample after this PR merged

##[error]WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(129,49): Error CS0103: The name 'ModelCatalogSource' does not exist in the current context
C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(129,49): error CS0103: The name 'ModelCatalogSource' does not exist in the current context [C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\cs\CSharpConsoleDesktop\CSharpConsoleDesktop\CSharpConsoleDesktop.csproj]
##[error]WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(131,17): Error CS0246: The type or namespace name 'ModelCatalog' could not be found (are you missing a using directive or an assembly reference?)
C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(131,17): error CS0246: The type or namespace name 'ModelCatalog' could not be found (are you missing a using directive or an assembly reference?) [C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\cs\CSharpConsoleDesktop\CSharpConsoleDesktop\CSharpConsoleDesktop.csproj]
##[error]WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(131,49): Error CS0246: The type or namespace name 'ModelCatalog' could not be found (are you missing a using directive or an assembly reference?)
C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(131,49): error CS0246: The type or namespace name 'ModelCatalog' could not be found (are you missing a using directive or an assembly reference?) [C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\cs\CSharpConsoleDesktop\CSharpConsoleDesktop\CSharpConsoleDesktop.csproj]
##[warning]WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(136,17): Warning CS8305: 'Microsoft.Windows.AI.MachineLearning.CatalogModelInfo' is for evaluation purposes only and is subject to change or removal in future updates.
C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(136,17): warning CS8305: 'Microsoft.Windows.AI.MachineLearning.CatalogModelInfo' is for evaluation purposes only and is subject to change or removal in future updates. [C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\cs\CSharpConsoleDesktop\CSharpConsoleDesktop\CSharpConsoleDesktop.csproj]
##[error]WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(145,67): Error CS1061: 'CatalogModelInfo' does not contain a definition for 'GetInstanceAsync' and no accessible extension method 'GetInstanceAsync' accepting a first argument of type 'CatalogModelInfo' could be found (are you missing a using directive or an assembly reference?)
C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(145,67): error CS1061: 'CatalogModelInfo' does not contain a definition for 'GetInstanceAsync' and no accessible extension method 'GetInstanceAsync' accepting a first argument of type 'CatalogModelInfo' could be found (are you missing a using directive or an assembly reference?) [C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\cs\CSharpConsoleDesktop\CSharpConsoleDesktop\CSharpConsoleDesktop.csproj]
##[error]WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(153,62): Error CS0103: The name 'CatalogModelInstanceStatus' does not exist in the current context
C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\Shared\cs\ModelManager.cs(153,62): error CS0103: The name 'CatalogModelInstanceStatus' does not exist in the current context [C:\__w\1\s\WindowsAppSDK-Samples\Samples\WindowsML\cs\CSharpConsoleDesktop\CSharpConsoleDesktop\CSharpConsoleDesktop.csproj]


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant