Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Deploy Mesurement Studio WPF applications.

I am having trouble deploying a Measurements Studio 2013 WFP application developed using VS2012 on a Windows7_32 computer.  I am attempting to deploy to another WIndows7_32 computer.  I have tried deployment using both the WiX approach (following the example in National Instruments\MStudioVS2012\DotNET\Examples\Application\Deployment\WiX\All Libraries) and XCOPY deployment.  These deployment attempts have not been successful.

 

Using VS2012 Remote Debugging gives the error messages:

System.Windows.Markup.XamlParseException was unhandled
Message: An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: The invocation of the constructor on type 'NationalInstruments.Controls.Switch' that matches the specified binding constraints threw an exception.

 

I have noticed that the Measurement Studio documentation contains a section entitled "Measurement Studio .NET XCOPY Deployment Files", but that section does not seem to address WPF applications.  Similarly the National Instruments\MStudioVS2012\DotNET\Examples\Application\Deployment\WiX\All Libraries example is a WinForms example, and not a WPF example. 

 

Does anyone have an example of a Measurement Studio 2013 WPF deployment solution, using either XCOPY or WiX?

 

Any help would be greatly appreciated.

 

 

 

0 Kudos
Message 1 of 2
(6,094 Views)

Do you have WinForms (or any other MS2013) deployments working with WiX or XCopy? I suspect that a nested InnerException to your XamlParseException is a licensing error.

 

We're using VS2010, but we deploy both WinForms and WPF applications with Visual Studio Setup projects (.msi) and with ClickOnce deployments published to a local File share. I do not know exactly what those methods are doing to make the licensing work, but we have had licensing enforcement issues with xcopy-style deployments in the past.

 

Sorry I don't have better info, I hope that is of some help.

0 Kudos
Message 2 of 2
(6,092 Views)