Quantcast
Channel: WSPBuilder (SharePoint WSP tool)
Viewing all 38 articles
Browse latest View live

New Post: Clean, Build, Build WSP and Deploy Macro!

$
0
0
I couldn't find this anywhere, it is useful to me and thought someone else might like it. Not that you couldn't create it yourself, anyway. VS 2010 SP2007

Option Strict Off
Option Explicit Off
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports EnvDTE90a
Imports EnvDTE100
Imports System.Diagnostics

Public Module RecordingModule
Sub WSP()
    DTE.Solution.SolutionBuild.Clean(True)
    DTE.Solution.SolutionBuild.Build(True)
    DTE.ExecuteCommand("WSPTools.VisualStudio.VSAddIn.Connect.BUILDPROJECTWSP")
    Threading.Thread.Sleep(5000)
    DTE.ExecuteCommand("WSPTools.VisualStudio.VSAddIn.Connect.DEPLOYWSP")
End Sub
End Module

New Post: WSPBuilder does not include my assembly in the WSP

$
0
0
thanks robin_meure. It worked perfectly for me.

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

New Post: WSPBuilder for Visual Studio 2012

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

$
0
0

I already know how to do it...and the solution in your post only covers part of the issue. WSPBuilder does not support .net 4 framework, which is the main issue because you need .net 4 framework for SharePoint 2013.

From: Matt_Bezanson [email removed]
Sent: Friday, March 15, 2013 5:45 PM
To: willzworld2@msn.com
Subject: Re: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013 [wspbuilder:404783]

From: Matt_Bezanson

Here is a post that talks about how to do this:

http://gblsharepoint.blogspot.com/2013/01/using-wspbuilder-with-visual-studio-2012.html

Note the path in Win 2008 R2 is: C:\ProgramData\Microsoft\MSEnvShared\Addins

Commented Issue: Error: Microsoft SharePoint Services Administration is not running [11340]

$
0
0
I'm developing a simple web part in Visual Basic. My dev machine, MAXSVR01 (With Visual Studio.NET 2008 installed) is running Windows Server 2003 with MOSS 2007. I've installed WSPBuilder, and have successfully used the Tools | WSPBuilder | Build WSP command. However, when I attempt to use the Deploy command, I receive the following error in output:
 
Upgrading the solution!
WSPBuilder
Version: 0.9.8.0830
Created by Carsten Keutmann
GPL License 2007
Microsoft SharePoint Services Administration is not running on MAXSVR01
Preflight requirements failed.
 
Please advise; any help would be greatly appreciated.
Comments: ** Comment from web user: rexlallatajr **

Or in the case of Sharepoint 2010, it's in Start > Control Panel > Administration Tools > Services, then locate Sharepoint 2010 Administration service and click Start the Service.

New Post: how to add custom cas policy file to my manifest.xml ?

$
0
0
I am using sharepoint 2007 and visual studio 2008. I have created a sharepoint solution with some custom sharepoint stuff. After this I installed wsp builder to create a wsp file. Now I would like to generate a wsp file with cas policies. I have changed the build output path to "80\bin". So this wsp cannot installed to the gac.

I have found this 2 tutorials where they are explaining how you can generate a wsp file with a custom cas file.

http://blog.bugrapostaci.com/tag/wspbuilder/
http://www.novolocus.com/2009/08/13/wspbuilder-and-cas-policies/

I tried to start the command prompt and go to the location where my wsp file is generated by the wspbuilder in the gui of my visual studio. But it gives me an error:

'wspbuilder.exe' is not recognized as an internal or external command,
operable program or batch file.

From which location I do need to start this commando? The WSPBuilder.exe is not available in my solution path "D:\projects\SourceCode\CompanyName\ProductName\CompanyName.SharePoint.ProductName"

This is the commando
WSPBuilder.exe -WSPName CreateNewDocumentWebPart.wsp -CustomCAS CasPolicy.txt

New Post: exited with code 1 after running wspbuilder.exe from command with the -customcas parameter

$
0
0
I try to run the following Post-build event command:

