Msbuild issue

  • 3 February 2010
  • 1 reply
  • 1 view

Badge +1

error MSB4036: The "CreateProperty" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface.


 


well am new to K2 but while trying to do a deployment using msbuild script, i get this error.


1 reply

Userlevel 4
Badge +14

The following might just point you in the right direction regarding the creation of MSBUILD packages and deployment:


1)      Prepare the development platform


        On the development server Create an environment library template of the same


        name as exists in each environment which you are going to deploy to, ie. Text/ABC/Production. Into each


        of these environments populate values which match that of the actual environments.


 


2)      Creating the build


        - Open Visual studio


        - Use the option in the K2 object browser to select the environment you are going to deploy to.


        - Use the refresh option in the same context menu to ensure all new variable are pulled down


        - If you are using infopath


        - Open the infopath integration wizard and use the refresh option to get the values pulled down ready


          for the form


        - Create a deployment package


 


3) Executing the package


        - Give the msbuild package to the team who are doing the deployment and ensure that this is executed


          with the correct environment switch (i.e Environment=test.


 


Have a look at this KB, http://help.k2.com/en/KB000188.aspx  for details on executing the MSBuild package.


HTH


Vernon

Reply