I had the same problem, the ListPicker is not located in SMControls any more.
New location of this component is SdkDataAccess.dll
Make sure you use latest Dlls.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I recompiled my custom form in VS2019 , because I added some new properties. I get an error on loading the form in SCSM console.
I get the error :
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Windows.Markup.XamlParseException: 'Set connectionId threw an exception.' Line number '17' and line position '14'. ---> System.TypeLoadException: Could not load type 'Microsoft.EnterpriseManagement.UI.WpfControls.ListPicker' from assembly 'Microsoft.EnterpriseManagement.UI.SMControls, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
When I remove all my listpickers the form does load in SCSM console
SCSM Version used : 10.19.1035.0
I have't recompiled this custom form since 2017 . The compiled old version does still work without error.
VS Compiles using .net 4.5.1
Please help
I had the same problem, the ListPicker is not located in SMControls any more.
New location of this component is SdkDataAccess.dll
Make sure you use latest Dlls.
Resolved
First of all , use all the latest dll's in your development
Then use
xmlns:scwpf="http://schemas.microsoft.com/SystemCenter/Common/UI/Wpf"
for the list picker
do not use xmlns:smcontrols="clr-namespace:Microsoft.EnterpriseManagement.UI.WpfControls;assembly=Microsoft.EnterpriseManagement.UI.SMControls"
for the list picker
use xmlns:smcontrols="clr-namespace:Microsoft.EnterpriseManagement.UI.WpfControls;assembly=Microsoft.EnterpriseManagement.UI.SMControls"
for the user picker
I get a designer error on the use of smcontrols (userpicker)
System.IO.FileNotFoundException
Could not load file or assembly 'Microsoft.Lync.Model, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.
But it works at runtime
Listpicker is fixed
so the overal effect is :
When I use the old dll's at design time I have no error compiling, but at runtime in the console I get the error : can not find listpicker
When I use the new dll's at design time I can't compile ; I get the error : The tag 'ListPicker' does not exist in XML namespace 'http://schemas.microsoft.com/SystemCenter/Common/UI/Wpf'
I can't find followin dlls on the scsm server :
Microsoft.EnterpriseManagement.ServiceManager, Microsoft.EnterpriseManagement.ServiceManager.UI.Common, and CommunicatorAPIInterop.dll.
the related thread is not helping me.
When I use the old dll's , I can compile but I get the error in the console (I expect it uses the current version of dll's)
When I use the new dll's ( heck I can't find CommunicatorAPIInterop.dll on the new version of the console) , I can not compile because in VS 2019)
I get
Severity Code Description Project File Line Suppression State
Error The tag 'ListPicker' does not exist in XML namespace 'http://schemas.microsoft.com/SystemCenter/Common/UI/Wpf'. Line 29 Position 22. AMG.SCSM.CustomFormTemplates C:\TFS\IAM-Infra\WPI.SCSM\Development\Code\Client\Solutions\AMG.SCSM.CustomFormTemplates\AMGCITemplate.xaml 29
and lots of errors ...
It's like when I want to use the new versions I am missing some DLL's