[MonoDevelop] $(Configuration) directive in csproj / MD 2.2 beta 2

Stefanos A. stapostol at gmail.com
Wed Oct 14 16:09:01 EDT 2009


Hello,

is there any chance for a fix to issue
https://bugzilla.novell.com/show_bug.cgi?id=488975 ("MonoDevelop cannot
resolve $(Configuration) directive in assembly reference") before the
final release?

This directive can be used to modify references depending on the current
configuration. For example, you may place your dependencies in the
following folders and have the IDE automatically use the correct one
depending on the current configuration:

Dependencies/Release/OpenTK.dll
Dependencies/Debug/OpenTK.dll
Dependencies/Trace/OpenTK.dll

This can be very important for applications that depend on assemblies
like OpenTK,dll, which contain large amounts of extra debugging code in
Debug builds (e.g. error tracing in the various bindings). Obviously,
this code is invaluable while developing but should not be enabled in
release builds, as it carries a large performance penalty.

Unfortunately, this configuration is not currently possible in MD: the
csproj loader does not respect the $(Configuration) directive in
reference paths and complains that the references cannot be found.

Is it too late in the development cycle for a fix? If yes, could this be
implemented in a (potential) 2.2.1 release shortly after 2.2?

Thanks,
- Stefanos A.



More information about the Monodevelop-list mailing list