I am having problems setting various parameters using MSBuild and MSDeploy.
I have 2 configurations in TeamCity
- TestConfiguration (this creates the application in Test Config and runs unit tests)
- StagingConfiguration (designed for packaging and deployment in our intermediate UA testing field)
My TestConfiguration works fine, but StagingConfiguration does not deploy the package.
<MSBuild Projects="MyProject\MyProject.csproj" Properties="Configuration=Staging; DeployOnBuild=true; DeployTarget=Package;"/>
I tried adding both
_PackageTempDir=\\server\c$\WebDirectory; PackageLocation=\\server\c$\WebDirectory;
But it looks like I'm not doing anything, am I missing the point? I really couldn't find any documentation, just an odd blog post here and there. Do I need to install something on my TeamCity server for MSDeploy to work?
My perfect scenario:
- Go to tfs
- Launch StagingConfiguartion in TeamCity Manually
- Code is created and deployed to \ server \ c $ \ WebDirectory
Gilbert liddell
source share