basic error

basic error

Anonymous
Not applicable
1,420 Views
6 Replies
Message 1 of 7

basic error

Anonymous
Not applicable
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..
0 Likes
1,421 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
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:[email protected]...
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..
0 Likes
Message 3 of 7

Anonymous
Not applicable
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:[email protected]...
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..
0 Likes
Message 4 of 7

Anonymous
Not applicable
>"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:[email protected]...
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:[email protected]...
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..
0 Likes
Message 5 of 7

Anonymous
Not applicable
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:[email protected]...
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:[email protected]...
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..
0 Likes
Message 6 of 7

Anonymous
Not applicable

As far as the WARNING goes: ... oops.
"Paul Richardson" wrote in message
news:[email protected]...
>"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:[email protected]...
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:[email protected]...
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..
0 Likes
Message 7 of 7

Anonymous
Not applicable
Also, as soon as I close and reopen the project the warning is gone.

"Paul Richardson" wrote in message
news:[email protected]...
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:[email protected]...
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:[email protected]...
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..
0 Likes