зеркало из https://github.com/mono/mail-archives.git
181 строка
4.9 KiB
HTML
181 строка
4.9 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [Mono-bugs] [Bug 426757] New: gmcs cannot find extension methods in referenced assembly
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20426757%5D%20New%3A%20gmcs%20cannot%20find%20extension%20methods%20in%0A%20referenced%20assembly&In-Reply-To=">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="079503.html">
|
||
|
<LINK REL="Next" HREF="079511.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[Mono-bugs] [Bug 426757] New: gmcs cannot find extension methods in referenced assembly</H1>
|
||
|
<B>bugzilla_noreply at novell.com</B>
|
||
|
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20426757%5D%20New%3A%20gmcs%20cannot%20find%20extension%20methods%20in%0A%20referenced%20assembly&In-Reply-To="
|
||
|
TITLE="[Mono-bugs] [Bug 426757] New: gmcs cannot find extension methods in referenced assembly">bugzilla_noreply at novell.com
|
||
|
</A><BR>
|
||
|
<I>Tue Sep 16 15:22:57 EDT 2008</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="079503.html">[Mono-bugs] [Bug 388115] TextBox: multi-line content broken on Text/SelectedText/ Lines properties and on copy to clipboard
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="079511.html">[Mono-bugs] [Bug 426757] gmcs cannot find extension methods in referenced assembly
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#79506">[ date ]</a>
|
||
|
<a href="thread.html#79506">[ thread ]</a>
|
||
|
<a href="subject.html#79506">[ subject ]</a>
|
||
|
<a href="author.html#79506">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=426757">https://bugzilla.novell.com/show_bug.cgi?id=426757</A>
|
||
|
|
||
|
|
||
|
Summary: gmcs cannot find extension methods in referenced
|
||
|
assembly
|
||
|
Product: Mono: Compilers
|
||
|
Version: 2.0
|
||
|
Platform: i686
|
||
|
OS/Version: Ubuntu
|
||
|
Status: NEW
|
||
|
Severity: Major
|
||
|
Priority: P5 - None
|
||
|
Component: C#
|
||
|
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
||
|
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">bryan.murphy at gmail.com</A>
|
||
|
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
|
||
|
Found By: ---
|
||
|
|
||
|
|
||
|
Created an attachment (id=239896)
|
||
|
--> (<A HREF="https://bugzilla.novell.com/attachment.cgi?id=239896">https://bugzilla.novell.com/attachment.cgi?id=239896</A>)
|
||
|
sample solution exhibiting problem
|
||
|
|
||
|
Description of Problem:
|
||
|
|
||
|
I'm having problems compiling projects that reference extension methods in
|
||
|
external/referenced assemblies. Extension methods that are internal to the
|
||
|
assembly work as expected. The external extension methods cannot be resolved
|
||
|
by gmcs and thus causes compiler errors such as the following:
|
||
|
|
||
|
[Task:File=/home/bmurphy/src/ExtensionMethodsBug/Program.cs, Line=21,
|
||
|
Column=33, Type=Error, Priority=Normal, Description=Type
|
||
|
`Autofac.Builder.ContainerBuilder' does not contain a definition for `Register'
|
||
|
and no extension method `Register' of type `Autofac.Builder.ContainerBuilder'
|
||
|
could be found (are you missing a using directive or an assembly
|
||
|
reference?)(CS1061)]
|
||
|
|
||
|
Steps to reproduce the problem:
|
||
|
1. Download the attached project
|
||
|
2. Compile it in MonoDevelop
|
||
|
|
||
|
Additional Information:
|
||
|
This project compiles and executes successfully under Visual Studio 2008. I'm
|
||
|
currently using mono 2.0rc1 and a trunk build of monodevelop to compile this
|
||
|
solution.
|
||
|
|
||
|
|
||
|
--
|
||
|
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
|
||
|
------- You are receiving this mail because: -------
|
||
|
You are the QA contact for the bug.
|
||
|
You are the assignee for the bug.
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="079503.html">[Mono-bugs] [Bug 388115] TextBox: multi-line content broken on Text/SelectedText/ Lines properties and on copy to clipboard
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="079511.html">[Mono-bugs] [Bug 426757] gmcs cannot find extension methods in referenced assembly
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#79506">[ date ]</a>
|
||
|
<a href="thread.html#79506">[ thread ]</a>
|
||
|
<a href="subject.html#79506">[ subject ]</a>
|
||
|
<a href="author.html#79506">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|