-
Notifications
You must be signed in to change notification settings - Fork 0
Installing the latest build
Please note that these instructions assume that you've already installed openwrap and initialised your project per the Quick Start section.
Follow these instructions if you want to get a version of openwrap built from the latest committed source code. People generally do this if they need an openwrap feature or bug fix that isn't yet available in the beta version. Please note that this can be risky, as you will be using a version of the code that is very recent and hasn't even been released in the public beta yet.
You can get the latest build of openwrap in two ways:
- By downloading the latest pre-built wrap artifact from from TeamCity, or
- By downloading the source from github and building the wrap from source.
Option 1 - Get a pre-built wrap, built from the latest code:
Go to the Caffiene IT TeamCity build server, login as guest, and go to the "openwrap" build project. From there, look for the "master - net" build configuration and download the wrap from the build Artifacts. It will be named something like "openwrap-#.#.#+#.wrap".
Option 2 - Get the source from github and build it yourself:
Clone the openwrap repository from github:
c:\code> git clone http://github.com/openrasta/openwrap
Then build the wrap from source:
c:\code> cd openwrap
c:\code\openwrap> o build-wrap
This creates a new openwrap wrap in the openwrap directory, named something like "openwrap-#.#.#+#.wrap".
Now that you've got a version of the openwrap wrap built from the latest source code, you'll need to update your existing project to use it.
Updating an existing project:
To update your project to use the version of openwrap you've obtained via (1) or (2) , first copy the new version of openwrap ("openwrap-#.#.#+#.wrap") to the wraps folder in your project directory (for example, to c:\code\myProject\wraps).
You'll then need to add "Mono.Cecil" to your project, if your project doesn't already reference it. You can find out by listing the project's existing wraps:
c:\code\myProject> o list-wrap
If "Mono.Cecil" is not listed, add it:
c:\code\myProject> o add-wrap Mono.Cecil
Then update your project to use the new version of openwrap that you've copied to the wraps folder:
c:\code\myProject> o update-wrap openwrap