Reputation: 7314
In beta 5 the intellisense in VS2015 doesn't work for taghelpers. I fixed the missing attribute error message with adding this stub to my project
How can I fix this?
using System;
namespace Microsoft.AspNet.Mvc
{
/// <summary>
/// Specifies that a property or parameter value should be initialized via the dependency injection
/// container for activated types.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class ActivateAttribute : Attribute
{
}
}
Upvotes: 1
Views: 484
Reputation: 7314
Found IT. I used beta 6 for a moment. But forgot to rename _ViewImports to _GlobalImport
Upvotes: 1