Visual Studio Guidance Automation Toolkit ForumThe Guidance Automation Toolkit is an extension to Visual Studio that allows architects to author rich, integrated user experiences for reusable assets.© 2009 Microsoft Corporation. All rights reserved.Fri, 27 Nov 2009 06:48:05 Z8caf5310-b9be-4d69-9da3-b8d0091f9b37http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/2f2ef222-e561-43ce-8cac-a52bf3ee39e2http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/2f2ef222-e561-43ce-8cac-a52bf3ee39e2Abul Wahabhttp://social.msdn.microsoft.com/Profile/en-US/?user=Abul%20WahabReal Time Voice Changing<p>I am to develope an application in vb.net  which:</p> <p>this application listenes a persons voice and captures its voice structure and save it</p> <p>now another person can speak anything he want but in the voice of first person so that any listener outside think that first person is speaking.</p> <p>kindly help me how can i accomplish this real time voice coverting and through what tools.</p> <p>Thanks.</p> <p> </p>Sun, 22 Nov 2009 21:28:02 Z2009-11-27T06:48:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/27608e62-416d-4508-97cc-6a009854865chttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/27608e62-416d-4508-97cc-6a009854865cRandy Xuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Randy%20XuThe GuidanceAutomationExtensions 2008 can not be used after I installed the VS2010B2ProI had installed VS2008, GuidanceAutomationExtensions 2008 and VsSDK 2008 to my computer before. Now I want to install the VS2010B2Pro. After the installation, When I opened a VS2008 solution with the VS2008, I found that I can not use the GuidanceAutomationExtensions 2008. I am sure that the GuidanceAutomationExtensions 2008 can be used before the VS2010B2Pro installation. Who can tell me the reason? I was asked to move this question from the following link, for more details please refer to it. http://social.msdn.microsoft.com/Forums/en-US/vsprereleaseannouncements/thread/51693861-f147-488d-a9f6-11dce5614a87/#47c2016a-1173-4103-bda4-d697539fe3f5Thu, 12 Nov 2009 03:59:45 Z2009-11-26T15:04:45Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/f0b4c3ef-9638-4915-9c6b-8ef787f3db3dhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/f0b4c3ef-9638-4915-9c6b-8ef787f3db3ddevwilliehttp://social.msdn.microsoft.com/Profile/en-US/?user=devwillieOur AUT is coded in Informix 4gl and rendered via the French middle-ware product, Genero (by Four J's) in Trolltech's (now Nokia) Qt toolkitHello,   <div>My company (Tyler Technologies) is partnering with Microsoft (Dynamics, I believe) and we're developing a .NET ASP front-end to supplement our traditional client server product (described in Title above.)  </div> <div><br/></div> <div>We're researching the compatibility of the Visual Studio Automation Toolkit with the former but want to know if the Microsoft tool supports integration with the latter or how best to test this without wading through massive reams (small reams ok, I guess) of documentation.  Any help would be greatly appreciated.  Thanks!</div> <div><br/></div> <div>-Will</div>Wed, 11 Nov 2009 21:39:47 Z2009-11-21T23:54:46Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/16b8e06f-996a-4762-8ec9-5753a7a530c8http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/16b8e06f-996a-4762-8ec9-5753a7a530c8zhoumchttp://social.msdn.microsoft.com/Profile/en-US/?user=zhoumcFailed to install Mobile Client Software Factory July 2006 (refresh).msiI work with VS2005 sp1, and I have installed following related softwares:<br/><br/>GuidanceAutomationExtensions.exe<br/>gaxp1409.exe<br/>GuidanceAutomationToolkitForVS2005.msi (<span style="font-size:x-small">February 2008 Release </span>)<br/> <br/>when I run the Mobile Client Software Factory July 2006 (refresh).msi, it always said:<br/><br/>&quot;This installer requires the Guidance Automation Toolkit, June 2006 CTP or later, whick is not present on the computer. Please install it and try again&quot;<a href="http://social.msdn.microsoft.com/Forums/en-US/info.aspx?na=47&amp;p=1&amp;SrcDisplayLang=en&amp;SrcCategoryId=&amp;SrcFamilyId=f9176708-9f57-4c0f-97fb-f9c65a9bbf22&amp;u=details.aspx?familyid%3dB91066B3-D1D6-4990-A45F-34CF8DBDC60C%26displaylang%3den"><span style="color:#0033cc"><br/></span></a><br/>Please help ! Thanks.Thu, 19 Nov 2009 02:18:43 Z2009-11-21T23:49:39Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/a4656e6b-450c-4182-a603-7a63ce55b869http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/a4656e6b-450c-4182-a603-7a63ce55b869Pallavi Mahajanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Pallavi%20MahajanGAX/GAT with VS2010 Ultimate Beta2I have installed VS2010 Ultimate Beta 2.<br/><br/>GAX is installed suceessfully, but for GAT installation I am getting the below message.<br/><br/>&quot;C# Language support for Visual Studio 2008 is not installed. Do you want to see the information of the product? &quot;<br/><br/>Can someone please help to resolve this issue?<br/><br/>Thanks,<br/>Pallavi<br/><br/><br/><br/><br/><br/>Fri, 13 Nov 2009 01:32:32 Z2009-11-21T23:49:32Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/6201da60-d746-45b1-b3e6-7b07b9e9ba0bhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/6201da60-d746-45b1-b3e6-7b07b9e9ba0bDan Clashhttp://social.msdn.microsoft.com/Profile/en-US/?user=Dan%20ClashIcon created in VS 2008 unusable on Windows XPWhen I create an icon file in VS 2008 consisting of several 24 bit bmp files it works fine on Vista and Win7, but is unusable on XP.  Any ideas how I can create an icon file that can be used for all operating systems?<br/><br/>Thanks,<br/>DanTue, 10 Nov 2009 06:25:51 Z2009-11-11T17:27:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/e9d5c27f-f274-49d9-be1e-7b6425176479http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/e9d5c27f-f274-49d9-be1e-7b6425176479KevinH1979http://social.msdn.microsoft.com/Profile/en-US/?user=KevinH1979Installing Guidance package for both VS2005 and VS2008<p>Hi</p> <p>I have developed a Guidance Package for use with VS2005 and it works and installs fine. There is now a requirement to use the Guidance Package on VS2008. Some users in our company will be running <strong>either </strong>VS2005 or VS2008 and some users will be running <strong>both </strong>VS2005 and VS2008.</p> <p>My question is can I use a single MSI to register my Guidance Package with both VS2005 and VS2008 e.g. add 2 custom actions for Install, <br/>1) The first action to register with 8.0 Hive i.e. /Hive=8.0 /Configuration=&quot;[TARGETDIR]MyGuidancePackage.xml&quot;<br/>2) The second action to register with 9.0 Hive i.e. /Hive=9.0 /Configuration=&quot;[TARGETDIR]MyGuidancePackage.xml&quot;<br/><br/>Would this work or will I need one MSI for VS2005 and a seperate MSI for VS2008<br/><br/>Thanks</p> <p> </p> <p> </p>Wed, 01 Jul 2009 13:16:17 Z2009-11-06T14:00:07Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/b70ceb02-529d-42cd-95b0-87b4b3207bd1http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/b70ceb02-529d-42cd-95b0-87b4b3207bd1Gerd De Bruyckerehttp://social.msdn.microsoft.com/Profile/en-US/?user=Gerd%20De%20Bruyckerehow to use a class file from one project in another project in the same solutionHello,<br/> <br/> I am a newbie to ASP.NET, but this is what I want to achieve ...<br/> <br/> We have a solution with 2 websites in it ... one fo the base functions and one for customer specific code ...<br/> <br/> In the customer specific code we want to use code from the base versions... so I added a dependency between the two and I want to add a project reference between the two ... the latter is impossible because in the add reference dialog box I don't see a prokect to which I can reference ...<br/> <br/> Is this the right way ?<br/> <br/> kind regards <br/> gerd<br/>Wed, 19 Aug 2009 14:07:15 Z2009-11-06T13:58:25Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/2daa5451-84c5-4272-a747-71323f2624dbhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/2daa5451-84c5-4272-a747-71323f2624dbAbilash Sekharanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Abilash%20SekharanT4 template in Isolated Shell<p><span style="font-size:8pt;color:black;font-family:Verdana">I am facing some problems when going for transforming T4 template in Isolated Shell. </span></p> <p><span style="font-size:8pt;color:black;font-family:Verdana">1)&quot; TextTemplating.TransformAll &quot; command is not enabled when .tt file is included in the Isolated Shell solution .</span></p> <p><span style="font-size:8pt;color:black;font-family:Verdana">2) for .tt file there will be an Extra menu button &quot;Run Custom Tool&quot; when we work in visualStudio(Integrated Shell) but when we go for isolated shell the above menu is not  available.</span></p> <p><span style="font-size:8pt;color:black;font-family:Verdana">3)I am able to transform the .tt file programmatically in a custom menu button using &quot;ITextTemplating&quot; Global service. </span></p> <p><span style="font-size:10pt;color:#2b91af;font-family:Verdana">ITextTemplating</span><span style="font-size:10pt;color:black;font-family:Verdana"> textTemplating = Microsoft.VisualStudio.Shell.</span><span style="font-size:10pt;color:#2b91af;font-family:Verdana">Package</span><span style="font-size:10pt;color:black;font-family:Verdana">.GetGlobalService(</span><span style="font-size:10pt;color:blue;font-family:Verdana">typeof</span><span style="font-size:10pt;color:black;font-family:Verdana">(</span><span style="font-size:10pt;color:#2b91af;font-family:Verdana">STextTemplating</span><span style="font-size:10pt;color:black;font-family:Verdana">)) </span><span style="font-size:10pt;color:blue;font-family:Verdana">as</span><span style="font-size:10pt;color:black;font-family:Verdana"> </span><span style="font-size:10pt;color:#2b91af;font-family:Verdana">ITextTemplating</span><span style="font-size:10pt;color:black;font-family:Verdana">;</span></p> <p><span style="font-size:10pt;color:blue;font-family:Verdana">string</span><span style="font-size:10pt;color:black;font-family:Verdana"> output = textTemplating.ProcessTemplate(templateFile, template, </span><span style="font-size:10pt;color:blue;font-family:Verdana">null</span><span style="font-size:10pt;color:black;font-family:Verdana">, </span><span style="font-size:10pt;color:blue;font-family:Verdana">null</span><span style="font-size:10pt;color:black;font-family:Verdana">);</span></p> <p><span style="font-size:8pt;color:black;font-family:Verdana"><br/>How I make use of existing &quot;TextTemplating.TransformAll&quot; command for transforming in  Isolated Shell.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt"> </p>Fri, 07 Aug 2009 10:55:56 Z2009-11-06T13:56:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/950c8275-53b6-41ef-abbe-e9a429127114http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/950c8275-53b6-41ef-abbe-e9a429127114SlackAttackhttp://social.msdn.microsoft.com/Profile/en-US/?user=SlackAttackInstallation IssuesMy environment:<br/><br/>* Windows XP Pro SP3<br/>* Visual Studio 2008 SP1<br/><br/>Attempting to install Web Client Software factory, which requires GAX, GAT, EntLib, etc.  I thought I was in good shape until I attempted to create a new C# - WAP solution based on Web Client Software Factory project template.  I would receive an error condition which I cannot even re-produce at this point because of my attempts to remediate the situation.  I've never had this sort of trouble with GAX/GAT and software factories.<br/><br/>At this point I cannot install GAX February 2007.  Nearing the end of the installation an error dialog is displayed named &quot;Guidance Automation Extensions Setup&quot; with error message &quot;Error 1001:  The node to be removed is not a child of this node.&quot;  I click the OK button and the installation is rolled back.  Obviously there's some residue leftover from my initial installation attempts.<br/><br/>Looking forward to some guidance.<br/><br/>Wed, 28 Oct 2009 20:14:00 Z2009-11-06T13:24:43Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/16975b73-daf0-4e71-8343-6e24218d2afdhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/16975b73-daf0-4e71-8343-6e24218d2afdgreenpea01http://social.msdn.microsoft.com/Profile/en-US/?user=greenpea014Easysoft DVD to Video Converter/MP4 Converter(Windows/Mac) 30% DiscountHalloween is approaching. Happy Halloween!<br/> In order to express the gratitude for your substantial support in 4Easysoft Studio, here are some of the gifts that 4Easysoft Studio provides for you during Hallowmas from <strong>Oct.28 to Nov. 2.</strong> <br/> <strong>Note:</strong> If you would like to get any of the discounted products, you need to enter the <strong>Coupon Codes</strong> that we provided which are <strong>only valid for our official website</strong> <strong><a href="http://www.4easysoft.com/index.html">4Easysoft Studio</a> </strong> . <br/> <br/> <img src="http://www.4easysoft.com/guide/hallowmas/dvd-to-video.jpg" border=0 alt=""> <br/> <br/> <strong>1. DVD to Video Converter 30% Discount</strong> <br/> 4Easysoft DVD to Video Converter is one multifunctional DVD Video Converter, which brings you to convert DVD to AVI, MP4, WMV, MOV, M4V, FLV, SWF, 3GP, and HD H.264, HD AVI, HD MPG, HD TS, HD ASF, and more with powerful editing functions.<br/> <strong>Price: $35.95 </strong>    <br/> <strong>Discounted Price: $25.17</strong> <br/> <strong>Coupon Code:</strong> EASY-3QEH<br/> <strong>Only Valid on:</strong> :<strong>4Easysoft <a href="http://www.4easysoft.com/dvd-to-video-converter.html">DVD to Video Converter</a> </strong> <br/> <br/> <strong>2. MP4 Converter 30% Discount</strong> <br/> 4Easysoft MP4 Converter is a powerful MP4 Video Converter which is designed to convert almost any video formats to MPEG-4 standard formats with flexible video editing options such as crop video, trim file segment, etc. <br/> <strong>Price: $29.95 </strong>    <br/> <strong>Discounted Price: $20.97</strong> <br/> <strong>Coupon Code:</strong> EASY-OS3H<br/> <strong>Only Valid on:</strong> :<strong>4Easysoft <a href="http://www.4easysoft.com/mp4-converter.html">MP4 Converter</a> </strong> <br/> <br/> <strong>3. Mac MP4 Converter 30% Discount</strong> <br/> 4Easysoft Mac MP4 Converter is integrated MP4 converter for Mac software to easily convert nearly all popular video formats to MP4 on Mac such as convert AVI to MP4 Mac. Extracting AAC, AC3, MP3, M4A, MP2, OGG, WAV, WMA audios from kinds of videos is also available. <br/> <strong>Price: $29.95 </strong>    <br/> <strong>Discounted Price: $20.97</strong> <br/> <strong>Coupon Code:</strong> EASY-W7ID<br/> <strong>Only Valid on:</strong> :<strong>4Easysoft <a href="http://www.4easysoft.com/mac-mp4-converter.html">Mac MP4 Converter</a> </strong> <br/> <br/> Now 4Easysoft Studio is holding a large-scale discount activity from <strong>Oct. 28 to Nov. 2.</strong> Most of the popular products will be at <strong>30% Discount</strong> .Learn <strong>more information</strong> , please explore <a href="http://www.4easysoft.com/hallowmas.html">http://www.4easysoft.com/hallowmas.html</a> .Thu, 29 Oct 2009 02:20:17 Z2009-10-30T21:17:07Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3c696c3b-647a-4609-8924-da233c70de8ahttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3c696c3b-647a-4609-8924-da233c70de8anjpmetrolandhttp://social.msdn.microsoft.com/Profile/en-US/?user=njpmetrolanderror installing gaxp1409.exe<p>Hi,<br/><br/>I am running vista business sp2. I have visual studio 2008 sp1 installed. I was able to install GuidanceAutomationExtensions.msi via the command line using admin rights. I am trying to install gaxp1409.exe before I install GuidanceAutomationToolkitForVS2008.msi but i get the following error<br/><br/>&quot; The upgrade patch cannot be installed by the windows installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch&quot;<br/><br/>The dump from the GaxTroubleshooter exe is as follows:<br/><br/><br/>Dumping OS details...<br/>----------------------------------------------------------------------------------------------------<br/>OS version: Microsoft Windows NT 6.0.6002 Service Pack 2<br/>CLR version: 2.0.50727.4016</p> <p>Dumping GAX hive...<br/>----------------------------------------------------------------------------------------------------<br/>Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions<br/>    Value CurrentVersion=1.3 - (String)<br/>    Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Compatibility<br/>        Value 1.1=1 - (DWord)<br/>        Value 1.2=1 - (DWord)<br/>    Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts<br/>        Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Guidance Automation Extensions\Hosts\VisualStudio<br/>            Value CurrentHive=9.0 - (String)<br/>            Value CurrentInstallDir=C:\Program Files\Microsoft Visual Studio 9.0\ - (String)<br/>----------------------------------------------------------------------------------------------------<br/>DUMP INFORMATION FOR 8.0 VS HIVE<br/>    <br/>    MainManifest (8.0)<br/>    ------------------------------------------------<br/>    GaxTroubleshooter Warning: 0 : The current version of GAX is less than 1.4 or was unable to determine the current version for the specified give 8.0.<br/>    FileName: C:\ProgramData\Microsoft\Recipe Framework\RecipeFramework.xml<br/>    &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br/>&lt;RecipeFramework SchemaVersion=&quot;1.0&quot; TraceLevel=&quot;Error&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/pag/gax-manifest">http://schemas.microsoft.com/pag/gax-manifest</a>&quot;&gt;<br/>  &lt;Hosts&gt;<br/>    &lt;Host Name=&quot;VisualStudio&quot; InstallerType=&quot;Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio&quot; /&gt;<br/>  &lt;/Hosts&gt;<br/>  &lt;GuidancePackages&gt;<br/>  &lt;/GuidancePackages&gt;<br/>&lt;/RecipeFramework&gt;<br/>    <br/>    Registry Info (8.0)<br/>    --------------------------------------------------------------------<br/>    Key Software\Microsoft\VisualStudio\8.0\RecipeManagerPackage not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2} not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F} not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82} not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4} not registered.<br/>    <br/>----------------------------------------------------------------------------------------------------<br/>DUMP INFORMATION FOR 8.0Exp VS HIVE<br/>    <br/>    MainManifest (8.0Exp)<br/>    ------------------------------------------------<br/>    GaxTroubleshooter Warning: 0 : The current version of GAX is less than 1.4 or was unable to determine the current version for the specified give 8.0Exp.<br/>    FileName: C:\ProgramData\Microsoft\Recipe Framework\RecipeFramework.xml<br/>    &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br/>&lt;RecipeFramework SchemaVersion=&quot;1.0&quot; TraceLevel=&quot;Error&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/pag/gax-manifest">http://schemas.microsoft.com/pag/gax-manifest</a>&quot;&gt;<br/>  &lt;Hosts&gt;<br/>    &lt;Host Name=&quot;VisualStudio&quot; InstallerType=&quot;Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio&quot; /&gt;<br/>  &lt;/Hosts&gt;<br/>  &lt;GuidancePackages&gt;<br/>  &lt;/GuidancePackages&gt;<br/>&lt;/RecipeFramework&gt;<br/>    <br/>    Registry Info (8.0Exp)<br/>    --------------------------------------------------------------------<br/>    Key Software\Microsoft\VisualStudio\8.0Exp\RecipeManagerPackage not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0Exp\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2} not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F} not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0Exp\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82} not registered.<br/>    Key Software\Microsoft\VisualStudio\8.0Exp\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4} not registered.<br/>    <br/>----------------------------------------------------------------------------------------------------<br/>DUMP INFORMATION FOR 9.0 VS HIVE<br/>    <br/>    MainManifest (9.0)<br/>    ------------------------------------------------<br/>    GaxTroubleshooter Warning: 0 : The current version of GAX is less than 1.4 or was unable to determine the current version for the specified give 9.0.<br/>    FileName: C:\ProgramData\Microsoft\Recipe Framework\RecipeFramework.xml<br/>    &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br/>&lt;RecipeFramework SchemaVersion=&quot;1.0&quot; TraceLevel=&quot;Error&quot; xmlns=&quot;<a href="http://schemas.microsoft.com/pag/gax-manifest">http://schemas.microsoft.com/pag/gax-manifest</a>&quot;&gt;<br/>  &lt;Hosts&gt;<br/>    &lt;Host Name=&quot;VisualStudio&quot; InstallerType=&quot;Microsoft.Practices.RecipeFramework.VisualStudio.RecipeFrameworkInstaller, Microsoft.Practices.RecipeFramework.VisualStudio&quot; /&gt;<br/>  &lt;/Hosts&gt;<br/>  &lt;GuidancePackages&gt;<br/>  &lt;/GuidancePackages&gt;<br/>&lt;/RecipeFramework&gt;<br/>    <br/>    Registry Info (9.0)<br/>    --------------------------------------------------------------------<br/>    Key Software\Microsoft\VisualStudio\9.0\RecipeManagerPackage not registered.<br/>    Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}<br/>        Value ID=1 - (DWord)<br/>        Value MinEdition=Standard - (String)<br/>        Value ProductVersion=1.0 - (String)<br/>        Value ProductName=recipe framework - (String)<br/>        Value CompanyName=Microsoft - (String)<br/>        Value InprocServer32=C:\Windows\system32\mscoree.dll - (String)<br/>        Value Class=Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage - (String)<br/>        Value CodeBase=file:///C:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE/PublicAssemblies/Microsoft.Practices.RecipeFramework.VisualStudio.DLL - (String)<br/>        Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\SatelliteDll<br/>            Value Path=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies - (String)<br/>            Value DllName=Microsoft.Practices.RecipeFramework.VisualStudioUI.dll - (String)<br/>        Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\Packages\{77d93a80-73fc-40f8-87db-acd3482964b2}\Templates<br/>    Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{ADFC4E64-0397-11D1-9F4E-00A0C911004F}<br/>        Value {53544C4D-E3F8-4AA0-8195-8A8D16019423}=0 - (DWord)<br/>    Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\AutoLoadPackages\{F1536EF8-92EC-443C-9ED7-FDADF150DA82}<br/>        Value {C9DD4A57-47FB-11D2-83E7-00C04F9902C1}=0 - (DWord)<br/>    Key: HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0\ToolWindows\{90e51bf7-d80a-4fa1-8a20-2641cbb842f4}<br/>        Value Name=Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorWindow - (String)<br/>    <br/>    PublicAssemblies directory folder (9.0) C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies.<br/>    --------------------------------------------------------------------<br/>    Assembly: Microsoft.Practices.Common, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.ComponentModel, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.RecipeFramework.Common, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.RecipeFramework, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.RecipeFramework.Library, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.RecipeFramework.PackageManagement, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.RecipeFramework.VisualStudio.Common, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.RecipeFramework.VisualStudio.Library, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4<br/>Assembly: Microsoft.Practices.WizardFramework, Version=1.3.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, FileVersion: 1.3.0.4</p> <p>Thanks in advance for your help.<br/><br/>Best Regards,<br/>njpmetro</p>Fri, 18 Sep 2009 17:19:03 Z2009-10-27T08:07:57Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/fcf3316c-204e-4cd0-8a8f-b6cdc8837d69http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/fcf3316c-204e-4cd0-8a8f-b6cdc8837d69ebolisahttp://social.msdn.microsoft.com/Profile/en-US/?user=ebolisaHow to check myproject.msi/setup.exe build number via sub?<p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="line-height:115%;font-size:10pt" lang=EN-US><span style="font-family:Calibri">Hi, I finished my first Project (VS08 windows app), tried it out on a different box and works fine. Now, I’d like to take it to a step further. I generated the setup.msi file and stored it on my intranet server (</span><a><span style="font-family:Calibri;color:#0000ff">\\myserver\programs</span></a><span style="font-family:Calibri">). In the assemblyinfo file I set <br/></span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"> </p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="line-height:115%;font-family:'Courier New';font-size:10pt" lang=EN-US>&lt;Assembly: AssemblyVersion(<span style="color:#a31515">&quot;1.0.*&quot;</span>)&gt; </span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="line-height:115%;font-family:'Courier New';font-size:10pt" lang=EN-US>&lt;Assembly: AssemblyFileVersion(<span style="color:#a31515">&quot;1.0.*&quot;</span>)&gt;</span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="line-height:115%;font-size:10pt" lang=EN-US><span style="font-family:Calibri">for version automate. Said that, how do I programmily check the .msi .exe version on the server when starting up the project?</span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="line-height:115%;font-size:10pt" lang=EN-US><span style="font-family:Calibri">TIA </span></span></p> <p class=MsoNormal style="margin:0cm 0cm 0pt"><span style="line-height:115%;font-size:10pt" lang=EN-US><span style="font-family:Calibri">Bob </span></span></p> <p> </p>Fri, 23 Oct 2009 18:40:57 Z2009-10-23T21:51:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/9f70b9f3-a477-4783-9576-b4da526bc23fhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/9f70b9f3-a477-4783-9576-b4da526bc23fMClancyhttp://social.msdn.microsoft.com/Profile/en-US/?user=MClancyGAT/GAX with Visual Studio 2010 betaIs there a way to use the GAX and GAT installers with VS2010 beta?  Would like to exercise it in the beta environment.  Any caveats in doing this?  No problems with the Enterprise Lib under 2010 so far...Sun, 21 Jun 2009 16:41:52 Z2009-10-23T21:52:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3a8c780a-7fff-4aa3-addf-611ef40cfe68http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3a8c780a-7fff-4aa3-addf-611ef40cfe68Quick Sensehttp://social.msdn.microsoft.com/Profile/en-US/?user=Quick%20SenseWhy does my SmartClientApplication can only be resized like a mac?Hello, <br /><br />I follow the instruction for smart client software factory to&nbsp;generate my ShellApplication class and etc.<span style="font-size: x-small;"><font size="2"> <p>&nbsp;</p> </font></span> <p><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">class</span></span><span style="font-size: x-small;"> </span><span style="color: #2b91af; font-size: x-small;"><span style="color: #2b91af; font-size: x-small;">ShellApplication</span></span><span style="font-size: x-small;"> : </span><span style="color: #2b91af; font-size: x-small;"><span style="color: #2b91af; font-size: x-small;">SmartClientApplication</span></span><span style="font-size: x-small;">&lt;</span><span style="color: #2b91af; font-size: x-small;"><span style="color: #2b91af; font-size: x-small;">WorkItem</span></span><span style="font-size: x-small;">, </span><span style="color: #2b91af; font-size: x-small;"><span style="color: #2b91af; font-size: x-small;">ShellForm</span></span><span style="font-size: x-small;">&gt;</span></p> When it runs, I find that the main window, which comes from&nbsp;the ShellForm class,&nbsp;can only be resized like a Mac Window. That is, it can only be resized from the lower right corner. You cannot resize it by dragging the border lines as you would do to a normal Microsoft window.<br /><br />Why? I do not remember I have intentionally change or manipulate that sort of behavior.<br /><br />How can I change this Mac behavior to Microsoft behavior?<br /><br />Thanks,<br />Quick<br />Sun, 11 Oct 2009 07:54:11 Z2009-10-15T18:23:17Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3129a4f5-7cc8-4ce8-9e9b-3d4405c33aeehttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3129a4f5-7cc8-4ce8-9e9b-3d4405c33aeeKevinH1979http://social.msdn.microsoft.com/Profile/en-US/?user=KevinH1979Use of ExpressionEvaluatorValueProvider in VS2008<p>Hi<br/><br/>I created a Guidance Package in VS2005. To upgrade the package for use with VS2008, I followed Jose's instructions in an earlier post (<a href="http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/8777845e-f7c6-4314-a9a3-69943b9409a0">http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/8777845e-f7c6-4314-a9a3-69943b9409a0</a>)<br/><br/>My Guidance Package installed fine. I have a recipe that unfolds a solution template containing a number of projects. I want the name of each project to be prefixed by the value of another argument for consistent naming. To do this, I created an argument:</p> <span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">ProjectPrefix</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Required</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">true</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Converter</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Type</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">Microsoft.Practices.RecipeFramework.Library.Converters.RegexMatchStringConverter, Microsoft.Practices.RecipeFramework.Library</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Expression</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">^[\w*.?]*[^\W]$</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">/&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;</span></span></p> <p>I then created a number of other arguments (to represent the names of the projects in the solution) and use the ProjectPrefix argument to prefix the project name I wanted e.g.<br/><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><br/>&lt;</span></span><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">AppName</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Converter</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Type</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">Microsoft.Practices.RecipeFramework.Library.Converters.RegexMatchStringConverter, Microsoft.Practices.RecipeFramework.Library</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Expression</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">^[\w*.?]*[^\W]$</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">/&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">ValueProvider</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Type</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">Evaluator</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Expression</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">$(ProjectPrefix).AppName</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">MonitorArgument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">ProjectPrefix</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> /&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">ValueProvider</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt; </span></span></p> <p>So the name of the &quot;AppName&quot; project will be <span style="font-size:xx-small;color:#0000ff">$(ProjectPrefix).AppName</span>. However, when I unfold the solution the project is named with the first letter of the Project Prefix argument:</p> <ol> <li>So if the ProjectPrefix is &quot;MyTestApp&quot;</li> <li>The value of AppName should be (and in the wizard it is) &quot;MyTestApp.AppName&quot;.</li> <li>However, when unfolded the created project is named &quot;<strong>M</strong>.AppName&quot;. Only the first letter of the ProjectPrefix arg is used. I know there is nothing wrong with the value of the argument as I use the same argument in the associated AssemblyInfo.cs file and the substitution is correct.</li> </ol> <p>If I install my Guidance Package for VS2005 and run the same functionality it works!<br/><br/>Am I missing some important difference between templates in VS2005 / VS2008?<br/><br/>Thanks<br/>Kevin</p> <p> </p>Tue, 22 Sep 2009 16:04:20 Z2009-11-06T14:04:44Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/835c34c4-e48d-4a6e-8163-642cb397b86ahttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/835c34c4-e48d-4a6e-8163-642cb397b86aHero yuyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Hero%20yuyADO.net doesn't work with visual studio 2008first of all , i don't know where i put my question ?<br/> my problem is every time i try to put access file to my project , the last image appeared to me<br/> <br/> <a href="http://www.mediafire.com/imgbnc.php/d1aa5e3c59fa87ca9e209a081fdb63f96g.jpg">http://www.mediafire.com/imgbnc.php/d1aa5e3c59fa87ca9e209a081fdb63f96g.jpg</a> <br/> <br/> <a href="http://www.mediafire.com/imgbnc.php/46eba2f8bbaa4a7f1c7ad28d124946d26g.jpg">http://www.mediafire.com/imgbnc.php/46eba2f8bbaa4a7f1c7ad28d124946d26g.jpg</a> <br/> <br/> <a href="http://www.mediafire.com/imgbnc.php/6a9a415cde5f0e9675dcbe81bed3d60a6g.jpg">http://www.mediafire.com/imgbnc.php/6a9a415cde5f0e9675dcbe81bed3d60a6g.jpg</a> <br/> <br/> <a href="http://www.mediafire.com/imgbnc.php/5b491e3159e35e82cd445ca6f2edde0d6g.jpg">http://www.mediafire.com/imgbnc.php/5b491e3159e35e82cd445ca6f2edde0d6g.jpg</a> <br/>Thu, 01 Oct 2009 21:33:38 Z2009-10-12T17:04:55Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/0460af30-e403-43fa-bbfc-211ec69908ebhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/0460af30-e403-43fa-bbfc-211ec69908ebkmeeshttp://social.msdn.microsoft.com/Profile/en-US/?user=kmeesAlways publish release build Hey,<br/> <br/> is there a way to always publish the release build of a programm although the build options are set to debug? The problem is that when i publish the debug build by accident (forgot to switch to release config before publish), the user auth is skipped and everyone can see everything which is really, really bad. I could keep the user auth in the debug build but thats quite annoying when debugging an app.<br/> <br/> kevWed, 16 Sep 2009 14:31:34 Z2009-10-12T17:05:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/c31f8e10-1f01-4dbe-ba31-f6dd01a0cfd7http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/c31f8e10-1f01-4dbe-ba31-f6dd01a0cfd7sbusihttp://social.msdn.microsoft.com/Profile/en-US/?user=sbusiAdd Entity Framework model to Project with GATI need to add an Entity Framework model to a project via GAT and open the Entity Framework model wizard for my developers to create a new model.<br /> <br /> My first thought was to create a recipe and reference Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.ModelObjectItemWizard in the Wizard section,&nbsp; but I get the following exception &quot;Cannot create WizardPage , Constructor on type 'Microsoft.Data.Entity.Design.VisualStudio.ModelWizard.ModelObjectItemWizard' not found&quot;.&nbsp; <br /> &nbsp; <br /> Alternately,&nbsp; I attempted to launch the wizard from an Action via DTE.LaunchWizard() but the parameter object array is giving me fits.&nbsp; <br /> &nbsp; <br /> Has anyone attempted this?&nbsp; More generically,&nbsp; is it possible to launch built in item template wizards when adding items to a project?Tue, 06 Oct 2009 14:34:19 Z2009-10-09T21:54:54Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/6735ae1b-bc03-4cd7-b093-0e84a969040bhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/6735ae1b-bc03-4cd7-b093-0e84a969040bJuan Ignacio Geloshttp://social.msdn.microsoft.com/Profile/en-US/?user=Juan%20Ignacio%20GelosTemplates with Unicode namesDeveloping a Guidance package. <div><br/></div> <div>I have a solution template which includes this TemplateData element:</div> <div> <div><br/></div> <div> <div> <div style="color:Black;background-color:White"> <pre><span style="color:Blue">&lt;?</span><span style="color:#A31515">xml</span> <span style="color:Red">version</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">1.0</span><span style="color:Black">&quot;</span> <span style="color:Red">encoding</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">Windows-1252</span><span style="color:Black">&quot;</span><span style="color:Blue">?&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">VSTemplate</span> <span style="color:Red">Version</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">2.0</span><span style="color:Black">&quot;</span> <span style="color:Red">Type</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">ProjectGroup</span><span style="color:Black">&quot;</span> <span style="color:Red">xmlns</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">http://schemas.microsoft.com/developer/vstemplate/2005</span><span style="color:Black">&quot;</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">TemplateData</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">Name</span><span style="color:Blue">&gt;</span>Módulos Presentación<span style="color:Blue">&lt;/</span><span style="color:#A31515">Name</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">Description</span><span style="color:Blue">&gt;</span>Solución para la creación de uno o más módulos PULSAR 3 de capa Presentación<span style="color:Blue">&lt;/</span><span style="color:#A31515">Description</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">ProjectType</span><span style="color:Blue">&gt;</span>CSharp<span style="color:Blue">&lt;/</span><span style="color:#A31515">ProjectType</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SortOrder</span><span style="color:Blue">&gt;</span>90<span style="color:Blue">&lt;/</span><span style="color:#A31515">SortOrder</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">Icon</span><span style="color:Blue">&gt;</span>Evolutio.ico<span style="color:Blue">&lt;/</span><span style="color:#A31515">Icon</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">CreateNewFolder</span><span style="color:Blue">&gt;</span>false<span style="color:Blue">&lt;/</span><span style="color:#A31515">CreateNewFolder</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">DefaultName</span><span style="color:Blue">&gt;</span>Pulsar.Cliente.Mods<span style="color:Blue">&lt;/</span><span style="color:#A31515">DefaultName</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">ProvideDefaultName</span><span style="color:Blue">&gt;</span>true<span style="color:Blue">&lt;/</span><span style="color:#A31515">ProvideDefaultName</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">TemplateData</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">TemplateContent</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">ProjectCollection</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">gral</span><span style="color:Black">&quot;</span> <span style="color:Blue">/&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">spec</span><span style="color:Black">&quot;</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">mock</span><span style="color:Black">&quot;</span> <span style="color:Blue">/&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">specs</span><span style="color:Black">&quot;</span> <span style="color:Blue">/&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">tests</span><span style="color:Black">&quot;</span> <span style="color:Blue">/&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">SolutionFolder</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">src</span><span style="color:Black">&quot;</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">ui</span><span style="color:Black">&quot;</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">SolutionFolder</span> <span style="color:Red">Name</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">mod</span><span style="color:Black">&quot;</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">ProjectTemplateLink</span> <span style="color:Red">ProjectName</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">$ProjectName$</span><span style="color:Black">&quot;</span><span style="color:Blue">&gt;</span>Projects\Mod\Mod.vstemplate<span style="color:Blue">&lt;/</span><span style="color:#A31515">ProjectTemplateLink</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">SolutionFolder</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">SolutionFolder</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">SolutionFolder</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">ProjectCollection</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">TemplateContent</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">WizardExtension</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">Assembly</span><span style="color:Blue">&gt;</span>Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a<span style="color:Blue">&lt;/</span><span style="color:#A31515">Assembly</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">FullClassName</span><span style="color:Blue">&gt;</span>Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate<span style="color:Blue">&lt;/</span><span style="color:#A31515">FullClassName</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">WizardExtension</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">WizardData</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">Template</span> <span style="color:Red">xmlns</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">http://schemas.microsoft.com/pag/gax-template</span><span style="color:Black">&quot;</span> <span style="color:Red">SchemaVersion</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">1.0</span><span style="color:Black">&quot;</span> <span style="color:Red">Recipe</span><span style="color:Blue">=</span><span style="color:Black">&quot;</span><span style="color:Blue">CrearSlnModsUi</span><span style="color:Black">&quot;</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;</span><span style="color:#A31515">References</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">References</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">Template</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">WizardData</span><span style="color:Blue">&gt;</span> <span style="color:Blue">&lt;/</span><span style="color:#A31515">VSTemplate</span><span style="color:Blue">&gt;</span> </pre> </div>   </div> <div>This ends up showing in the New Project dialog as this: <a title="http://www.evolutio.com.ar/dev/gax-sln-template.png" href="http://www.evolutio.com.ar/dev/gax-sln-template.png">http://www.evolutio.com.ar/dev/gax-sln-template.png</a>. </div> <div>(for those who can't see the picture, it shows the name as something similar to &quot;Módulos Presentación&quot;, instead of &quot;Módulos Presentación&quot;, and the description text is mangled as well).</div> <div><br/></div> <div>I obviously know this is a problem with unicode de/encoding somewhere in the pipe, but have tried saving the xml/vstemplate files in UTF8, UTF16, UTF16 bigendian, charset 1251, and using the &amp;#0162 entity, unregistering and registering the package each time, with no luck whatsoever.</div> <div><br/></div> <div>What's the work-around? Is there any switch for specifying the package treatment of unicode strings? </div> <div><br/></div> <div>Can one use the &lt;Name Package=&quot;{guid}&quot; ID=&quot;id&quot; /&gt; format for GAX packages? where should then I define the resources?</div> <div><br/></div> <div><br/></div> </div> </div>Wed, 09 Sep 2009 07:42:04 Z2009-10-09T00:08:20Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/aaa00759-79a5-4274-84cb-e04d13428622http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/aaa00759-79a5-4274-84cb-e04d13428622Albin123http://social.msdn.microsoft.com/Profile/en-US/?user=Albin123Add guadiance automation to existing solution?Hi,<br/> I've created GA package which creates whole solution with some projects. Every project has bound some recipes on its context menu. Everything works fine. But I'd like to use my package with existing solution, not created from this package. Every solution has the same projects structure, and using project name i can specify which recipes should be bound to it.  Maybe someone has an idea how to achieve that functionality?<br/> I'm working on VS2008...<br/> thanks for help!<br/>Thu, 17 Sep 2009 09:25:36 Z2009-09-24T13:15:40Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/afd6ff37-bae4-40f9-9341-0b915e9c1826http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/afd6ff37-bae4-40f9-9341-0b915e9c1826Hiralhttp://social.msdn.microsoft.com/Profile/en-US/?user=HiralWhere is the offline content file saved for SCSF applicationHi,<br/><br/>I want to create an Smart Client application which has functionality to work offline.<br/>Where does the offline content gets stored on client machine when user works offline with application. Also what are the steps to implement the offline functionality?<br/><br/><br/>Regards,<br/>HiralTue, 01 Sep 2009 12:55:26 Z2009-09-24T06:12:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/ac558ea6-acaa-4460-be8e-431c933ceacehttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/ac558ea6-acaa-4460-be8e-431c933ceaceSteve Eadiehttp://social.msdn.microsoft.com/Profile/en-US/?user=Steve%20EadieAdding a solution to source control during CreateSolution RecipeHi,<br/><br/>I'm trying to add my full solution structure to source contro during Solution Creationl, however I'm running into one slight problem, because CreateSolution has not finished the .sln file is not in the folder structure on disk, so when I try to do my PendAdd using the root as my location I get a null reference error.<br/><br/>However if I point PendAdd to one of the solution folders which contain generated projects then they get added to TFS  (So I get a couple of Solution Folders added but no .sln file..... I know the easy solution is to click the Add to Source Control check box when the new project menu is first displayed but that is not what my client wants...... any ideas?<br/><br/>cheers<br/><br/>SteveMon, 14 Sep 2009 15:08:21 Z2009-09-14T15:08:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/8bd00ec2-30ee-4480-878b-85a9a37fbe49http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/8bd00ec2-30ee-4480-878b-85a9a37fbe49KevinH1979http://social.msdn.microsoft.com/Profile/en-US/?user=KevinH1979CreateProjectAction doesn't replace parameters regardless of ReplaceParameters value in vstemplateHi <br/><br/>I'm trying to use the CreateProjectAction to add a project to an existing solution. The action is working fine, in that the project and associated files are created.<br/><br/>However, parameters within the csproj file are not replaced. Let me give an example. In my recipe, I have an argument:<br/><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small;color:#000000">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">SnkFileName</span></span><span style="font-size:xx-small;color:#000000">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">ValueProvider</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Type</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small;color:#000000">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">AIC.GuidedAutomation.ValueProviders.SnkNameValueProvider, AICGuidancePackage</span></span><span style="font-size:xx-small;color:#000000">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">MonitorArgument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small;color:#000000">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">SnkFileNameToUse</span></span><span style="font-size:xx-small;color:#000000">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> /&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">ValueProvider</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;/</p> </font></font><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;</span></span></font></font></span><font size=1 color="#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p> </p> </font><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;</span></span></font></font></span></p> <font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Argument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;</span></span></p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span> <p> </p> <p><span style="font-size:xx-small;color:#0000ff"></span></p> which returns a path to the snk file to be used when signing a project. I have checked the recipe and the argument definitely has a value before the CreateProjectAction action is run. My CreateAction action looks like this:<br/><br/><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Action</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">CreateIISHostProject</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Type</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">Microsoft.Practices.RecipeFramework.Library.Actions.CreateProjectAction, Microsoft.Practices.RecipeFramework.Library</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Input</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">ProjectName</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">RecipeArgument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">IisHostName</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> /&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Input</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">Template</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">RecipeArgument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">IisHostTemplatePath</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> /&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Input</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">ProjectFolder</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">RecipeArgument</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">ProjectPath</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> /&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Output</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">Name</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">Project</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> /&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Action</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;</span></span><br/><br/>In the vstemplate file I indicate that ReplaceParameters property is set to true for parameters in my csproj file:</p> <p> </p> <span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">Project</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">TargetFileName</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">AICApplicationIISHost.csproj</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">File</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">AICApplicationIISHost.csproj</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"> </span></span><strong><span style="font-size:xx-small;color:#ff0000"><span style="font-size:xx-small;color:#ff0000">ReplaceParameters</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">=</span></span><span style="font-size:xx-small">&quot;</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">true</span></span><span style="font-size:xx-small">&quot;</span></strong><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;</span></span></p> <p>In the csproj file of the project to be added using CreateProjectAction, I have the following setting:</p> <span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">PropertyGroup</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<br/></span></span></p> <span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>...</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span> <p><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff"><br/>&lt;</span></span><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">AssemblyOriginatorKeyFile</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;</span></span><span style="font-size:xx-small">$SnkFileName$</span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&lt;/</span></span><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">AssemblyOriginatorKeyFile</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p>&lt;/</p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p><span style="font-size:xx-small;color:#a31515"><span style="font-size:xx-small;color:#a31515">PropertyGroup</span></span><span style="font-size:xx-small;color:#0000ff"><span style="font-size:xx-small;color:#0000ff">&gt;<font size=1 color="#0000ff"><font size=1 color="#0000ff"> <p> </p> </font></font></span><font size=1 color="#0000ff"> <p> </p> </font></span></p> <p>However, after the CreateProjectAction is executed the value <span style="font-size:xx-small">$SnkFileName$</span>  is <strong>not replaced</strong> with the value of the argument in the currently executing recipe.<br/><br/>Can anyone see what I'm doing wrong or has anyone else had a similar experience?<br/><br/>Thanks!<br/></p>Tue, 08 Sep 2009 10:31:48 Z2009-09-11T11:07:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3b28ea33-dbb9-458b-99ff-02355b28d4dbhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/3b28ea33-dbb9-458b-99ff-02355b28d4dbGanYohttp://social.msdn.microsoft.com/Profile/en-US/?user=GanYoVisual Studio doesnot show Designer because of a project referenced dll not loading correctly...Hi,<br/> <br/> I am facing a problem with Visual Studio not showing my form's designer. Here is the situation:<br/> <br/> I have one VS2005 Solution file, which has two C# projects in it (PRJ1 &amp; PRJ2). PRJ2 is my start-up project and outputs an EXE, PRJ1 is a class library that outputs a DLL.<br/> <br/> The PRJ1 is referenced in PRJ2 .. in list of &quot;References&quot;.. Basically as a Project Reference (Not as a File Reference).<br/> <br/> When i build my solution.. it builds PRJ1 and then it builds PRJ2 without any errors (Build is succeed with no errors and warnings..). Now, If I try to open a Windows Form, it doesnot open up.. instead it immediately throws a standard message that,.. the designer cannot be opened because of a dll loading problem... At the same time, it throws the following warnings in the &quot;Warnings&quot; window:<br/> <br/> Warning    1    System.IO.FileNotFoundException: Could not load file or assembly 'PRJ1' or one of its dependencies. The system cannot find the file specified.<br/> File name: 'PRJ1'<br/> [..... Some Stack calls here...]<br/> WRN: Assembly binding logging is turned OFF.<br/> To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.<br/> Note: There is some performance penalty associated with assembly bind failure logging.<br/> To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].<br/>         0    0    <br/> Warning    2    Exception has been thrown by the target of an invocation.        0    0<br/> <br/> <br/> I don't understand, why it is not able to load PRJ1.dll. The bad thing is when it is able to find the dll for building PRJ2.. why can't it load from the same location while opening the form designer..<br/> <br/> Can any body help me ?<br/> <br/> Regards,<br/> GanYoThu, 10 Sep 2009 10:13:53 Z2009-09-11T05:10:27Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/be379e6b-d1b7-4392-a6bf-51fb0a5e038ahttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/be379e6b-d1b7-4392-a6bf-51fb0a5e038apijush.duttahttp://social.msdn.microsoft.com/Profile/en-US/?user=pijush.duttaUnable to load type System.Collections.Generic.DictionaryWhen I am staring my VS-2005 it is throwing this error:<br/>System.Runtime.Serialization.SerializationException: Unable to load type System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Collections.Generic.List`1[[Microsoft.Practices.RecipeFramework.VisualStudio.ToolWindow.GuidanceNavigatorManager+RecipeExecutionHistory, Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.0.60429.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] required for deserialization.<br/>   at System.Runtime.Serialization.ObjectManager.DoFixups()<br/>   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)<br/>   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)<br/>   at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage.OnLoadOptions(String key, Stream stream)<br/><br/><br/>CaN ANYONE SUGGEST ME WHAT IS THE PROBLEM??<br/><br/>Thanks in advanceFri, 05 Jun 2009 04:24:51 Z2009-09-10T13:28:29Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/e76d72d9-ea0c-4cea-b998-fdf6b6bc70ffhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/e76d72d9-ea0c-4cea-b998-fdf6b6bc70ffWell0549http://social.msdn.microsoft.com/Profile/en-US/?user=Well0549Anybody has an idea how to specify a icon file for a recipe. (Please help)I have the icon file and pint to the file in the recipe. But unfortunately it doesn't work, i am obviously doing something wrong here.<br/>is ther anybody out there who knows this ?<br/><br/>Currently I have something like this :<br/><br/>  &lt;HostData&gt;<br/>    &lt;Icon File=&quot;Recipes\BestPractice.ico&quot;/&gt;<br/>    &lt;CommandBar Menu=&quot;BBPGProject&quot; /&gt;<br/>  &lt;/HostData&gt;<br/><br/>But it doesn't work<hr class="sig">Well0549Tue, 08 Sep 2009 19:40:37 Z2009-09-10T13:23:35Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/95f1a667-413d-43d9-a7a9-63c2f3123c3chttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/95f1a667-413d-43d9-a7a9-63c2f3123c3cChineduhttp://social.msdn.microsoft.com/Profile/en-US/?user=ChineduCreate a context menu Item in VS2008 that adds classes to the solutionHi,<br/><br/>I am new to the Guidance Automation Extension.  I want to add a menu item to the VS2008 menu which will allow developers automatically insert a view, a view Model, Interface .cs file for the view, interface .cs file for the viewmodle.<br/><br/>Should wire-up the implementations i.e, View implements its IView interface, viewModel implements its IViewModel interface, ViewModel contains an instance of the view etc.<br/><br/>These are boilerplate actions which I am trying to automate.<br/><br/>Please help with a a step - by - step instruction on how to go about this.   <br/><br/>I'd like to deploy it so developers can click a script or exe file and it sets up their dev environment and they can access the new functionality.<br/><br/>I have installed the GAX/GAT packages.  Do I need to create a Guidance package for this, if so how do I go about this and publishing only the feature descibed above, or is there a way to create a recipe or template that VS2008 just reads and provides the functionality.<br/><br/>Like I said, I am absolutely new to GAX/GAT<hr class="sig">Faith as small as a mustard seed, can move mountains - Jesus ChristThu, 13 Aug 2009 19:43:39 Z2009-09-10T13:22:49Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/23ad44ba-3b40-487c-bf27-84b12a479e5ehttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/23ad44ba-3b40-487c-bf27-84b12a479e5eVeer Patilhttp://social.msdn.microsoft.com/Profile/en-US/?user=Veer%20PatilSCSF April 2008 - WPF Model Window implementationI am using microsoft scsf april 2008 version in my application to develope the smart client application. I need to build the login view using WPF as pop-up, so user can enter in main application after successful authentication.<br/><br/>I am not able to view any controls inside my WPF view when it is opening as Model Popup.<br/><br/>Can any one help me on the same?<br/><br/>Fri, 21 Aug 2009 08:56:58 Z2009-09-10T13:20:36Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/9b5a114e-f176-49c1-8a7b-7325bb7dfe5ahttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/9b5a114e-f176-49c1-8a7b-7325bb7dfe5aVeer Patilhttp://social.msdn.microsoft.com/Profile/en-US/?user=Veer%20PatilSCSF April 2008 - Navigation issue in WPF view<p>I am using microsoft SCSF April 2008 Version in my application to develope the smart client application using WPF views. I have multiple WPF views in different modules, when i am trying to navigate using the navigation service of WPF i am unable to navigate vice-versa, it requires reference within the modules and it is creating the cyclic reference exception.<br/><br/>So how can i use a Navigation Service provided by WPF OR is there any work around to achieve?</p> <p>Can any one help me on the same?</p>Fri, 21 Aug 2009 09:05:29 Z2009-09-10T13:20:09Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/a1105cff-0af8-453a-b469-80c841edc782http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/a1105cff-0af8-453a-b469-80c841edc782Veer Patilhttp://social.msdn.microsoft.com/Profile/en-US/?user=Veer%20PatilSCSF April 2008 - WPF Resource Dictionary implementationHow can i add and change ResourceDictionary at runtime in WPF view if i am working with Microsoft SCSF april 2008 version?<br/><br/>Fri, 21 Aug 2009 08:51:36 Z2009-09-10T13:19:48Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/77b9db04-c383-467e-9b69-0f1c562f844ehttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/77b9db04-c383-467e-9b69-0f1c562f844eGrant Boweringhttp://social.msdn.microsoft.com/Profile/en-US/?user=Grant%20BoweringWhat determines whether project templates are or are not available in context?<p>I am trying to use project templates with GAT.  I can't seem to determine when a project template will or will not show in Add -&gt; New Project.<br/>I'm looking at the source code for Web Service Software Factory as an example.<br/>If you have no solution, and you hit New Project from the File menu, you can see WSSF's &quot;Model Project&quot;, which is in their Solutions folder in their GAT source code.  You can NOT see any of the projects from their Projects folder in their GAT source code, even though you're trying to add a project.  That strikes me as unexpected.<br/>If you create a &quot;Model Project&quot; solution, and then you hit Add -&gt; New Project from the solution context menu, you can see &quot;ASMX Implementation Projects&quot; and &quot;WCF Implementation Projects&quot;, which are the projects from their Projects folder in their GAT source code.  That's expected.  You can't see the &quot;Model Project&quot; solution, which is also expected.<br/>If you create a solution folder in the &quot;Model Project&quot; solution and hit Add -&gt; New Project from ITS context menu, you DON'T see either of those projects.  That's unexpected for sure.  Furthermore, you DO see the &quot;Model Project&quot; solution and can add it to the solution folder, and that's definitely unexpected for sure.<br/>If you create a solution any other way other than by using that &quot;Model Project&quot; solution, you can't see the two projects from Add -&gt; New Project, but you can see &quot;Model Project&quot; and add it to the solution.<br/>None of this makes any sense to me, and I'm wondering what controls this behavior.<br/><br/>I ask because I have a multi-project template that I want to be able to use both to create a new solution OR to add to an existing solution.  <br/>At this point I've actually got similar copies of the whole multi-project structure below both the Solutions and the Projects folders in my GAT.<br/>For me, when I register my GAT, if I have no solution or am creating a new solution, I see the multi-project template from the Solutions folder, as well as, surprisingly, the sub-templates below it in the Solutions folder.  I don't see anything from the Projects folder. If I create any of them, and try to add anything to the solution, I don't see anything from my Guidance Package at ALL.  Nor do I see it in any solution I create any other way.<br/><br/>Anyone have any guidance??</p>Wed, 12 Aug 2009 23:43:25 Z2009-09-10T13:18:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/a455f2b3-f2f4-44f0-aa78-4662e9451f1chttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/a455f2b3-f2f4-44f0-aa78-4662e9451f1cNico F.http://social.msdn.microsoft.com/Profile/en-US/?user=Nico%20F.T4 (*.tt) Turn off default autogen file Hi, <br/><br/>i wrote a tt-file that generates multiple cs files, that are added to my project. The name of the file is &quot;Mappings.tt&quot;. The names of the generates files are user.cs, customer.cs and so on. But by default there is a Mappings.cs generated from the tt-file. This is the auto generated one. Is there a way to turn this autogenerated file off?<br/><br/>Nic<hr class="sig">VB.NET &amp; C#.NETWed, 19 Aug 2009 19:22:43 Z2009-09-10T13:15:15Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/d33b77ff-efd2-4682-9816-fa83018b15fchttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/d33b77ff-efd2-4682-9816-fa83018b15fcAlejandro Ramoshttp://social.msdn.microsoft.com/Profile/en-US/?user=Alejandro%20RamosError installing Guidance Automation Extensions on VS2008 architecture editionHI, i'm traying to install <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E28205C6-BB07-401B-9A76-804784598BF0&amp;displaylang=en">Guidance Automation Extensions (February 2008) Release for Visual Studio 2008 and Visual Studio 2008 Service Pack 1 Update</a> on visual studio 2008 architeture edition SP1 - Framework 3.5 SP1 but i'm getting an error:<br/> <br/> &quot;Windows intaller can't install because do not find the program to update&quot;, or somthing like that<br/> Sorry my english, I've got spanish xpo version, but I think that is clear, isn't it?<br/> <br/> This is the error in spanish:<br/> <br/> &quot;El servicio de windows installer no puede instalar la revision por que no se encuentra el programa que se actualizara o bien la por que la revision de actualizacion es para otra version del programa&quot;<br/> <br/> Many thanks,<br/> Alejandro<br/>Tue, 01 Sep 2009 13:58:02 Z2009-09-10T13:02:44Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/7fe25bef-12d3-4fc6-9ba5-6a855bd63fb1http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/7fe25bef-12d3-4fc6-9ba5-6a855bd63fb1Well0549http://social.msdn.microsoft.com/Profile/en-US/?user=Well0549Flip Access Modifier of a BizTalk Orchestration (Please help)I am buiding a Software factory for bizTalk.<br/><br/>An orchestration has an Access Modifier, this can be None, Internal, Public.<br/><br/>Is there anybody out there that knows how to set this property while executing a Recipe with the GAT.<br/><br/>If you flip this bit the code-behind of a biztalk orchestration is generated again.<br/>I want to do this while executing a recipe....<br/><br/>Is there anybody who can help me with this ?<br/><hr class="sig">Well0549Mon, 07 Sep 2009 15:33:54 Z2009-09-10T13:21:16Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/fd3757f4-5140-421b-a8a9-76f542d61103http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/fd3757f4-5140-421b-a8a9-76f542d61103Leandro Tuttinihttp://social.msdn.microsoft.com/Profile/en-US/?user=Leandro%20TuttiniGuidance don´t unload the AppDomain<p align=left> </p> <p>Hello, I have a strange problem.</p> <p align=left> </p> <p align=left>I like obtein the AssemblyQualifiedName of one assembly.</p> <p align=left> </p> <p align=left>I am using the following code:</p> <p align=left> </p><font color="#0000ff"> <p>#region</font> Input Properties</p> <p>[<font color="#2b91af">Input</font>]</p> <p><font color="#0000ff">public</font> <font color="#0000ff">string</font> ClassName</p> <p>{</p> <p><font color="#0000ff">get</font> { <font color="#0000ff">return</font> className; }</p> <p><font color="#0000ff">set</font> { className = <font color="#0000ff">value</font>; }</p> <p>} <font color="#0000ff">string</font> className;</p><font color="#0000ff"> <p>#endregion</p> <p>#region</font> Output Properties</p> <p>[<font color="#2b91af">Output</font>]</p> <p><font color="#0000ff">public</font> <font color="#0000ff">string</font> AssemblyQualifiedName</p> <p>{</p> <p><font color="#0000ff">get</font> { <font color="#0000ff">return</font> assemblyQualifiedName; }</p> <p><font color="#0000ff">set</font> { assemblyQualifiedName = <font color="#0000ff">value</font>; }</p> <p>} <font color="#0000ff">string</font> assemblyQualifiedName;</p><font color="#0000ff"> <p>#endregion</p></font> <p> </p> <p align=left><font color="#0000ff"></font> </p> <p align=left><font color="#0000ff">public</font> <font color="#0000ff">override</font> <font color="#0000ff">void</font> Execute()</p> <p>{</p> <p><font color="#2b91af">AppDomain</font> domain = <font color="#0000ff">null</font>;</p> <p><font color="#2b91af">Type</font>[] types = <font color="#0000ff">null</font>;</p> <p><font color="#2b91af">Assembly</font> assembly = <font color="#0000ff">null</font>;</p> <p><font color="#0000ff">try</p></font> <p>{</p> <p><font color="#2b91af">DTE</font> vs = (<font color="#2b91af">DTE</font>)GetService(<font color="#0000ff">typeof</font>(<font color="#2b91af">DTE</font>));</p> <p><font color="#0000ff">object</font>[] activeProjects = (<font color="#0000ff">object</font>[])vs.ActiveSolutionProjects;</p> <p><font color="#0000ff">if</font> (activeProjects != <font color="#0000ff">null</font> &amp;&amp; activeProjects.Length &gt; 0)</p> <p>{</p> <p><font color="#2b91af">Project</font> item = activeProjects[0] <font color="#0000ff">as</font> <font color="#2b91af">Project</font>;</p> <p><font color="#0000ff">string</font> pathProject = <font color="#2b91af">Path</font>.GetDirectoryName(item.FileName);</p> <p><font color="#0000ff">string</font> outPut = item.ConfigurationManager.ActiveConfiguration.Properties.Item(<font color="#a31515">&quot;OutputPath&quot;</font>).Value.ToString() + item.Properties.Item(<font color="#a31515">&quot;AssemblyName&quot;</font>).Value.ToString() + <font color="#a31515">&quot;.dll&quot;</font>;</p> <p><font color="#008000">//</p></font> <p><font color="#008000">// Set the root assembly globally so it can be used by the &quot;reference resolver&quot; handler</p></font> <p><font color="#008000">// to check for its references and to load the assembly.</p></font> <p><font color="#008000">//</p></font> <p>rootAssemblyName = <font color="#2b91af">Path</font>.Combine(pathProject, outPut);</p> <p><font color="#008000">//</p></font> <p><font color="#008000">// Attach the &quot;reference resolver&quot; handler to the current domain.</p></font> <p><font color="#008000">// It will run when the GetTypes() method is called.</p></font> <p><font color="#008000">//</p></font> <p><font color="#2b91af">AppDomainSetup</font> ads = <font color="#0000ff">new</font> <font color="#2b91af">AppDomainSetup</font>();</p> <p>ads.ApplicationBase = <font color="#2b91af">Path</font>.Combine(<font color="#2b91af">AppDomain</font>.CurrentDomain.BaseDirectory, <font color="#2b91af">Path</font>.GetDirectoryName(rootAssemblyName));</p> <p>ads.PrivateBinPath = <font color="#2b91af">Path</font>.GetDirectoryName(rootAssemblyName);</p> <p>ads.ShadowCopyFiles = <font color="#a31515">&quot;false&quot;</font>;</p> <p>ads.ShadowCopyDirectories = <font color="#a31515">&quot;C:\\temp&quot;</font>;</p> <p align=left> </p> <p></p><font color="#008000"></font> <p>domain = <font color="#2b91af">AppDomain</font>.CreateDomain(<font color="#a31515">&quot;tempDomain&quot;</font> + <font color="#2b91af">DateTime</font>.Now.ToString(), <font color="#0000ff">null</font>, ads);</p> <p align=left> </p> <p></p> <p></p> <p><font color="#2b91af">AssemblyName</font> extName = <font color="#0000ff">new</font> <font color="#2b91af">AssemblyName</font>();</p> <p>extName.CodeBase = rootAssemblyName;</p> <p align=left> </p> <p></p><font color="#008000"></font> <p>assembly = domain.Load(extName);</p> <p align=left> </p> <p></p> <p>types = assembly.GetTypes();</p> <p align=left> </p> <p><font color="#0000ff">string</font> assemblyQualifiedName = <font color="#a31515">&quot;&quot;</font>;</p> <p><font color="#0000ff">foreach</font> (<font color="#2b91af">Type</font> t <font color="#0000ff">in</font> types)</p> <p>{</p> <p><font color="#0000ff">if</font> (t.Name == <font color="#0000ff">this</font>.ClassName)</p> <p>{</p> <p>assemblyQualifiedName = t.AssemblyQualifiedName;</p> <p><font color="#0000ff">break</font>;</p> <p>}</p> <p>}</p> <p><font color="#0000ff">this</font>.AssemblyQualifiedName = assemblyQualifiedName;</p> <p>}</p> <p align=left> </p> <p>}</p> <p><font color="#0000ff">catch</p></font> <p>{</p> <p><font color="#0000ff">throw</font>;</p> <p>}</p> <p><font color="#0000ff">finally</p></font> <p>{</p> <p>assembly = <font color="#0000ff">null</font>;</p> <p>types = <font color="#0000ff">null</font>;</p> <p><font color="#2b91af">AppDomain</font>.Unload(domain);</p> <p>domain = <font color="#0000ff">null</font>;</p> <p>}</p> <p>}</p> <p> </p> <p> </p> <p>The problem is that the AppDomain don´t unload. Although the <font color="#2b91af">AppDomain</font>.Unload(domain); is execute. And I use diferent AppDomain name in each run of recipe.</p> <p align=left> </p> <p align=left>The first run it work perfect. The problem is in the second run, it load the same assembly, although, it change. And not update.</p> <p align=left> </p> <p align=left>The path generate in the variable &quot;rootAssemblyName&quot; is for example, &quot;C:\Temp\Projects\Guidance Prueba\ClassLibrary1\bin\Debug\ClassLibrary1.dll&quot;.</p> <p align=left> </p> <p align=left>But I see that in the variable assembly, the property &quot;Location&quot; is &quot;C:\Documents and Settings\leandrot\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ProjectAssemblies\d8csgwmc01\ClassLibrary1.dll&quot; </p> <p align=left> </p> <p align=left>The AppDomain copy the assembly loaded to previous path, load in rootAssemblyName .</p> <p align=left> </p> <p align=left>In the second use the action load the same assembly in the path &quot;C:\Documents and Settings\leandrot\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ProjectAssemblies\d8csgwmc01\ClassLibrary1.dll&quot; when should update the assembly, with the new change, from the path &quot;C:\Documents and Settings\leandrot\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ProjectAssemblies\d8csgwmc01\ClassLibrary1.dll&quot;.</p> <p align=left> </p> <p align=left>But this is not realized.</p> <p align=left> </p> <p align=left>How can destroyed the AppDomain?, or update the assembly load in different call.</p> <p align=left> </p> <p align=left>If I close the application and load the Visual Studio, it work perfect anew.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left> </p> <p align=left> </p>Tue, 02 Oct 2007 21:39:41 Z2009-09-08T11:48:21Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/c4c64b01-f2d1-4347-bd70-5a5391af533dhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/c4c64b01-f2d1-4347-bd70-5a5391af533dOzangeshttp://social.msdn.microsoft.com/Profile/en-US/?user=OzangesHow to import current project reference in T4 template<p>Hi,</p> <p>In my t4 template i try to reference his projet.</p> <p>If i try like this :</p> <pre class=coloredcode>&lt;#@ assembly name=<span class=st>&quot;C:\Documents and Settings\user.xx\Mes documents\Visual Studio 2008\Projects\SilverlightTutorials\ProjectNameX\Bin\Debug\ProjectNameX.dll&quot;</span> #&gt;<br/> &lt;#@ import namespace=<span class=st>&quot;ProjectNameX.MyClass&quot;</span> #&gt;</pre> <p> After the first T4 generation, i can't build my project : dll can't be replaced, the T4 template use it.</p> <p> Is there anyway to do this unless copy my dll in another folder and reference it ?</p> <p> My goal is to do a &quot;typeof(MyClass).GetEvents()&quot; instruction in my T4 template where &quot;MyClass&quot; is a part of a service reference generated by VS 2008.</p>  thanksTue, 18 Aug 2009 08:51:01 Z2009-08-18T16:44:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/7c847805-89fc-4339-ac1b-77c4714a5ecahttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/7c847805-89fc-4339-ac1b-77c4714a5ecaikeepsmilehttp://social.msdn.microsoft.com/Profile/en-US/?user=ikeepsmileRecipe Framework Error when created SCSF project<p align=left>I installed SCSF may 2007 release. when I want to create a new Smart Client Application (C#) in Guidance Packages, I encounted the Recipe Framework Error which says:</p> <p align=left>An exception occurred during the binding of reference or excution of recipe BindingRecipe. Error was: Action FoundationalModuleRefVB failed to excute: Cannot find registration information for template &quot;D:\Microsoft\Smart client Factory\Guidance Package\Templates\Projects\Module.VB\ModuleHandle.vstemplate&quot;. Package templates may not be properly registered. Run package installation again and verify template name and location.</p> <p align=left>I tried to reinstalled the SCSF again, but not help.</p> <p align=left>My visual studio is 2005 and I only install C#, is that the problem?</p>Fri, 05 Oct 2007 05:02:09 Z2009-08-16T08:49:32Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/b1dda66d-6207-49b2-90c7-76bb02578d30http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/b1dda66d-6207-49b2-90c7-76bb02578d30guessmeehttp://social.msdn.microsoft.com/Profile/en-US/?user=guessmeeabout gudance automation toolkiti want install guidance automation extention  now i m going to install guidance autoation toolkit for scsf but it give me error that gudance automation extension support for visual studio 2008 or visual studio 2008 is not installed . click ok to exit<br/><br/>but i arleady have visual studio 2008<br/>so wht should i do<br/>Fri, 07 Aug 2009 17:58:05 Z2009-08-12T12:14:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/8671bdff-9b16-4b49-ba9e-227cc4df31b2http://social.msdn.microsoft.com/Forums/en-US/vsgatk/thread/8671bdff-9b16-4b49-ba9e-227cc4df31b2radenbhttp://social.msdn.microsoft.com/Profile/en-US/?user=radenbCompile Error CS0579: Duplicate 'AssemblyVersion' attribute<p align=left>I have created a new GAT project. Removed all the existing projects which are shown by default in the Project.</p> <p align=left>I am adding a new project under Templates/Solutions/Projects/MyClassProject</p> <p align=left> </p> <p align=left>This folder has a file Properties/AssemblyInfo.cs. When am compiling my solution I ma getting the following compile errors</p> <p align=left> </p> <p align=left>Can someone help me understand why is this compiler errors seen? This AssemblyInfo.cs if my GAT project's file and it seems to be clashing with Templates/Solutions/Projects/MyClassProject/Properties/AssemblyInfo.cs file.</p> <p align=left> </p><font size=1> <p>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(31,12): error CS0579: Duplicate 'AssemblyVersion' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(20,12): error CS0579: Duplicate 'ComVisible' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(15,12): error CS0579: Duplicate 'AssemblyCulture' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(14,12): error CS0579: Duplicate 'AssemblyTrademark' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(13,12): error CS0579: Duplicate 'AssemblyCopyright' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(12,12): error CS0579: Duplicate 'AssemblyProduct' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(11,12): error CS0579: Duplicate 'AssemblyCompany' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(10,12): error CS0579: Duplicate 'AssemblyConfiguration' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(9,12): error CS0579: Duplicate 'AssemblyDescription' attribute<br>C:\TempForDelete\Rnd\Test_GuidancePackage\MyApplicationPackage\MyApplicationPackage\Properties\AssemblyInfo.cs(8,12): error CS0579: Duplicate 'AssemblyTitle' attribute</p> <p></p></font>Sun, 02 Mar 2008 09:50:46 Z2009-08-07T20:08:08Z