Thanks for the detailed explanation and workaround.

For whatever reason, it took me a few tries, but this value for
CodeBase eventually worked for me on W2K3:

file:///C:/Documents and Settings/Michael/Local Settings/Application
Data/Microsoft/VisualStudio/10.0/Extensions/altinoren.com/ActiveWriter/1.0.0.0/Castle.ActiveWriter.DslPackage.dll

-Michael

On Sat, Jul 3, 2010 at 8:52 AM, Nicholas Kilian
<[email protected]> wrote:
> Hi Michael,
>
> This is unfortunately a Microsoft bug in the current release of the VSIX
> generation.
> http://connect.microsoft.com/VisualStudio/feedback/details/552622/deployed-c
> ustom-code-generator-using-vsix-has-wrong-codebase-in-registry
>
> You need to edit the following registry key to point it to the correct
> location of the Castle.ActiveWrite.DslPackage.dll
>
> HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config\CLSID\{2e39ff4
> 5-b117-4126-9073-7ddcbec3e113}\CodeBase
>
> The current version of the vsix package will install the DLL to
> C:\Users\username\AppData\Local\Microsoft\VisualStudio\10.0\Extensions (on
> Win7 at least), the next release will install to the VisualStudio install
> path so all users have access to it.
>
> There is some info here on how to correct this as a post-build task that I
> will look to implement -
> http://social.msdn.microsoft.com/Forums/en-US/vsx/thread/4bb91fe2-3262-4236-
> 8008-47820b16dbb8
>
> Regards
> Nick
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Michael Maddox
> Sent: 03 July 2010 03:01 PM
> To: [email protected]
> Subject: Re: ActiveWriter VS2010
>
> Nick,
>
> I downloaded the ActiveWriter for VS2010 installer:
>
> http://www.nicholaskilian.net/activewriter/Castle.ActiveWriter.DslPackage.vs
> ix
>
> I double clicked it to install it.  The install log looks clean (no errors).
>
> I can create the diagram, but no code generation is happening.  When I try
> to run the custom tool manually, I get this error:
>
> --
> Cannot find custom tool 'ActiveWriterCodeGenerator' on this system.
> --
>
> If it matters, I have ActiveWriter for VS2008 working on the same machine.
>
> Any ideas?
>
> -Michael Maddox
> http://www.capprime.com/software_development_weblog/
>
> On Mon, May 31, 2010 at 9:06 AM, Nicholas Kilian
> <[email protected]> wrote:
>> Hi,
>>
>>
>>
>> Update for ActiveWriter to VS2010.
>>
>>
>>
>> Source Code
>>
>> http://www.nicholaskilian.net/activewriter/ActiveWriter.rar
>>
>>
>>
>> Install File
>>
>> http://www.nicholaskilian.net/activewriter/Castle.ActiveWriter.DslPack
>> age.vsix
>>
>>
>>
>> Requires
>>
>> ·         Visual Studio 2010 SDK
>>
>> o   http://go.microsoft.com/fwlink/?LinkID=186904
>>
>> ·         Visual Studio 2010 Visualization and Modeling SDK
>>
>> o
>> http://www.microsoft.com/downloads/details.aspx?FamilyID=0def949d-2933
>> -49c3-ac50-e884e0ff08a7
>>
>>
>>
>> Changes
>>
>> ·         No more Setup project, the Dsl Project creates a .vsix file
>> that will allow you to install directly to the Visual Studio Extension
> Manager.
>>
>> ·         Namespace changed from Altinoren.ActiveWriter to
>> Castle.ActiveWriter.
>>
>> ·         Framework changed from 3.5 to 4.0.
>>
>> ·         Assembly references upgraded to 10.0.
>>
>> ·         Full list of changes available once committed to SVN.
>>
>>
>>
>> Issues
>>
>> ·         I haven’t tested this extensively in VS2010.
>>
>> ·         VSPackage.resx was giving issues, created VSPackage1.resx as
>> a work around.
>>
>> ·         Some code had an #IF .NET35, removed.
>>
>>
>>
>> To Do
>>
>> ·         Add Copyright info back into some files.
>>
>> ·         Upgrade Debugging project to AR2.0.
>>
>> ·         Documentation.
>>
>> ·         Add to SVN/GIT.
>>
>>
>>
>> Regards
>>
>> Nick Kilian
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Castle Project Users" group.
>> To post to this group, send email to
> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/castle-project-users?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Castle Project Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/castle-project-users?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Castle Project Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/castle-project-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to