VS2008 Support?

44 views
Skip to first unread message

thisispaulsmith

unread,
Dec 21, 2009, 5:14:13 AM12/21/09
to PageMethods
We're struggling to get PageMethods working with VS2008 even after
applying the many registry hacks are available. Has anyone else got
this working with VS2008?

Thanks

Fabrice Marguerie

unread,
Dec 21, 2009, 7:03:11 AM12/21/09
to PageMethods
Hi Paul,

Did you try the following .reg files:
http://pagemethods.codeplex.com/SourceControl/changeset/view/3483#66059
and
http://pagemethods.codeplex.com/SourceControl/changeset/view/3483#66058

Let me know if this works. It should.

Fabrice

On Dec 21, 11:14 am, thisispaulsmith <paul.sm...@communicatorcorp.com>
wrote:

thisispaulsmith

unread,
Dec 21, 2009, 7:14:32 AM12/21/09
to PageMethods
Hi,

Thanks for the reply.

Yeah we've tried those and neither worked. We have added the add-in
manually and can see it in VS2008 and it generated the XML file but
not the .cs file. We are running VS2008 SP1 and Vista 64bit....would
these make a difference?

Thanks again.

Paul

On Dec 21, 12:03 pm, Fabrice Marguerie <fabrice.margue...@gmail.com>
wrote:


> Hi Paul,
>
> Did you try the following .reg files:http://pagemethods.codeplex.com/SourceControl/changeset/view/3483#66059

> andhttp://pagemethods.codeplex.com/SourceControl/changeset/view/3483#66058


>
> Let me know if this works. It should.
>
> Fabrice
>
> On Dec 21, 11:14 am, thisispaulsmith <paul.sm...@communicatorcorp.com>
> wrote:
>
>
>
> > We're struggling to get PageMethods working with VS2008 even after
> > applying the many registry hacks are available. Has anyone else got
> > this working with VS2008?
>

> > Thanks- Hide quoted text -
>
> - Show quoted text -

Fabrice Marguerie

unread,
Dec 21, 2009, 7:25:08 AM12/21/09
to PageMethods
I've never tried under Vista or 64bit, so I don't know if there could
be a problem with these.
Maybe others can tell us if they managed with these environments.

Are you using a Web Application project or a Web Site project?

In case you're using a Web Application project (highly recommended),
could you check in the properties of the PageMethods.xml file that
Custom Tool is set to PageMethodsGenerator and Custom Tool Namespace
to MyPageMethods?

Fabrice

On Dec 21, 1:14 pm, thisispaulsmith <paul.sm...@communicatorcorp.com>
wrote:

thisispaulsmith

unread,
Dec 21, 2009, 7:29:58 AM12/21/09
to PageMethods
Hi,

Yeah we're using a web application project and I can confirm that
those values are set. We've done some investigation and it appears
that there are some different registry keys for 64bit which we're
looking at now, I'm guessing this is the problem.

Thanks

Paul

On Dec 21, 12:25 pm, Fabrice Marguerie <fabrice.margue...@gmail.com>

> > > - Show quoted text -- Hide quoted text -

Fabrice Marguerie

unread,
Dec 21, 2009, 7:53:00 AM12/21/09
to PageMethods
If you find the correct registry keys, please share the information
with us here.

Fabrice

On Dec 21, 1:29 pm, thisispaulsmith <paul.sm...@communicatorcorp.com>

dammitjanet

unread,
Dec 21, 2009, 8:45:07 AM12/21/09
to PageMethods
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\

instead of

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0

The old registry keys need to be deleted otherwise they interfere.

So the two files (one for the Addin registration, the second for the
Generators) both need updating for x64 versions of Windows. Tested on
Vista x64 Business and VS2008 RTM.

Stu Wilson
Communicator Corp

On Dec 21, 12:53 pm, Fabrice Marguerie <fabrice.margue...@gmail.com>

thisispaulsmith

unread,
Dec 21, 2009, 8:53:50 AM12/21/09
to PageMethods
Hi,

Just got it working....here is the .reg for x64 machines...

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\AddIns\PageMethods.VSAddin]
"CommandPreload"=dword:00000000
"AboutBoxIcon"=hex:
00,00,01,00,02,00,20,20,10,00,00,00,00,00,e8,02,00,00,26,00,\
00,00,10,10,10,00,00,00,00,00,28,01,00,00,0e,
03,00,00,28,00,00,00,20,00,00,\

00,40,00,00,00,01,00,04,00,00,00,00,00,80,02,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,\
00,00,00,80,00,80,00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,
00,00,ff,\
00,00,00,ff,ff,00,ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,
00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,ba,b0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,ab,a0,\

