[MonoDevelop] .csproj file compatibility

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Oct 19 19:37:46 EDT 2011


On Wed, Oct 19, 2011 at 8:13 PM, Steve Lessard <s_lessard at yahoo.com> wrote:
> Visual Studio has the ability to handle environment variables in .csproj
> files. For instance instead of a Compile element like this:
>
>     <Compile
> Include="\source\corpnet\OCG\lcs\plat\dev\common\Platform\CollaborationApi\cs\Signaling\AuthenticationException.cs">
>       <Link>Signaling\AuthenticationException.cs</Link>
>     </Compile>
>
> I can replace a portion of the file's path like this:
>
>     <Compile
> Include="$(SOURCE_ROOT)\dev\common\Platform\CollaborationApi\cs\Signaling\AuthenticationException.cs">
>       <Link>Signaling\AuthenticationException.cs</Link>
>     </Compile>
>
> Out of the box MonoDevelop doesn't appear to know how to interpret these
> variables. Is there any way to get MonoDevelop to interpret these variables
> in a .csproj file?

Enable the experimental xbuild/MSBuild build engine in MD Preferences.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list