Convert ASP.NET application to Mono without .csproj and .sln

I have an ASP.NET application that I would like to try running on Mono as an experiment. When I bring the application in the same way as to the Mac, run xsp2 in the directory, it works as I assume. That is, it crashes due to differences in the path to the file system ( \vs /in directories).

Here I want to open it in MonoDevelop and fix the problems. But since it was a website, it does not have a .csproj file. And it seems that there is no .sln file, since Visual Studio by default saves them in some random directory. In Visual Studio, you can open a project using Open → Web site ... → Local IIS, etc., but I don’t see such a thing in Mono.

Is there a way to open a directory as a website or somehow create a .csproj file? I would prefer an answer that Visual Studio or even Windows will not need to help me with this.

+3
source share
4 answers
  • Create a new project in MonoDevelop in the same directory as your files.
  • Right-click the project in the solution window.
  • Select display options → Show all files
  • Right-click the file and select "Include in Project"

You can select several files at once (shift or click) and include them all at once or include full directories.

+5
source

- Mono, :

$ MONO_IOMAP=all
$ xsp2

:

http://www.mono-project.com/IOMap

+1
source

Create a new project in MonoDevelop and import files into it.

0
source

Source: https://habr.com/ru/post/1729776/


All Articles