.NET

Reply
New Member
Evolve-Moysie
Posts: 1
Registered: ‎09-11-2006
Message 1 of 7 (204 Views)

basic error

204 Views, 6 Replies
09-11-2006 08:19 AM
Hi I am creating a new project in VB using the wizard and get a warning that "Load of property 'RootNamespace' failed. The string for the root namespace must be a valid identifier.

When I complie the code, and try to run the command in AutoCAD I get an "Unknow command" error..

The code is

Imports Autodesk.AutoCAD.Runtime

Public Class EvolveClass

' Define command 'Asdkcmd1'
_
Public Sub Asdkcmd1()
' Type your code here
MsgBox("load please load!!")

End Sub

End Class

Can anyone help..
*Paul Richardson
Message 2 of 7 (204 Views)

Re: basic error

09-12-2006 11:09 AM in reply to: Evolve-Moysie
The two are unrelated. I don't know how to fix the warning, I just started
getting
it myself and haven't figured it out. Look at the post below "Problem
debuging Lab1"
to solve the command line error.
wrote in message news:5324637@discussion.autodesk.com...
Hi I am creating a new project in VB using the wizard and get a warning that
"Load of property 'RootNamespace' failed. The string for the root namespace
must be a valid identifier.

When I complie the code, and try to run the command in AutoCAD I get an
"Unknow command" error..

The code is

Imports Autodesk.AutoCAD.Runtime

Public Class EvolveClass

' Define command 'Asdkcmd1'
_
Public Sub Asdkcmd1()
' Type your code here
MsgBox("load please load!!")

End Sub

End Class

Can anyone help..
*Norman Yuan
Message 3 of 7 (204 Views)

Re: basic error

09-12-2006 11:19 AM in reply to: Evolve-Moysie
You problem most likely is caused by different version of .NET version you
use to develop your .NET API program and Acad uses.

By default, Acad uses latest version of .NET, regardless the version .NET
API itself is based on.

If you tell which version of ACAD and which version of VS (or other .NET
development tool, for which version of .NET) you use, it might be help to
solve your problem.

wrote in message news:5324637@discussion.autodesk.com...
Hi I am creating a new project in VB using the wizard and get a warning that
"Load of property 'RootNamespace' failed. The string for the root namespace
must be a valid identifier.

When I complie the code, and try to run the command in AutoCAD I get an
"Unknow command" error..

The code is

Imports Autodesk.AutoCAD.Runtime

Public Class EvolveClass

' Define command 'Asdkcmd1'
_
Public Sub Asdkcmd1()
' Type your code here
MsgBox("load please load!!")

End Sub

End Class

Can anyone help..
*Paul Richardson
Message 4 of 7 (204 Views)

Re: basic error

09-12-2006 11:21 AM in reply to: Evolve-Moysie
>"Load of property 'RootNamespace' failed. The string for the root
>namespace must be a valid identifier.

As far as the error goes: The only things that recently changed were
uninstalling
Visual Assist X and Ref++. Warning started right after that. Also one of
them was
locking up my machine when starting VS2005 if any other app was running.
I uninstalled them both at the same time so I don't know which it was.
Problem
was gone after the uninstalls.

"Paul Richardson" wrote in message
news:5326543@discussion.autodesk.com...
The two are unrelated. I don't know how to fix the warning, I just started
getting
it myself and haven't figured it out. Look at the post below "Problem
debuging Lab1"
to solve the command line error.
wrote in message news:5324637@discussion.autodesk.com...
Hi I am creating a new project in VB using the wizard and get a warning that
"Load of property 'RootNamespace' failed. The string for the root namespace
must be a valid identifier.

When I complie the code, and try to run the command in AutoCAD I get an
"Unknow command" error..

The code is

Imports Autodesk.AutoCAD.Runtime

Public Class EvolveClass

' Define command 'Asdkcmd1'
_
Public Sub Asdkcmd1()
' Type your code here
MsgBox("load please load!!")

End Sub

End Class

Can anyone help..
*Paul Richardson
Message 5 of 7 (204 Views)

