Discontinued but still great code

Oct 20, 2008 at 9:00 PM
Edited Oct 21, 2008 at 6:17 PM
Compliments on this!

Since Jean is now at MS I have some distant hope that such twoway code generation features go into DSLTools one time. So maybe it continues sometimes there...

It did not take me too long to get it running with VS 2008 sdk 1.1., if somebody is interested i can forward the 2008 compatible files.


One thing i noted is this line of code:

    if 

 

(knownCodeTypesFromStore.ContainsKey(project))

Here you have a hashtable that uses the Project interface as a key. I consider this practice problematic because <project> is a COM reference and we should not hold such references unless really needed. I think it would be better to use

  if (knownCodeTypesFromStore.ContainsKey(project.UniqueName))

and make the Keys of type string. Is my reasoning correct?

cheers
thomas

Oct 21, 2008 at 2:35 PM
Edited Oct 21, 2008 at 3:17 PM
Hi, my name is Leandro Tuttini, I am from Argentine.

I posted the question about the DSLFactory Utilities and VS2008 SDK.

I can see that you could run the proyect in VS2008, it a great news.

could you publish the code compatible with VS2008 SDK?

I have tried to convert the code, but I had several problems.
I used the guide of these links:
http://blogs.msdn.com/jameslau/archive/2008/01/21/upgrading-vs-2005-packages-to-vs-2008-a-practical-guide.aspx
http://blogs.msdn.com/jameslau/archive/2008/02/13/upgrading-vs-2005-packages-to-vs-2008-a-more-advanced-guide.aspx

do you remember the step to transform the code ?
there are some project examples that I needed to convert.

You could contact with the owner of this project and offer the code to publish in codeplex.

Thanks
Regards