Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Error in running setup
 

Error in running setup

Hello everybody

I have problem regarding myproject setup.

I successfully create templates through Software factory toolkit.

Now it runs sucessfully in my own machine.

But when Iruns the wix setup to another machineThe setup runs successfully.

then,Visual studio200s->File->New->project->GuidancePackages->TEST

It start executing but at the time to execute action it gives error

******************************************************************************************

System.TypeLoadException: Could not load type 'TEST.Actions.CreateDirectory' from assembly 'TEST, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError)
at Microsoft.Practices.RecipeFramework.Recipe.GetInstance[T](ITypeResolutionService resolution, String concreteType)
at Microsoft.Practices.RecipeFramework.Recipe.LoadActionsFromConfiguration(ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
at Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.GuidancePackage.ExecuteFromTemplate(String recipe, IDictionary arguments)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunFinished()

*******************************************************************************************

At my Createsolution.xml file I call action

<Actions>
<Action Type="TEST.Actions.CreateDirectory,TEST" Name="CreateDir">
</Action>

Please Guide me

Thanks

Monesh  Thursday, June 21, 2007 10:31 AM
Is your assembly named 'TEST' being copied to the runtime folder of your package after installation? Is this assembly the main assembly of your package or a library referenced by it?
vga  Thursday, June 21, 2007 2:49 PM
Is your assembly named 'TEST' being copied to the runtime folder of your package after installation? Is this assembly the main assembly of your package or a library referenced by it?
vga  Thursday, June 21, 2007 2:49 PM

You can use google to search for other answers

Custom Search

More Threads

• GAX 1.4 won't install
• Unable to install GAX/GAT
• How to create a database project with template?
• Problems with Adding WCF Guidance Package
• How to create a folder structure before template unfolding?
• Passing argument between wizards (with custom TypeConverters)
• Introduction to GAT
• GAT installation cannot find the GAX
• How to generate code for a method in an existing class using T4 Template
• Unfoldtemplate getting information out of the RunStarted methode "replacementsDictionary"