ASP.NET Web Api: Project requires SQL Server Express

前端 未结 3 2036
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-05 00:12

I created a Web API project under VS 2010. After I switched to VS 2012, I always get a warning:

The Web project \'xxx\' requires SQL Server Express, whcih

3条回答
  •  后悔当初
    2021-02-05 00:47

    you can also change the connection string to the new SQL 2014+ syntax "Data Source=(LocalDb)\MSSQLLocalDB;..." if you have a later version of SQL Express local db installed.

提交回复
热议问题