[wix-users] Problem loading designer for current WixBA code

John Cooper JoCooper at jackhenry.com
Fri Sep 9 09:49:41 PDT 2016


Chances are you need to compile first before you can view.

--
John Merryweather Cooper
Senior Software Engineer -- Integration Development Group -- Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Office:  913-341-3434x431050
JoCooper at jackhenry.com




-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Jon Earle
Sent: Friday, September 9, 2016 11:39 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Problem loading designer for current WixBA code

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

Using VS 2015 Update 2, with SDK 10 and WDK 10 installed.

I located the sample code for the wixba to try and learn how a custom ba is written and how it works.  When trying to view the RootView.xaml in the designer, it chokes with the following:

System.ArgumentNullException
Value cannot be null.
Parameter name: targetPlatformIdentifier
   at Microsoft.VisualStudio.DesignTools.Platform.PlatformCreatorBase.IsCompatiblePlatform(PlatformIdentifier targetPlatformIdentifier, PlatformIdentifier guestPlatformIdentifier)
   at Microsoft.VisualStudio.DesignTools.WpfDesigner.WpfPlatformCreator.IsCompatiblePlatform(PlatformIdentifier targetPlatformIdentifier, PlatformIdentifier guestPlatformIdentifier)
   at Microsoft.VisualStudio.DesignTools.Platform.PlatformService.IsCompatiblePlatform(PlatformIdentifier hostPlatformIdentifier, PlatformIdentifier guestPlatformIdentifier)
   at Microsoft.VisualStudio.DesignTools.Designer.Project.ProjectContextManager.GetCompatiblePlatformIdentifier(IHostProject project)
   at Microsoft.VisualStudio.DesignTools.Designer.Project.ProjectContextManager.GetProjectContext(IHostProject project, IPlatform platform, Boolean create)
   at Microsoft.VisualStudio.DesignTools.Designer.Project.ProjectContextManager.GetSourceItemContext(IHostSourceItem sourceItem)
   at Microsoft.VisualStudio.DesignTools.Designer.DesignerService.CreateDesigner(IHostSourceItem item, IHostTextEditor editor, CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass12_0.<Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.IRemoteDesignerService.CreateDesigner>b__0(CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.RemoteDesignerService.<>c__DisplayClass6_0`1.<MarshalInWithCancellation>b__0()
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Remoting.STAMarshaler.Call.InvokeWorker()

... and it continues on with "server stack trace", "Exception rethrown at [0]: ", etc.

I haven't played with WPF before, so I don't know what I might need to adjust to load the designer... What would I need to do in this case?

Cheers!
 		 	   		  

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.




More information about the wix-users mailing list