【发布时间】:2015-09-22 02:25:28
【问题描述】:
在 beta 5 中,VS2015 中的智能感知不适用于 taghelpers。 我通过将此存根添加到我的项目中修复了缺少的属性错误消息
我该如何解决这个问题?
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
{
}
}
【问题讨论】:
标签: asp.net-core asp.net-core-mvc tag-helpers