home recent topics recent posts search faq  

RC-WinTrans Forum



register | lost password | |
Messages in this topic - RSS

Home » RC-WinTrans Support » WPF Editor

For support issues and specific questions related to RC-WinTrans' use, features and functions.
30.03.2011 21:19:30

rboutilier
rboutilier
Posts: 11
I am trying to get the WPF Editor to work and am running into some problems. First, I had issues with missing WPF references. I was finally able to determine that this was because my assemblies are .NET 4.0 assemblies and are not currently supported. I hope this support is added soon since all of our current projects target the 4.0 Framework.

I went back to one of our older projects and tried to work with that. I created a translation project for one of our assemblies that contains about 50 XAML files. Only a small handful of these actually open successfully in the Editor, however. The majority of them have one or more occurances of the following error:

Assembly 'RWTWPFProj' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built.

This error seems to occur for each namespace declaration that is mapped to the current assembly. For instance, the XAML file in question is contained in my Faro.Ux assembly, and the declaration

xmlns:Properties="clr-namespace:Faro.Ux.Properties"

generates the error. Am I doing something wrong?
0 permalink
31.03.2011 22:38:46

Support
Support
Administrator
Posts: 245
WPF GUI Editor and .NET 4.0 Assemblies
------------------------------------------------
This is correct. The WPF Editor uses the Microsoft VSTA 2.0 environment which only supports .NET up to .NET 3.5.

Note: WPF windows from .NET 4.0 assemblies can also be displayed and edited as long as the WPF window does not use a component/control which only supports .NET 4.0.

We still do not know when Microsoft VSTA support for .NET 4.0 will become available. However we are already in the process of improving the WPF Editor so that Visual Studio 2010 can be used alternatively.
The VSTA is included with the RC-WinTrans WPF GUI Editor whereas the Visual Studio 2010 would need to be available on your system.
.

"clr-namespace"
-------------------
> Assembly 'RWTWPFProj' was not found. Verify that you are not missing an assembly reference.
>
> This error seems to occur for each namespace declaration that is mapped to the current assembly.
> For instance, the XAML file in question is contained in my Faro.Ux assembly, and the declaration
> xmlns:Properties="clr-namespace:Faro.Ux.Properties"
>
Right. The reason is that the "clr-namespace" is included in the XAML file given to the WPF Editor.
To fix this we will send you an updated "BamlConv.dll" file (file version: 1.2.4.0) by e-mail.
Replace the DLL in your RC-WinTrans installation. You will need to run the "Update Database" command for the project or remove your assembly from the project and add it in again.
0 permalink

Home » RC-WinTrans Support » WPF Editor





Powered by AspNetForum 6.9.6.0 © 2006-2010 Jitbit Software