# Deploy to Windows Plesk with msbuild

**URL:** https://travis-ci.community/t/deploy-to-windows-plesk-with-msbuild/8020
**Category:** C#
**Tags:** deployment
**Created:** [April 6, 2020, 8:47pm UTC](https://travis-ci.community/t/deploy-to-windows-plesk-with-msbuild/8020 "2020-04-06T20:47:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mmanna3](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mmanna3](https://travis-ci.community/u/mmanna3)
#### Post date: [April 6, 2020, 8:47pm UTC](https://travis-ci.community/t/deploy-to-windows-plesk-with-msbuild/8020/1 "2020-04-06T20:47:02Z")

</div>

Hi! I have an [ASP.NET](http://ASP.NET) project with this .travis.yml working like a charm.

```
language: csharp
solution: LigaSoft.sln
install:
  - cd Liga
  - curl -L -o nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
  - mono nuget.exe restore LigaSoft.sln -Verbosity Detailed -NonInteractive -ConfigFile nuget.config
  - nuget install NUnit.Console -Version 3.9.0 -OutputDirectory testrunner
before_script:
  - sudo docker pull microsoft/mssql-server-linux:2017-latest
  - docker run -e 'ACCEPT_EULA=Y' -e 'MSSQL_SA_PASSWORD=YourSTRONG!Passw0rd' -p 1401:1433 --name=sql1 -d microsoft/mssql-server-linux:2017-latest
script:
  - msbuild /p:Configuration=IntegracionContinua LigaSoft.sln /p:DeployOnBuild=true /p:PublishProfile=IntegracionContinuaPublishProfile
  - mono ./testrunner/NUnit.ConsoleRunner.3.9.0/tools/nunit3-console.exe ./Tests/bin/IntegracionContinua/Tests.dll

```

The problem is I can’t deploy it to my Plesk server with msbuild. I got silent errors.

I’ve tried a lot of options in the last few days, all are variants of:

```
- msbuild /p:Configuration=IntegracionContinua LigaSoft.sln /p:DeployOnBuild=True /p:PublishProfile=IntegracionContinuaPublishProfile

```

Can anyone please help me?

@joshua-anderson  
@nterry