00,00,00,00,00,00,00,00,00,00,00,f0,00,00,ba,b0,00,00,00,00,00,00,88,88,88,\
88,88,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,
77,77,77,77,f0,ba,ba,ba,ba,ba,b0,\
00,00,00,00,8f,77,77,77,77,f0,ab,ab,ab,ab,ab,a0,00,00,00,00,8f,
77,77,77,77,\
f0,00,00,ba,b0,00,00,00,00,00,00,8f,
77,77,77,77,ff,ff,f0,ab,a0,00,00,00,88,\
80,00,8f,77,77,77,77,77,77,f0,ba,b0,00,00,88,77,88,00,8f,
77,77,77,77,77,77,\
f0,ab,a0,00,00,8f,f7,70,77,8f,77,77,77,77,77,77,f0,00,00,00,00,8f,ff,
78,08,\
8f,77,77,77,77,77,77,ff,ff,ff,00,00,08,ff,70,00,8f,
77,77,77,77,77,77,77,77,\
80,00,00,00,88,80,00,8f,
77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,77,\
77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,
77,77,77,77,77,77,77,77,80,00,\
00,00,00,00,00,8f,
77,77,77,77,77,77,77,77,80,00,00,00,00,00,00,8f,ff,ff,ff,\
ff,ff,ff,ff,ff,
80,00,00,00,00,00,00,88,88,88,88,88,88,88,88,88,80,00,00,00,\

00,00,00,00,00,08,70,00,00,08,70,00,00,00,00,00,00,00,00,00,00,08,f0,00,00,\

08,f0,00,00,00,00,00,00,00,00,00,00,00,80,00,00,00,80,00,00,00,00,00,00,00,\

00,00,00,08,08,00,00,08,08,00,00,00,00,00,00,00,00,00,08,77,78,80,08,77,78,\
80,00,00,00,00,00,00,00,00,08,ff,77,80,08,ff,
77,80,00,00,00,00,00,00,00,00,\

08,ff,f7,80,08,ff,f7,80,00,00,00,00,00,00,00,00,00,8f,f7,00,00,8f,f7,00,00,\

00,00,00,00,00,00,00,00,07,77,00,00,07,77,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,ff,ff,ff,ff,ff,ff,fe,0f,ff,ff,fe,
0f,ff,ff,fe,0f,\
ff,ff,fe,0f,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,00,00,00,ff,
00,00,00,c7,\
00,00,0f,83,00,00,0f,00,00,00,0f,00,00,00,0f,00,00,00,0f,
83,00,00,0f,c7,00,\
00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,00,00,0f,ff,
00,00,0f,ff,f8,f8,\

ff,ff,f8,f8,ff,ff,f8,f8,ff,ff,f0,70,7f,ff,e0,20,3f,ff,e0,20,3f,ff,e0,20,3f,
\
ff,f0,70,7f,ff,f8,f8,ff,ff,ff,ff,ff,
28,00,00,00,10,00,00,00,20,00,00,00,01,\

