質問

ソリューションの展開をテスト環境に自動化しようとしています。 VSEWSS 1.3を使用しています。

これを行うには、Visual Studioコマンドプロンプトから次のコマンドを実行しようとしています。

devenv xxx.sln /deploy Release /package 

これを行うと、次のエラーが表示されます。

specified method is not supported 

展開がスキップされたというメッセージ。

誰もが問題が何であるか、またはそれを修正する方法を考えています。

編集

私はいくつかのことを試しました:

  • ソリューションファイルがあるエリアへのアクセスを変更する「Everyone」グループに与えられました
  • ソリューションとプロジェクトファイルをチェックアウトして、読み取らないように
  • 読み取り/書き込みロックを避けるための閉じたvs
  • より詳細なエラーメッセージを取得できました:

    System.NotimplementedException:メソッドまたは操作は実装されていません。 at EnvDTE.Project.get_CodeModel() at Microsoft.SharePoint.Tools.Reflection.TypeFinder.GetTypesAsCodeElement(Project project, CodeElement parent, String targetTypeFullName) at Microsoft.SharePoint.Tools.Reflection.TypeFinder.Find(Project project, String targetTypeFullName) at Microsoft.SharePoint.Tools.SharePointSolutions.SourceFeatureElementDirector.FindClasses(Project Project)のMicrosoft.SharePoint.SharePointSolutions.SourceFeatureElementDirector.getClassMap Tools.SharePointSolutions.SourceFeatureDirector.GetFeatureElement(ICollection`1 directors) at Microsoft.SharePoint.Tools.SharePointSolutions.SourceFeatureDirector.Constract() at Microsoft.SharePoint.Tools.SharePointSolutions.SourceSolutionDirector.ConstractElements() at Microsoft.SharePoint.Tools.SharePointSolutions. sourceSolutionDirector.constract()でMicrosoft.SharePoint.Tools.SharePointSol utions.solutioncreator.createcore(Ispproject Project、Idirectorcreator Creator)のMicrosoft.SharePoint.SharePointSolutions.SolutionCreator.Create(ISPProject Project)のMicrosoft.SharePoint.Tools.FptoolWindow.CreatESOLUTIONS()

役に立ちましたか?

解決

新しいプロジェクトを作成する際に、この問題が発生しないことがわかりました。

これらのプロジェクトは、もともと以前のバージョンのVSEWSSで作成されました。プロジェクトファイルには、VSEWSSの特定のバージョンに結び付けるものがあるようです。

他のヒント

ユーザーアクセスコントロール(UAC)がオンになっていますか?

オフにしてみてください。

http://social.technet.microsoft.com/forums/en/sharepointadmin/thread/cb82e26d-a2fb-48e8-a722-2a4bb41e6c8b

.slnファイルへのパスには、たまたまスペースが含まれていますか?もしそうなら、あなたがそれがのような引用に包まれていることを確認してください

「C:私のフォルダーがペース付き solution.wsp」

ライセンス: CC-BY-SA帰属
所属していません sharepoint.stackexchange
scroll top