I still haven't figure out how to package a functional "Hello world" VB.net web part into a WSP file. I did the Helloworld thing with a WSPBuilder c# project, built and deploy. The web part works flawlessly. :-)
Then I recreated the same folder structure in a VB.net peoject. at the root of the project I run the following lines.
@SET SWPBUILDER="C:\Program Files\WSPTools\WSPBuilderExtensions\WSPBuilder.exe"
%SWPBUILDER% -Projectpath D:\ISF\Interfaces\ISF.Presentation\01.01\ -Outputpath D:\ISF\WSPBuilds\
I end up with a wsp which contains files as the example wsp.
Then I run this. When I try to add the web part in my pages, I'm always stuck with a Cannot Import Web part message.
@SET STSADM="c:\program files\common files\microsoft shared\web server extensions\12\bin\stsadm.exe"
%STSADM% -o deletesolution -name ISF.wsp -override
%STSADM% -o addsolution -filename .\WSPBuilds\ISF.wsp
%STSADM% -o deploysolution -name ISF.wsp -immediate -url
http://mysite:80 -allowGacDeployment -allowCasPolicies -force
Thanks for any help