CreateTranslator

Aug 4, 2008 at 11:58 PM
Edited Aug 5, 2008 at 9:25 AM
The CreateTranslator functionality appears be useful in other contexts (DTO translation for example), is there any way to use it outside of the ServiceFactory?
Aug 6, 2008 at 8:02 PM
Edited Aug 7, 2008 at 3:33 PM
Hi amcool, the simplest way to achieve this would be to modify a few things in the Service Factory Guidance Package. Of course, you will need to work on the WSSF Modeling Edition: Source Version.

Open the Service Factory Guidance package solution, and open the file Guidance Package > Service Factory Guidance Package > Recipes > Binding.xml. Look for the CreateTranslatorRef action element and modify its RefType attribute value to "AnyStandardProjectReference". Rebuild the entire solution and register the package. The recipe should now be available for any project type other than ModelProjects as long as you use a VS instance that has the Service Factory Guidance Package enabled.

Thanks