[Mono-winforms-list] Build error in Managed.Windows.Forms

Jonathan Pobst monkey at jpobst.com
Wed Apr 21 10:16:55 EDT 2010


You need to add the file X11Clipboard.cs to the project.  The project 
file is often not kept up to date, so there may be other files you need 
to add as well.

Jonathan


On 4/21/2010 8:38 AM, RickMohr wrote:
>
> Managed.Windows.Forms doesn't build for me in Visual Studio 2008. The error
> is:
>
> C:\Users\rmohr\Projects\NasMono\Managed.Windows.Forms\System.Windows.Forms\XplatUIX11.cs(101,18):
> error CS0246: The type or namespace name 'ClipboardData' could not be found
> (are you missing a using directive or an assembly reference?)
>
> What reference should I add to resolve ClipboardData?
>
> I checked out the sources (yesterday) from:
> svn://anonsvn.mono-project.com/source/trunk/mcs/class/Managed.Windows.Forms
>
> (I did resolve another error -- the SWF2k5.csproj reference to
> Mono.WebBrowser2K5 was not resolved so I added a reference to C:\Program
> Files (x86)\Mono-2.6.1\lib\mono\2.0\Mono.WebBrowser.dll)
>
> Thanks,
>
> -Rick



More information about the Mono-winforms-list mailing list