user1357522
user1357522

Reputation: 1

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

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.

Upvotes: 0

Views: 257

Answers (1)

Piecia
Piecia

Reputation: 11

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

Upvotes: 1

Related Questions