Visual Studio Development Bookmark and Share   
 index > Visual Studio Guidance Automation Toolkit > Error while using Guidance package in Ent Lib 3.0 for Strong Naming DLLs
 

Error while using Guidance package in Ent Lib 3.0 for Strong Naming DLLs

Hi,

I made somecustomization to enterprise lib 3.0 and trying to strong name the dll is the Strong name guidance package provided with it. But I am getting the following error

(*) Error: 0 : Microsoft.Practices.RecipeFramework.ActionExecutionException: An exception occurred during the binding of reference or execution of recipe StrongNameSolution. Error was: Action StrongNameProjects failed to execute:

Attempted to read or write protected memory. This is often an indication that other memory is corrupt..

You can remove the reference to this recipe through the Guidance Package Manager. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

at EnvDTE80.Find2.Execute()

at Microsoft.Practices.EnterpriseLibrary.StrongNamingGuidancePackage.Actions.StrongNameProjectsAction.AddPublicKeyToInternalsVisible(List`1 projectList, String publicKey) in C:\EntLib3Src\Strong Naming Guidance Package\StrongNamingGuidancePackage\Actions\StrongNameProjects.cs:line 243

at Microsoft.Practices.EnterpriseLibrary.StrongNamingGuidancePackage.Actions.StrongNameProjectsAction.Execute() in C:\EntLib3Src\Strong Naming Guidance Package\StrongNamingGuidancePackage\Actions\StrongNameProjects.cs:line 82

at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName, Dictionary`2 inputValues)

at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionExecutionService.Execute(String actionName)

at Microsoft.Practices.RecipeFramework.Recipe.Microsoft.Practices.RecipeFramework.Services.IActionCoordinationService.Run(Dictionary`2 declaredActions, XmlElement coordinationData)

at Microsoft.Practices.RecipeFramework.Recipe.ExecuteActions(IDictionaryService readOnlyArguments, IDictionaryService arguments, ITypeResolutionService resolution)

--- End of inner exception stack trace ---

at Microsoft.Practices.RecipeFramework.Recipe.UndoExecutedActionsAndRethrow(Exception ex)

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.Execute(IAssetReference reference)

at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute()

at Microsoft.Practices.RecipeFramework.AssetReference.Execute()

at Microsoft.Practices.RecipeFramework.PackageManagement.PackageManager.OnExecuteRecipe(Object sender, EventArgs e)

When I also try to strong name all the projects solutions using the strong key and if I check the internalsVisisbleTo checkbox, I am getting this error.

"Action StrongNameProjects failed to Execute: Attempted to Read or Write Protected Memory.

Any help would be really appreciated.

Thanks,

Banu

sbprasad  Friday, July 20, 2007 9:34 PM
Hi,

As this is an EntLib-related question can you please try posting this question to the EntLib forums @ CodePlex, that's where you would get support from the EntLib team.

thanks,
-Victor.
vga  Sunday, July 22, 2007 6:07 PM
Hi,

As this is an EntLib-related question can you please try posting this question to the EntLib forums @ CodePlex, that's where you would get support from the EntLib team.

thanks,
-Victor.
vga  Sunday, July 22, 2007 6:07 PM

You can use google to search for other answers

Custom Search

More Threads

• Problem with GAT not loading templates properly
• make wizard check in file after automated edit
• Create New Project Issue
• GAX and GAT on VS2008 RTM?
• The file cannot be opened with the selected editor
• Running recipe from another package?
• How to get RecipeArgument Value
• Can't see item templates for WebApplication projects
• GAT fails to install, claims GAX is missing
• Installation: Error 1001