Revious
Revious

Reputation: 8156

Is Visual Studio lacking of compile time check / intellisense on namespace in config files?

I was dealing with Caste IOC container. The same operation can be done inside c# code and in the config file.

  1. ServicesContainer.InstanceForTest().Container.Register(Component.For<IUserDAO>().ImplementedBy<UserDAO>());

  2. <component service="Services.Application.DAL*[...]*, Services.Application.DAL" type="Services.Application.DAL.User.UserDAO, Services.Application.DAL" />

The first requires a reference and a compilation, the second one could be resolved also at run-time (but visual studio could try to check it also at compile time).

Actually there seems to be not suggestion or check by the IDE:

IDE configuration:

Can I enable some option to enable syntax highlighting?

Upvotes: 0

Views: 67

Answers (0)

Related Questions