Question


I'm trying to use SPVisualDev to build and deploy my SharePoint feature.
It builds the WSP but it won't deploy it, failing with the following message:

Failed to deploy solution 'MyProject.wsp'. Could not load file or assembly 'Microsoft.SharePoint.intl.resources, Version=12.0.0.0, Culture=en-US, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.

It's true that there is no such assembly in GAC. I guess it has to be some satellite assembly but I just don't have it and I've no idea how to work around the issue.

This is the stack trace, as SPVisualDev provides it:

System.Exception at SPVisualDev.VSAddin.Connect.DeployWSP(IMainService mainService, String WSP_FilePath, Boolean GAC, String[] WebApplicationURLs) at SPVisualDev.VSAddin.Connect.ExecuteWSPBuildAndDeploy(Boolean deploy) at SPVisualDev.VSAddin.Connect.Exec(String commandName, vsCommandExecOption executeOption, Object& varIn, Object& varOut, Boolean& handled)

Was it helpful?

Solution

Okay, I didn't manage to do that so I ended up writing my own bat file to do the deployment.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top