cd $(ProjectDir)
"C:\Program Files (x86)\WSPTools\WSPBuilderExtensions\WSPBuilder.exe" -WSPName $(ProjectName).wsp -CustomCAS C:\CasPolicy.txt

I got the error exited with code 1.

When I remove this from the command "-CustomCAS C:\CasPolicy.txt" it works fine and generates a wsp file in the root of my project.

Does someone know how I can run this customcas parameter?

Reviewed: WSPBuilder Extensions 1.0.6 (nov 30, 2013)

$
0
0
Rated 4 Stars (out of 5) - Is a very useful developer's tool

New Post: Removing previously deployed DLLs in the GAC

$
0
0
Hello,

I am using WSPBuilder to build a WSP package to be deployed on to Sharepoint. Currently, we have updated some of the 3rd party dependencies in our solution. Basically, we have updtaed our dependency from DLL A.dll to another DLL say B.dll (from a completely different vendor). Now when we install the solution using the installer created by WSPBuilder; I see that both A.dll and B.dll co-exist. This is causing a problem with my solution.

Is there a way in WSPBuilder to uninstall or clean-up previously installed DLLs in the GAC related to a sharepoint solution and then go ahead to install the new DLLs?

I tried changing the solution ID; it does not help.

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

$
0
0
Thanks for the post, PortalMonkey.

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

$
0
0
Hey

PortalMonkey can you share your solution?
I have tried to download the wspbuilder source, but can't get it to work.
I get the following error
System.TypeLoadException: Could not load type 'WSPTools.BaseLibrary.IO.ResourceReader' from assembly 'WSPTools.BaseLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b778c59697d7d9e

The BaseLibrary is present og referenced in the project.

/Birger

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

$
0
0

The problem with WSPBuilder is that is does not recognize anything in the 4.0 framework. The version I have corrects that. The attached text file (WSPBuilder_4.0.txt) is actually a .zip archive (some email programs reject .zip files so that's why I send this way). Change the name from .txt to .zip, extract the contents, and follow the instructions in the PDF. Make sure you uninstall any previous WSPBuilder installations first.

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

$
0
0
Portalmonkey wrote:
The problem with WSPBuilder is that is does not recognize anything in the 4.0 framework. The version I have corrects that. The attached text file (WSPBuilder_4.0.txt) is actually a .zip archive (some email programs reject .zip files so that's why I send this way). Change the name from .txt to .zip, extract the contents, and follow the instructions in the PDF. Make sure you uninstall any previous WSPBuilder installations first.
I don't see any attached file.. can you send it directly to me at birger.hoejrup@rn.dk

/Birger

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

$
0
0
Portalmonkey wrote:
The problem with WSPBuilder is that is does not recognize anything in the 4.0 framework. The version I have corrects that. The attached text file (WSPBuilder_4.0.txt) is actually a .zip archive (some email programs reject .zip files so that's why I send this way). Change the name from .txt to .zip, extract the contents, and follow the instructions in the PDF. Make sure you uninstall any previous WSPBuilder installations first.
Hey PortalMonkey, I cannot find your files and I am interested in your solution. Can you please send it to jvar1969@gmail.com?

Patch Uploaded: #17172

New Post: I Have the Solution to Make WSP Builder work with Visual Studio 2012 and SharePoint 2013

Created Unassigned: The defined Project Assembly seems not to be a valid assembly [27842]

$
0
0
When I build my solution using WSPBuilder I get a message which stated that the defined project assembly seems not to be a valid assembly.

WSPBuilder
Version: 1.0.9.1118
Created by Carsten Keutmann
GPL License 2007
The solution id from the solutionid.txt is used. The SolutionID from the Manifest.Config file is ignored!
Building the solution - please wait
The defined Project Assembly seems not to be a valid assembly!
Solution compatibility: SharePoint 2010
Saving the Manifest.xml file
Creating the WSP file
Cleanup
Done!

What does that mean?

I've had a look at other discussions on here and have checked that the target framework is .NET Framework 3.5, as others have suggested.
Viewing all 38 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>