[Mono-dev] Issues with MSBuild mono 5.0

Rafael Teixeira monoman at gmail.com
Fri Jun 2 13:19:11 UTC 2017


About #1, it seems to be a PATH problem. Can you run csc from the same
prompt you run msbuild and it doesn't find csc or gives some other error
message?

Such 'prompt' link normally run a script to set the environment variables
as needed prior to enter in interactive mode in the shell (cmd), and may
not be setting all the variables correctly...

About #2, you need to provide more information. If you press the Debug but
in that dialog, possibly you will go into some debugger that may present
more details about the specific problem



Rafael Teixeira
O..:.)oooo

On Fri, Jun 2, 2017 at 8:01 AM, nikhil sehgal <nikhil.jiet at gmail.com> wrote:

> Hi All,
>
> I have my project is VS 2015 target framework 4.6.1 and it's building fine
> however when i try to build it with ms-build command prompt shipped with
> mono 5.0 it throws error as following .Please help
>
>
> *Issue No1 C*:\Program Files\Mono\lib\mono\msbuild\
> 15.0\bin\Roslyn\Microsoft.CSharp.Core.targets(71,5): error MSB3082: Task
> failed because "csc.exe" was not found, or the .NET Framework v4.0 is not
> installed.
> ease install the .NET Framework v4.0. [C:\nikhil\test.csproj]
>
>
>
> *Issue no 2 *:it stops automatically by displaying mono.exe has stopped
> working
> A problem is caused the program to stop working correctly windows will
> close and notify if solution available
>
> [image: Inline image 1]
>
>
> MSBUILD version
>
> Microsoft (R) Build Engine version 15.2.0.0 (xplat-2017-02/c2edfeb Fri May
>  5 09:45:23 EDT 2017)
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
> Mono Version
>
> Mono JIT compiler version 5.0.0 (Visual Studio built mono)
> Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
> www.mono-project.com
>         TLS:           normal
>         SIGSEGV:       normal
>         Notification:  Thread + polling
>         Architecture:  amd64
>         Disabled:      none
>         Misc:          softdebug
>         LLVM:          supported, not enabled.
>         GC:            sgen
>
>
> --
> Thanks & Regards
> NIkhil Sehgal
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170602/90fe3f96/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 13418 bytes
Desc: not available
URL: <http://lists.dot.net/pipermail/mono-devel-list/attachments/20170602/90fe3f96/attachment.png>


More information about the Mono-devel-list mailing list