[英]Adding a reference to an ASP.NET project
我想使用以下系統參考:ASP.NET MVC項目上的System.Device.Location.CivicAddress() ,但是將其添加到using部分時沒有任何反應。
這是我的代碼段:
using System;
**using System.Device.Location;**
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Frappuccino.Models
{
public class Client
{
[Key]
public Int16 ID { get; set; }
[Required]
public String Name { get; set; }
[Required]
**public CivicAddress Address { get; set; }**
}
}
有人知道嗎
如果使用Visual Studio:
這會將程序集添加到您的項目中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.