Re: basic error

09-12-2006 11:27 AM in reply to: Evolve-Moysie
I only currently have 2.0 installed. I even tried explictily adding it to
startup
in 'acad.exe.config' no help.

"Norman Yuan" wrote in message
news:5326519@discussion.autodesk.com...
You problem most likely is caused by different version of .NET version you
use to develop your .NET API program and Acad uses.

By default, Acad uses latest version of .NET, regardless the version .NET
API itself is based on.

If you tell which version of ACAD and which version of VS (or other .NET
development tool, for which version of .NET) you use, it might be help to
solve your problem.

wrote in message news:5324637@discussion.autodesk.com...
Hi I am creating a new project in VB using the wizard and get a warning that
"Load of property 'RootNamespace' failed. The string for the root namespace
must be a valid identifier.

When I complie the code, and try to run the command in AutoCAD I get an
"Unknow command" error..

The code is

Imports Autodesk.AutoCAD.Runtime

Public Class EvolveClass

' Define command 'Asdkcmd1'
_
Public Sub Asdkcmd1()
' Type your code here
MsgBox("load please load!!")

End Sub

End Class

Can anyone help..
*Paul Richardson
Message 6 of 7 (204 Views)

Re: basic error

09-12-2006 11:29 AM in reply to: Evolve-Moysie

As far as the WARNING goes: ... oops.
"Paul Richardson" wrote in message
news:5326574@discussion.autodesk.com...
>"Load of property 'RootNamespace' failed. The string for the root
>namespace must be a valid identifier.

As far as the error goes: The only things that recently changed were
uninstalling
Visual Assist X and Ref++. Warning started right after that. Also one of
them was
locking up my machine when starting VS2005 if any other app was running.
I uninstalled them both at the same time so I don't know which it was.
Problem
was gone after the uninstalls.

"Paul Richardson" wrote in message
news:5326543@discussion.autodesk.com...
The two are unrelated. I don't know how to fix the warning, I just started
getting
it myself and haven't figured it out. Look at the post below "Problem
debuging Lab1"
to solve the command line error.
wrote in message news:5324637@discussion.autodesk.com...
Hi I am creating a new project in VB using the wizard and get a warning that
"Load of property 'RootNamespace' failed. The string for the root namespace
must be a valid identifier.

When I complie the code, and try to run the command in AutoCAD I get an
"Unknow command" error..

The code is

Imports Autodesk.AutoCAD.Runtime

Public Class EvolveClass

' Define command 'Asdkcmd1'
_
Public Sub Asdkcmd1()
' Type your code here
MsgBox("load please load!!")

End Sub

End Class

Can anyone help..
*Paul Richardson
Message 7 of 7 (204 Views)

Re: basic error

09-12-2006 11:50 AM in reply to: Evolve-Moysie
Also, as soon as I close and reopen the project the warning is gone.

"Paul Richardson" wrote in message
news:5326585@discussion.autodesk.com...
I only currently have 2.0 installed. I even tried explictily adding it to
startup
in 'acad.exe.config' no help.

"Norman Yuan" wrote in message
news:5326519@discussion.autodesk.com...
You problem most likely is caused by different version of .NET version you
use to develop your .NET API program and Acad uses.

By default, Acad uses latest version of .NET, regardless the version .NET
API itself is based on.

If you tell which version of ACAD and which version of VS (or other .NET
development tool, for which version of .NET) you use, it might be help to
solve your problem.

wrote in message news:5324637@discussion.autodesk.com...
Hi I am creating a new project in VB using the wizard and get a warning that
"Load of property 'RootNamespace' failed. The string for the root namespace
must be a valid identifier.

When I complie the code, and try to run the command in AutoCAD I get an
"Unknow command" error..

The code is

Imports Autodesk.AutoCAD.Runtime

Public Class EvolveClass

' Define command 'Asdkcmd1'
_
Public Sub Asdkcmd1()
' Type your code here
MsgBox("load please load!!")

End Sub

End Class

Can anyone help..
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.