opensubscriber
   Find in this group all groups
 
Unknown more information…

v : visualperl-discuss@listserv.ActiveState.com 20 April 2005 • 10:39AM -0400

[Visualperl-discuss] not importing namespace "System"
by Tom Humphrey

REPLY TO AUTHOR
 
REPLY TO GROUP





I've just installed VS.NET 2003 and Visual Perl. All defaults, no settings
changed, everything installed in default directories.

I file->new project->visual perl->managed .exe
i call it HelloWorld

The following code pops up in the code pane (solution loads fine etc.):

------------------------------------------------------
use strict;
use namespace "System";
use PerlNET qw(AUTOCALL);

Console->WriteLine("Hello, World.\n");
-------------------------------------------------------


' use namespace "System"; ' is underlined red and throws a compilation
error.

In the solution explorer i expand 'references' and see the System.dll is
there, as it should be, the only dll automatically loaded.

Why am I getting this error? Please help! I am stuck at the mercy of this
pathetic error; it is so basic that I cannot even figure out how to diagnose
it.

Best Regards,

Tom Humphrey


_______________________________________________
VisualPerl-discuss mailing list
VisualPerl-discuss@list...
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.