초기 베타 (dnx) 일의 this question처럼, .net core 1.0 rtm으로 포트 코드를 보내려고합니다. 다음 코드는 ValidationAttribute 유형 및 기타 물건 :.net 코어 1.0에서 데이터 주석을 사용할 수 없습니다.
using System.ComponentModel.DataAnnotations;
namespace Hl7.Fhir.Introspection
{
[AttributeUsage(AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
public sealed class FhirElementAttribute : ValidationAttribute
...
어떻게 DOTNET 코어 1.0 RTM으로 I 포트와 같은 코드를합니까?
을 가리 킵니다. 초기 베타 버전에서는 단위 이름이 System.ComponentModel.Annotations로 변경되었지만 작동하지 않습니다. –
[this] (https://www.nuget.org/packages/System.ComponentModel.Annotations/4.1.0-rc2-24027)을 사용해 보셨습니까? – lokusking
아, 출시 전의 비트지만 닷넷 -RC2 수준의 비트가 아닙니다 –