Hi, i have define my own action like this:
namespace
TacticsConferenceSite.Actions
{
[
ServiceDependency(typeof(DTE))]
public class AddItemBooleanConditionAction : Action
{
......code
}
In my xml file i have defined the action like this>
<
Action Name="AgregarClaseSecreta" Type="TacticsConferenceSite.Actions.AddItemBooleanCondition, TacticsConferenceSite">
<
Input Name="Content" ActionOutput="GenerarClaseSecreta.Content" />
<
Input Name="TargetFileName" RecipeArgument="NombreClaseSecreta" />
<
Input Name="Project" ActionOutput="GetRuntimeProjectCommon.Project" />
<
Input Name="Condicion" RecipeArgument="CheckBoxEspecial"></Input>
</
Action>
When i go to new project an create a project of this type, i get the following exception:
System.TypeLoadException: No se puede cargar el tipo 'TacticsConferenceSite.Actions.AddItemBooleanCondition' del ensamblado'TacticsConferenceSite, Version=1.0.2805.2879, Culture=neutral, PublicKeyToken=null'.
en System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase)
en Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
en Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
en Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError)
en Microsoft.Practices.RecipeFramework.Recipe.GetInstance[T](ITypeResolutionService resolution, String concreteType)
en Microsoft.Practices.RecipeFramework.Recipe.LoadActionsFromConfiguration(ITypeResolutionService resolution)
en Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)
en Microsoft.Practices.RecipeFramework.Recipe.Execute(Boolean allowSuspend)
en Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments)
en Microsoft.Practices.RecipeFramework.GuidancePackage.ExecuteFromTemplate(String recipe, IDictionary arguments)
en Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.ExecuteRecipe(Boolean executeActions)
en Microsoft.Practices.RecipeFramework.VisualStudio.Templates.UnfoldTemplate.RunFinished()
What am i doing wrong?
Please Help
Thanks,
Martin