How do i add -pkg:dotnet to a web.config in Mono

263 Views Asked by At

I have been given a web application written in C# which I would like to deploy on Mono if possible. In order to get the application to compile, I need to pass the -pkg:dotnet flag to the compiler.

dmcs -pkg:dotnet

I am currently using XSP4 for testing and when it compiles the application it generates compilter errors about missing assemblies. I was wondering what I need to add to web.config in order for it to pass the -pkg:dotnet to the compiler.

1

There are 1 best solutions below

0
On

You should install aditional package "libmono-cil-dev". This package required other packages as dependency. If You use GNU/Lunux Debian please use command as the user root:

apt-get install libmono-cil-dev