CDN Sync was developed using Visual Studio 2010 but targets framework 3.5

In most cases you will want to add the SyncTask to your Build Server when deploying to your Staging or Production environments but for simplicity this example will show you how to integrate into a Post Build event.

Step 1
Create the MSBuild file and set all the options. Using MSBuild.xml Example File as a guide.

Step 2
Add a folder to your project which includes the CDNSync.dll, AWSSDK.dll and the MSBuild xml file you created in Step 1.



Step 3
Add the MSBuild command to the Post-Build event in your project properties
$(MSBuildBinPath)\msbuild.exe "$(ProjectDir)MSBuild\SyncTaskExample.xml"




Step 4
Build the project and view the Output.

Last edited Jun 26, 2010 at 2:09 AM by willbt, version 9

Comments

No comments yet.