00,04,00,00,00,00,00,c0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,80,00,00,80,00,00,00,80,80,00,80,00,00,00,80,00,80,\
00,80,80,00,00,c0,c0,c0,00,80,80,80,00,00,00,ff,00,00,ff,
00,00,00,ff,ff,00,\
ff,00,00,00,ff,00,ff,00,ff,ff,00,00,ff,ff,ff,
00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,a0,00,00,00,00,00,00,00,b0,00,00,00,\
00,00,f0,ab,ab,a0,00,00,8f,88,f0,00,b0,00,00,00,8f,
77,ff,f0,a0,00,70,70,8f,\
77,77,f0,00,00,0f,00,8f,77,77,ff,ff,00,70,70,8f,
77,77,77,80,00,00,00,8f,ff,\
ff,ff,
80,00,00,00,88,88,88,88,80,00,00,00,00,00,00,00,00,00,00,00,00,07,07,\
00,00,00,00,00,00,00,f0,00,00,00,00,00,00,07,07,00,00,00,ff,ff,
00,00,ff,e3,\
00,00,ff,e3,00,00,ff,
80,00,00,f0,00,00,00,f0,00,00,00,f0,03,00,00,10,03,00,\
00,00,03,00,00,10,03,00,00,f0,03,00,00,f0,03,00,00,ff,7f,00,00,fe,3f,
00,00,\
fe,3f,00,00,fe,3f,00,00
"AboutBoxDetails"="PageMethods Add-in for Visual Studio. Provides well-
defined URLs for ASP.NET web pages. http://metaSapiens.com"
"Description"="Provides well-defined URLs for ASP.NET web pages"
"FriendlyName"="PageMethods Add-in for Visual Studio"
"CommandLineSafe"=dword:00000001
"LoadBehavior"=dword:00000003

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-B200-11D0-8C61-00A0C91E29D5}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-B200-11D0-8C61-00A0C91E29D5}\.rpt]
@="CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator]
@="Crystal Reports Code Generator for RPT"
"CLSID"="{0117E5C6-5E59-40BA-A862-F025C17FB516}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\MSDataSetGenerator]
@="Microsoft VB Code Generator for XSD"
"CLSID"="{E76D53CC-3D4F-40a2-BD4D-4F3419755476}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\MSDiscoCodeGenerator]
@="Microsoft VB Code Generator for Web Discovery"
"CLSID"="{8C64357F-10D7-40ef-9803-95F8165B6A7B}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\MSResultSetGenerator]
@="Win32TypedResultSetGenerator"
"CLSID"="{a7350515-c672-4ad4-9ba8-933bc7e692c5}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\MyApplicationCodeGenerator]
@="Generator for MyApplication class"
"CLSID"="{4D35B437-4197-4241-8D24-8AC3AB6F0E0C}"
"GeneratesDesignTimeSource"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\PageMethodsGenerator]
"GeneratesDesignTimeSource"=dword:00000001
"CLSID"="{82618F88-37A3-4504-BFFC-E933B71F81FB}"
@="PageMethods code generator for PageList.xml"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\ResXFileCodeGenerator]
@="Microsoft ResX File Code Generator"
"CLSID"="{c77981ec-ba19-3348-878f-6f88745a251e}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\SettingsSingleFileGenerator]
@="Generator for strongly typed settings class"
"CLSID"="{3B4C204A-88A2-3AF8-BCFD-CFCB16399541}"
"GeneratesDesignTimeSource"=dword:00000000
"GeneratesSharedDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{164B10B9-
B200-11D0-8C61-00A0C91E29D5}\VbMyResourcesResXFileCodeGenerator]
@="Microsoft Visual Basic Primary My.Resources ResX File Code
Generator"
"CLSID"="{0452cd78-e6bf-4d67-848b-994dce92a503}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-F3D1-11D4-8576-0002A516ECE8}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-F3D1-11D4-8576-0002A516ECE8}\.rpt]
@="CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-
F3D1-11D4-8576-0002A516ECE8}\CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator]
@="Crystal Reports Code Generator for RPT"
"CLSID"="{0117E5C6-5E59-40BA-A862-F025C17FB516}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-
F3D1-11D4-8576-0002A516ECE8}\MSDataSetGenerator]
@="Microsoft J# Code Generator for XSD"
"CLSID"="{E76D53CC-3D4F-40a2-BD4D-4F3419755476}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-
F3D1-11D4-8576-0002A516ECE8}\MSDiscoCodeGenerator]
@="Visual J# Code Generator for Web Discovery"
"CLSID"="{8C64357F-10D7-40ef-9803-95F8165B6A7B}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-
F3D1-11D4-8576-0002A516ECE8}\PageMethodsGenerator]
"GeneratesDesignTimeSource"=dword:00000001
"CLSID"="{82618F88-37A3-4504-BFFC-E933B71F81FB}"
@="PageMethods code generator for PageList.xml"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-
F3D1-11D4-8576-0002A516ECE8}\ResXFileCodeGenerator]
@="Microsoft ResX File Code Generator"
"CLSID"="{c77981ec-ba19-3348-878f-6f88745a251e}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{E6FDF8B0-
F3D1-11D4-8576-0002A516ECE8}\SettingsSingleFileGenerator]
@="Generator for strongly typed settings class"
"CLSID"="{3B4C204A-88A2-3AF8-BCFD-CFCB16399541}"
"GeneratesDesignTimeSource"=dword:00000000
"GeneratesSharedDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}\.rpt]
@="CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}
\CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator]
@="Crystal Reports Code Generator for RPT"
"CLSID"="{0117E5C6-5E59-40BA-A862-F025C17FB516}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}
\MSDataSetGenerator]
@="Microsoft C# Code Generator for XSD"
"CLSID"="{E76D53CC-3D4F-40a2-BD4D-4F3419755476}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}
\MSDiscoCodeGenerator]
@="Microsoft C# Code Generator for Web Discovery"
"CLSID"="{8C64357F-10D7-40ef-9803-95F8165B6A7B}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}
\MSResultSetGenerator]
@="Win32TypedResultSetGenerator"
"CLSID"="{a7350515-c672-4ad4-9ba8-933bc7e692c5}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}
\PageMethodsGenerator]
@="PageMethods code generator for PageList.xml"
"CLSID"="{82618F88-37A3-4504-BFFC-E933B71F81FB}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}
\ResXFileCodeGenerator]
@="Microsoft ResX File Code Generator"
"CLSID"="{c77981ec-ba19-3348-878f-6f88745a251e}"
"GeneratesDesignTimeSource"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\9.0\Generators\{FAE04EC1-301F-11d3-BF4B-00C04F79EFBC}
\SettingsSingleFileGenerator]
@="Generator for strongly typed settings class"
"CLSID"="{3B4C204A-88A2-3AF8-BCFD-CFCB16399541}"
"GeneratesDesignTimeSource"=dword:00000000
"GeneratesSharedDesignTimeSource"=dword:00000001

On Dec 21, 12:53 pm, Fabrice Marguerie <fabrice.margue...@gmail.com>

Fabrice Marguerie

unread,
Dec 21, 2009, 9:14:37 AM12/21/09
to PageMethods
Paul, Stu,

Thank you to both of you for the solution.
I'll include the needed .reg file in the source code.

Fabrice

On Dec 21, 2:53 pm, thisispaulsmith <paul.sm...@communicatorcorp.com>
wrote:
> Hi,
>

> defined URLs for ASP.NET web pages.http://metaSapiens.com"

Reply all
Reply to author
Forward
0 new messages