c# - Build MonoDevelop on Debian/Jessie using Mono 4.3.3 -
i'am trying build monodevelop(master branch) on debian/jessie box. far managed compiled, shows me 5 errors , 1 warning.
build failed. warnings: /home/max/monodevelop/main/main.sln (default targets) -> (build target) -> /home/max/monodevelop/main/external/refactoringessentials/refactoringessentials/refactoringessentials.csproj (default targets) -> /usr/lib/mono/4.5/microsoft.common.targets (getreferenceassemblypaths target) -> /usr/lib/mono/4.5/microsoft.common.targets: warning : unable find framework corresponding target framework moniker '.netportable,version=v4.5,profile=profile7'. framework assembly references resolved gac, might not intended behavior. errors: /home/max/monodevelop/main/main.sln (default targets) -> (build target) -> /home/max/monodevelop/main/src/addins/nunit/nunitrunner/nunitrunner.csproj (default targets) -> /usr/lib/mono/4.5/microsoft.csharp.targets (corecompile target) -> nunittestrunner.cs(105,44): error cs0103: name `loggingthreshold' not exist in current context nunittestrunner.cs(105,14): error cs1501: no overload method `run' takes `4' arguments nunittestrunner.cs(124,25): error cs0246: type or namespace name `parameterizedmethodsuite' not found. missing assembly reference? nunittestrunner.cs(124,25): error cs0150: constant value expected /home/max/monodevelop/main/main.sln (default targets) -> (build target) -> /home/max/monodevelop/main/external/refactoringessentials/refactoringessentials/refactoringessentials.csproj (default targets) -> /usr/lib/mono/4.5/microsoft.common.targets (getreferenceassemblypaths target) -> /usr/lib/mono/4.5/microsoft.common.targets: error : pcl reference assemblies not installed. 1 warning(s) 5 error(s) time elapsed 00:00:07.6677160 makefile:1086: recipe target 'sln_build' failed make[2]: *** [sln_build] error 1 make[2]: leaving directory '/home/max/monodevelop/main' makefile:645: recipe target 'all-recursive' failed make[1]: *** [all-recursive] error 1 make[1]: leaving directory '/home/max/monodevelop/main' makefile:23: recipe target 'all-recursive' failed make: *** [all-recursive] error 1 i suggest has nunit shipps mono , pcl reference assemblies not installed. know ms released pcl reference assemblies installer, can't install them on linux box. because .net needed msi installer or sort of.
the solution download
http://github.com/directhex/xamarin-referenceassemblies-pcl
using git. adjust control file under debian/ directory not depending on
mono-xbuild
build debian package using
debuild -i -us -uc -b
then installing package using
dpkg -i <package>
what installation copy pcl reference assemblies
/usr/lib/mono/xbuild-frameworks/.netportable.
after compiling monodevelop not show error missing pcl reference assemblies. hope helps trying build latest monodevelop.
Comments
Post a Comment