Reputation: 995
I have a MVC project .NET 4.5, using VS 2013
When I start debugging the project, I get the following error on my Viewmodel:
Ambiguous reference:
Vin.Model.ViewModel.Bottle.BottleDetailsViewmodel
Vin.Model.ViewModel.Bottle.BottleDetailsViewmodel
match
If I stop debugging and clean the solution everything is OK, but as soon as I start debugging the error is back.
Perhaps I also should point out that this is only occurs in the views, not in the controller class or anywhere else in the solution.
Upvotes: 1
Views: 1990
Reputation: 1
You can try following,
it is not the complex one . just add fully qualified name that is , model."class name"
Upvotes: 0
Reputation: 1597
You could try:
Upvotes: 4