Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We are trying to automate the solution deployment to a test environment. We are using vsewss 1.3.

To do this we are trying to run the following command from the visual studio command prompt:

devenv xxx.sln /deploy Release /package 

When we do this we get the following error:

specified method is not supported 

And a message that the deployment has been skipped.

Anyone have an idea what the problem could be, or how to fix it.

EDIT

I have tried a few things:

  • Gave "Everyone" group modify access to the area where the solution files are
  • Checked out solution and projects files so they are not readonly
  • Closed VS to avoid read/write locks
  • Have managed to get a more detailed error message:

    System.NotImplementedException: The method or operation is not implemented. 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) at Microsoft.SharePoint.Tools.SharePointSolutions.SourceFeatureElementDirector.GetClassMap(Project project) at Microsoft.SharePoint.Tools.SharePointSolutions.SourceFeatureElementDirector.Constract() at Microsoft.SharePoint.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() at Microsoft.SharePoint.Tools.SharePointSolutions.SolutionCreator.CreateCore(ISPProject project, IDirectorCreator creator) at Microsoft.SharePoint.Tools.SharePointSolutions.SolutionCreator.Create(ISPProject project) at Microsoft.SharePoint.Tools.Forms.SPToolWindow.CreateSolutions()

share|improve this question
    
Maybe you should post a link to some reference where it states that the command you are trying to run is supposed to work. –  Jaap Vossers Dec 17 '09 at 17:09
    
This is something that comes with VseWss 1.3 isn't it? –  Jaap Vossers Dec 17 '09 at 17:19
    
@Japp, you are right we are using VseWss 1.3, I have updated the question –  Shiraz Bhaiji Dec 18 '09 at 6:50
1  
Interesting, the more detaild message you posted as part of your most recent edit is the same as in sharepointoverflow.com/questions/966/… –  Jaap Vossers Jan 4 '10 at 19:01
add comment

3 Answers

up vote 1 down vote accepted

We have found that we do not get this problem when we create a new project.

These projects were originally created with an earlier version of VseWss. There appears to be something in the project files that ties it to a specific version of VseWss.

share|improve this answer
add comment

Do you have User Access Control (UAC) turned on?

Try turning it off.

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

share|improve this answer
    
This answer seems a bit unrelated to the question. –  Jaap Vossers Dec 17 '09 at 17:12
    
@Chris, Thanks, I also found this article. Do you know what UAC they are refering to? I could not find where they meant that UAC should be changed. –  Shiraz Bhaiji Jan 4 '10 at 13:49
add comment

Does the path to your .sln file have any spaces in it by any chance? If so, ensure you have it wrapped in quotes like

"c:\my folder with paces\solution.wsp"

share|improve this answer
    
@Jaap, Thanks for your answer. Unfortunatly it did not help. I did not have any spaces, but I did try giving the full path that I was not doing previously. –  Shiraz Bhaiji Jan 4 '10 at 13:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.