[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: warning : Default tasks file /usr/lib/mono/3.5/Microsoft.Common.tasks not found, ignoring (was: #809589)




On 17/02/16 14:31, Mathieu Malaterre wrote:
> [CC me please]
> 
> Thanks to Jo, I did update my env (completely this time). And indeed I
> can reproduce the issue seen in #809589
> 
> This does not work:
> 
> xbuild /target:StructuredStorageExplorer /tmp/openmcdf-1.5.4/src/OpenMcdf.sln
> 
> this works
> 
> xbuild /tv:4.0 /target:StructuredStorageExplorer
> /tmp/openmcdf-1.5.4/src/OpenMcdf.sln
> 
> ---
> 
> Since version information was removed everywhere:
> 
> http://anonscm.debian.org/cgit/pkg-cli-apps/packages/openmcdf.git/tree/debian/patches/use_default_framework.patch
> 
> I am wondering if mono-xbuild is not trying to hardcode version '3.5'
> somewhere ?

Looks like the failure is in the .sln, not the .csproj - there's also a
version parameter in that, on the first line:

> Microsoft Visual Studio Solution File, Format Version 10.00

Version 11 (Visual Studio 2012) and above will default to .NET 4.5

I don't think an unversioned sln format exists.


Reply to: