Discussion:
[MonoDevelop] Building Monodevelop under Monodevelop in Windows
Jay Bazuzi
2012-08-03 19:28:38 UTC
Permalink
I'm having trouble building Monodevelop in Monodevelop, on Windows. It's
not finding Mono.Addins.dll

Warning: Assembly 'Mono.Addins, Version=0.5.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756' not found. Make sure that the assembly
exists in disk. If the reference is required to build the project you may
get compilation errors. (MonoDevelop.Core)
When I run winbuild.bat at the commandline (in a Git Shell under
PowerShell) it builds OK, and winbuild.bat runs fine, too. It only fails
when building within MonoDevelop.

I have set the Configuration to DebugWin32|x86.

I have been following the instructions at
http://monodevelop.com/Developers/Building_MonoDevelop, but I'm bad at
following instructions, so maybe I missed something.

What should I be looking for?

-J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120803/011c59a0/attachment.html>
ventsislav.mladenov
2012-08-03 21:10:06 UTC
Permalink
On Friday 03 August 2012 12:28:38 Jay Bazuzi wrote:

What should I be looking for?


HI, I have similar problem on building MonoDevelop on Linux the problem is
that MonoDevelop.Ide references Mono.Addins project but if you try to build
whole solution it is builded before Mono.Addins and this lead to unresolved
references. The solution is simple - manually build first external projects and
then build MonoDevelop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120804/caee3411/attachment.html>
Alan
2012-08-04 13:47:42 UTC
Permalink
Mono.Addins is an assembly in the GAC, it is not part of the solution
and isn't built as part of the regular build process. Can you tell us
exactly how building on windows fails and what version of MonoDevelop
you are using to build MonoDevelop itself?

Alan
Post by Jay Bazuzi
What should I be looking for?
HI, I have similar problem on building MonoDevelop on Linux the problem is
that MonoDevelop.Ide references Mono.Addins project but if you try to build
whole solution it is builded before Mono.Addins and this lead to unresolved
references. The solution is simple - manually build first external projects
and then build MonoDevelop
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
Jay Bazuzi
2012-08-04 16:50:36 UTC
Permalink
Alan, are you asking me or Ventsislav?

I'm using MonoDevelop 3.0.3.5 as the build environment.

I gave the error message below. What other information are you looking for?

-J
Post by Alan
Mono.Addins is an assembly in the GAC, it is not part of the solution
and isn't built as part of the regular build process. Can you tell us
exactly how building on windows fails and what version of MonoDevelop
you are using to build MonoDevelop itself?
Alan
Post by Jay Bazuzi
What should I be looking for?
HI, I have similar problem on building MonoDevelop on Linux the problem
is
Post by Jay Bazuzi
that MonoDevelop.Ide references Mono.Addins project but if you try to
build
Post by Jay Bazuzi
whole solution it is builded before Mono.Addins and this lead to
unresolved
Post by Jay Bazuzi
references. The solution is simple - manually build first external
projects
Post by Jay Bazuzi
and then build MonoDevelop
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
_______________________________________________
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/20120804/02915f21/attachment.html>
Jay Bazuzi
2012-08-06 04:54:11 UTC
Permalink
Which runtime should I be targeting when I build MonoDevelop under
MonoDevelop in Windows?

-J
Post by Jay Bazuzi
Alan, are you asking me or Ventsislav?
I'm using MonoDevelop 3.0.3.5 as the build environment.
I gave the error message below. What other information are you looking for?
-J
Post by Alan
Mono.Addins is an assembly in the GAC, it is not part of the solution
and isn't built as part of the regular build process. Can you tell us
exactly how building on windows fails and what version of MonoDevelop
you are using to build MonoDevelop itself?
Alan
Post by Jay Bazuzi
What should I be looking for?
HI, I have similar problem on building MonoDevelop on Linux the problem
is
Post by Jay Bazuzi
that MonoDevelop.Ide references Mono.Addins project but if you try to
build
Post by Jay Bazuzi
whole solution it is builded before Mono.Addins and this lead to
unresolved
Post by Jay Bazuzi
references. The solution is simple - manually build first external
projects
Post by Jay Bazuzi
and then build MonoDevelop
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
_______________________________________________
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/20120805/8ea91864/attachment.html>
Lluis Sanchez Gual
2012-08-07 07:42:49 UTC
Permalink
You should be targetting the MS.NET runtime
Which runtime should I be targeting when I build MonoDevelop under MonoDevelop in Windows?
-J
Alan, are you asking me or Ventsislav?
I'm using MonoDevelop 3.0.3.5 as the build environment.
I gave the error message below. What other information are you looking for?
-J
Mono.Addins is an assembly in the GAC, it is not part of the solution
and isn't built as part of the regular build process. Can you tell us
exactly how building on windows fails and what version of MonoDevelop
you are using to build MonoDevelop itself?
Alan
Post by Jay Bazuzi
What should I be looking for?
HI, I have similar problem on building MonoDevelop on Linux the problem is
that MonoDevelop.Ide references Mono.Addins project but if you try to build
whole solution it is builded before Mono.Addins and this lead to unresolved
references. The solution is simple - manually build first external projects
and then build MonoDevelop
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
_______________________________________________
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/20120807/5dd636d0/attachment.html>
Jay Bazuzi
2012-08-07 19:03:03 UTC
Permalink
I didn't realize that. I was following the instructions at
http://monodevelop.com/Developers/Building_MonoDevelop, and it doesn't
mention setting the target platform. Who can I contact about updating that
page?

So, I switched runtime to Microsoft .NET, and got a build error because it
couldn't find the reference Mono.Posix. What I found was that closing &
reopening the solution after switching runtime to Microsoft .NET caused it
to find Mono.Posix correctly. Is this a bug in MonoDevelop?
Error CS0246: The type or namespace name 'var' could not be found (are you
missing a using directive or an assembly reference?) (CS0246)
(MonoDevelop.Projects.Formats.MSBuild.v2.0)
That's weird - is it using an old version of the compiler? What is going on?

-J

On Tue, Aug 7, 2012 at 12:42 AM, Lluis Sanchez Gual
You should be targetting the MS.NET runtime
Which runtime should I be targeting when I build MonoDevelop under MonoDevelop in Windows?
-J
Post by Jay Bazuzi
Alan, are you asking me or Ventsislav?
I'm using MonoDevelop 3.0.3.5 as the build environment.
I gave the error message below. What other information are you looking for?
-J
Post by Alan
Mono.Addins is an assembly in the GAC, it is not part of the solution
and isn't built as part of the regular build process. Can you tell us
exactly how building on windows fails and what version of MonoDevelop
you are using to build MonoDevelop itself?
Alan
Post by Jay Bazuzi
What should I be looking for?
HI, I have similar problem on building MonoDevelop on Linux the
problem is
Post by Jay Bazuzi
that MonoDevelop.Ide references Mono.Addins project but if you try to
build
Post by Jay Bazuzi
whole solution it is builded before Mono.Addins and this lead to
unresolved
Post by Jay Bazuzi
references. The solution is simple - manually build first external
projects
Post by Jay Bazuzi
and then build MonoDevelop
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-list
_______________________________________________
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/20120807/6d6455dc/attachment.html>
Michael Hutchinson
2012-08-08 01:06:44 UTC
Permalink
Post by Jay Bazuzi
I didn't realize that. I was following the instructions at
http://monodevelop.com/Developers/Building_MonoDevelop, and it doesn't
mention setting the target platform. Who can I contact about updating that
page?
So, I switched runtime to Microsoft .NET, and got a build error because it
couldn't find the reference Mono.Posix. What I found was that closing &
reopening the solution after switching runtime to Microsoft .NET caused it
to find Mono.Posix correctly. Is this a bug in MonoDevelop?
Error CS0246: The type or namespace name 'var' could not be found (are you
missing a using directive or an assembly reference?) (CS0246)
(MonoDevelop.Projects.Formats.MSBuild.v2.0)
That's weird - is it using an old version of the compiler? What is going on?
It's a bug in the MonoDevelop build engine. On .NET it uses the
version of csc from the target framework - whereas MSBuild uses the
csc matching the MSBuild. For example, a VS2010 project should always
uses csc 4.0, which supports "var", even if it targets the 2.0
framework.
--
Michael Hutchinson
http://mjhutchinson.com
Ventsislav Mladenov
2012-08-06 07:35:37 UTC
Permalink
I'm sorry my problem was with Mono.Cecil.
On my machine Mono.Addins comes from the GAC. Obliviously you have to install
Mono.Addins and register it in GAC using gacutil /i
Loading...