4

It's very important to have Web.config transformations when we want to avoid errors while publishing for staging or production. Can this be done using monodevelop? I've search for a solution without any success.

Rui Marques
  • 3,429
  • 1
  • 22
  • 26

3 Answers3

6

I'm answering after a long time in case someone finds this question.
I have developed a way to publish a ASP.NET project through xbuild (not directly through Monodevelop) with Web.config transformations.
You can find it here.

Marcelo Zabani
  • 2,139
  • 19
  • 27
3

Not currently (as of 2.10.9). Mono does not yet have an implementation of MSDeploy, and specifically the Microsoft.Web.Publishing.Tasks.dll assembly and the Microsoft.Web.Publishing.targets file.

Zack
  • 1,256
  • 9
  • 20
0

You can use the MSBuild.Microsoft.VisualStudio.Web.targets NuGet package , see TransformXml task fails via msbuild on linux using mono for full instructions.

0xced
  • 25,219
  • 10
  • 103
  • 255