[MonoDevelop] Build fails where Add Reference to Project

Michael Hutchinson m.j.hutchinson at gmail.com
Sat Jan 19 23:08:05 UTC 2013


It looks like you're using the experimental MSBuild build engine, try
disabling it.

I suspect this is a bug with building heterogeneous solution configurations
(e.g. solution config "Debug|x86" mapped to the "Debug|AnyCPU" project
configuration) with the MSBuild engine that was fixed in MD a while back,
what MD version are you using?
On Jan 17, 2013 5:21 PM, "Alberto León" <leontiscar at gmail.com> wrote:

> I tried compile projects separately, and all builds without problems.
>
> But when I reference a project, and do build, MonoDevelop shows an error
>  'OutputPath' property is not set for this project
>
>
>
> Construyendo: hola (Debug)
>
> Realizando compilación principal...
>
> Build started 17/01/2013 23:17:01.
> __________________________________________________
> Project "/home/alberto/MonoSimpleInstall/hola/hola.csproj" (Build
> target(s)):
>  Target PrepareForBuild:
>  Configuration: Debug Platform: AnyCPU
>  Target GenerateSatelliteAssemblies:
>  No input files were specified for target GenerateSatelliteAssemblies,
> skipping.
>  Target CoreCompile:
>  Tool /usr/bin/gmcs execution started with arguments: /noconfig
> /debug:full /debug+ /optimize- /out:obj/Debug/hola.dll MyClass.cs
> AssemblyInfo.cs /target:library /define:DEBUG
> /reference:/usr/lib/mono/2.0/System.dll /warn:4
>  Target DeployOutputFiles:
> Copying file from
> '/home/alberto/MonoSimpleInstall/hola/obj/Debug/hola.dll.mdb' to
> '/home/alberto/MonoSimpleInstall/hola/bin/Debug/hola.dll.mdb'
>  Copying file from
> '/home/alberto/MonoSimpleInstall/hola/obj/Debug/hola.dll' to
> '/home/alberto/MonoSimpleInstall/hola/bin/Debug/hola.dll'
> Done building project "/home/alberto/MonoSimpleInstall/hola/hola.csproj".
>
> Build succeeded.
>  0 Warning(s)
>  0 Error(s)
>
> Time Elapsed 00:00:00.6061730
> Construcción finalizada -- 0 errores, 0 advertencias
>
> Construyendo: MonoSimpleInstallConsole (Debug|x86)
>
> Realizando compilación principal...
>
> Build started 17/01/2013 23:17:02.
> __________________________________________________
> Project
> "/home/alberto/MonoSimpleInstall/MonoSimpleInstallConsole/MonoSimpleInstallConsole.csproj"
> (Build target(s)):
>  Target PrepareForBuild:
> Configuration: Debug Platform: x86
>  Target ResolveProjectReferences:
> Project "/home/alberto/MonoSimpleInstall/hola/hola.csproj" (GetTargetPath
> target(s)):
>  Target _ValidateEssentialProperties:
> /usr/lib/mono/4.0/Microsoft.Common.targets: error : 'OutputPath' property
> is not set for this project. Usually this is caused by invalid
> Configuration/Platform combination. Original values: Configuration: Debug
> Platform: x86.
>  Task "Error" execution -- FAILED
> Done building target "_ValidateEssentialProperties" in project
> "/home/alberto/MonoSimpleInstall/hola/hola.csproj".-- FAILED
>  Done building project
> "/home/alberto/MonoSimpleInstall/hola/hola.csproj".-- FAILED
>  Task "MSBuild" execution -- FAILED
> Done building target "ResolveProjectReferences" in project
> "/home/alberto/MonoSimpleInstall/MonoSimpleInstallConsole/MonoSimpleInstallConsole.csproj".--
> FAILED
>  Done building project
> "/home/alberto/MonoSimpleInstall/MonoSimpleInstallConsole/MonoSimpleInstallConsole.csproj".--
> FAILED
>
> Build FAILED.
> Errors:
>
> /home/alberto/MonoSimpleInstall/MonoSimpleInstallConsole/MonoSimpleInstallConsole.csproj
> (Build) ->
> /usr/lib/mono/4.0/Microsoft.Common.targets (ResolveProjectReferences
> target) ->
> /home/alberto/MonoSimpleInstall/hola/hola.csproj (GetTargetPath) ->
> /usr/lib/mono/4.0/Microsoft.Common.targets (_ValidateEssentialProperties
> target) ->
>
> /usr/lib/mono/4.0/Microsoft.Common.targets: error : 'OutputPath' property
> is not set for this project. Usually this is caused by invalid
> Configuration/Platform combination. Original values: Configuration: Debug
> Platform: x86.
>
>  0 Warning(s)
>  1 Error(s)
>
> Time Elapsed 00:00:00.1621860
> Construcción finalizada -- 1 error, 0 advertencias
>
> ---------------------- Hecho ---------------------
>
> Construcción: 1 error, 0 advertencias
>
>
> --
>
> http://stackoverflow.com/users/690958/alberto-leon
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20130119/4a130002/attachment.html>


More information about the Monodevelop-list mailing list