Mono on Debian: Could Not Find File "/Srv/Www/Proj/Bin\Roslyn\Csc.Exe"

mono on debian: Could not find file /srv/www/proj/bin\roslyn\csc.exe

Finally I managed it to work.
For those, who are searching for a similar solution:

In my Apache vHost Configuration I need to add

MonoSetEnv inventur.netdienste.com MONO_IOMAP=all

That directive translated the forward slashes to backward slashes.

Running project on VS for mac

Your project is probably using Roslyn compiler and/or tools that produce PDB files instead of MDB.

PDB files are unsupported by Mac and that's why You need to delete these two nuget packages:

"Microsoft.CodeDom.Providers.DotNetCompilerPlatform"

"Microsoft.Net.Compilers" version="1.0.0"

This isn't perfect solution but for my purposes it was a good workaround.

Composer could not find a composer.json

The "Getting Started" page is the introduction to the documentation. Most documentation will start off with installation instructions, just like Composer's do.

The page that contains information on the composer.json file is located here - under "Basic Usage", the second page.

I'd recommend reading over the documentation in full, so that you gain a better understanding of how to use Composer. I'd also recommend removing what you have and following the installation instructions provided in the documentation.

Git - fatal: Unable to create '/path/my_project/.git/index.lock': File exists

Try

rm -f ./.git/index.lock

In your repository directory. The error message is rather explicit as to what causes it typically, so if you have no other git processes running (which is the normal case), go ahead and delete that file.



Related Topics



Leave a reply



Submit