문제


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)

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top