Link to home
Start Free TrialLog in
Avatar of LeighWardle
LeighWardleFlag for Australia

asked on

Visual Studio 2013 vb.net Project Properties error: "The string for the root namespace must be a valid identifier"

Hi Experts,

I am running Visual Studio 2013.

I have a vb.net Project for which I want to change Properties | Application | Root namespace to "Myapp 6.0"

I am getting this error:

 "The string for the root namespace must be a valid identifier"

I did some googling and understand this is a valid string, but I cannot get it to work.

Regards,
Leigh
Avatar of Michael Fowler
Michael Fowler
Flag of Australia image

Not sure about whitespace. Try "Myapp_6.0"
Avatar of Naitik Gamit
To change your root namespace, do the following:

In Solution Explorer, right-click on your project and click Properties

The root namespace is contained within the Default Namespace textbox, simply check that it doesn't contain any invalid characters such as ?, ', ., :, ;, etc
ASKER CERTIFIED SOLUTION
Avatar of Michael Fowler
Michael Fowler
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
YES,you cannot use that in properties....................
Avatar of LeighWardle

ASKER

Hi Michael,

I tried (all  without quotes):

 "Myapp_6-0" - still get the same error.
 "Myapp-6-0" - still get the same error.

But  "Myapp_6_0" without quotes - works!
So "-" is also an invalid character.