Wednesday, February 06, 2008

Visual Studio Addin and Templates for WSPBuilder

WSPBuilder Extensions ver. 1.0.0 (RC)

Now the first version of WSPBuilder Extensions is ready. It has been a long road up the hill and a lot of hours spend at home after my day work to get this first version done.

I want to specially thank Tom Clarkson for doing the Visual Studio Templates, he has done an awesome work on creating the templates and I would never have been able to finish it without him.

It has also been great that the community contributes to the WSPBuilder project with error reports and suggestions for new features.

The WSPBuilder Extensions ver. 1.0.0 (RC) supports Visual Studio ver. 2005 and 2008 and comes in a nice MSI install package.

The WSPBuilder.exe contains a lot of functionality that I simply did not have time to implement into Visual Studio. Also WSPBuilder.exe does not read the Visual Studio project file but still relies on the project folder to build the WSP file. Therefore you may not see the file in Visual Studio because it’s excluded from the project file, but it still gets build into the WSP file.

After install start your Visual Studio, and create a new project.



Now create a new SharePoint Feature.



Finally build the project and deploy it.



Try it out and tell me what you think.

Take care.

/keutmann

32 comments:

bamba said...

I can't see the context menu WSPBuild in my Visual Studio 2008 on Windows 2003 czech.

Carsten Keutmann said...

Its possible that the current version 1.0.0 only supports english versions of Visual Studio. However I'll try to and support for other languages.

Anders Kjellerup Jacobsen said...

Fantastic news!

Anonymous said...

Nice Job Carsten!!

Brian Kenneth Nielsen said...

Hey Carsten

Great to see you still MOSS'ing around. I will download it and try it. As you know.. We use your WSP Builder in great deal. So doo many :-)

Hope your doing fine.

/Brian Kenneth Nielsen

Unknown said...

This is a great tool and major time saver. Several quick questions since I can't fine any documents on how to use this.

After I choose WSP Build Project, in VS2005, SharePoint reference does not show up under References, what could be wrong?

If I have a feature in the project, after I deploy the solution, I need to install the feature manually. Could you confirm?

Thanks,

Tony

bamba said...

Mange tak :)

bamba said...

Mange tak :)

Anonymous said...

Hi Carsten,

We have created so many solutions with your product that I was curious to see if there was a newer version. And much too my surprise there was...... an vs extension!! Wauw!!

Generally it works the same as before but now we can simply put it under source control.

The draw back is lack of documentation which makes it hard to work with it. Yes I know we're *!&#*@...but if we don't know what is possible we might only use 10% of your product which is a shame!

Thanks a million for this product!

Anonymous said...

Many thanks for a great tool!

I know its a big ask, but could you post an example, or guidelines, for using wspBuilder accross projects (each with their own features in a 12 hive structure) for a single solution?

I don't think a solution per project would be practical for us, and manually creating a single manifest/ddf would be a big task that I think wspBuilder can help with.

Here's hoping! MOSSuMikeS

Susantha said...

How i can deploy my Test web page into sharepoint?
I heard through this WSPBuilder, no need to worry about element.xml, feature.xml..??

If it is, then how i can add my .aspx page to this WSPBuilder project?

Thanks,
Susantha

Anonymous said...

Hello thanks a lot for your work !
I just want to add my 2 cents:

in the FieldEditor template, the code of the OnSaveMethod should be listed like:

public void OnSaveChange(SPField field, bool bNewField)
{
CustomFieldType1 lookup = (CustomFieldType1) field;

lookup.IsNew = bNewField;

lookup.MyCustomProperty = this.DdlLookupFieldTargetList.SelectedValue;
}

Anonymous said...

Very useful tools. Use it daily. Thanks mate!!

Mark, Canberra

Sven De Bont said...

Very handy tool.

I've noticed that when you choose the 'create wsp' option, the entire solution gets rebuild. It would be nice to have an option to only build the WSP without building the entire solution when there is no need for it. (in my case, it takes about 10 minutes to build the solution)

Anonymous said...

Hi,

thank you very much for this great tool.

Nonetheless I have a little feature request for the command line version of wspbuilder: The possibility to submit the path to the WSPBuilder.exe.config file via command line parameter would ease managing different configurations for different projects.

Anonymous said...

Im using English WS2008 on German Vista x64 and I can not see the context menu either :(

Anonymous said...

i cannot see the context menu - sniff -
i have installed on an german w2k3
with an english vs2008

Anonymous said...

On Win 2008 + Visual Studio 2008 (all english), it crash Visual Studio as soon as it's launched.

Too bad, it looked good :)

Anonymous said...

You're my hero man - this tool totally kicks butt. I gave you some nice props on my blog: http://blogs.sharepointguys.com/matt/sharepoint-2007-development/when-deploying-code-please-use-solution-packages-for-both-our-sakes/

Rod said...

Hi Carsten

You stuff looks pretty good for fast development. I will try it on Monday. By the way do you have any documentation for it. if yes please do send it to at Rodolfo.Soares@eon-is.co.uk

I look forward to hearing from you

Regards

Rodolfo Soares

Rod said...

Hi Carsten

It looks good stuff what you have done. I will try it on monday. by the way do you have any documentation for it. If yes please do drop me an email at Rodolfo.Soares@eon-is.co.uk

I look forward to hearing from you

Many thanks

Regards

Rodolfo

Anonymous said...

I just tried your app for the first time. I did have a bit of understanding issues on how to run it. Once I got it (playing around with it and reading this site compared to codeplex), it works like a charm. Fantastic work. Made my life easier when deploying to a production server at a client site. You may want to provide better instructions on codeplex for newbs (like me). Keep up the good work.

Anonymous said...

Can you tell us how to add css and javascript files, which are used by webparts, into the project ?
Thanks.

Unknown said...

Amazing tool - boosts webpart development!

Thanx a lot!

Anonymous said...

Carsten - is the manifest file saved anywhere when WSPBuilder does a "WSP Build" or "Create Deployment Folder"? I'd like to verify what is being generated. Also, how can I inject something into the manifest file for WSPBuilder to pull in?

Thanks!

Tom Lipscomb said...

After creating the WSPBuild project, the project does not contain the files under the 12 folder.

Anonymous said...

Amazing, It Really Works!
Thank You Dear Carsten Keutmann!
With Respect, Igor
(i'll write more later)

Anonymous said...

When I try to create a new project, based on one of the templates, I receive the error message "... The Project Type is not supported by this installation"

Any ideas?

cris said...

Hi Carsten,
my system has VS2005 and Sharepoint Designer. I installed the WSPBuilder, but, I do not get in the VS2005 any templates related to the them. I saw that stuff installed 'C:\Program Files\WSPTools\WSPBuilderExtensions\' . I do not see how to make them to appears in the "new project". DO am I doing something wrong?

Regards,
Cristina

Steve Hayes said...

This is a superb tool! Well done!

I only have one issue. It seems everytime I deploy my .wsp to sharepoint on my local machine, it kills it and gives me a 503 Error. I then have to go into IIS and stop and start the app pool 80 again.

Any idea why?

Anonymous said...

But how do I add an aspx page to my WSPBuilder project? It´s not in the New item selection set..

Mansoor said...

Hi ,

I was develped a sharepoint feature using wsp builder,when i deploy the feature its given below error:

"Inner exception(1): The language-neutral solution package was not found. "

In my code am using arabic feilds names,may be thats way its given error. how to resolve this?

help me out..!