相关疑难解决方法(0)

Process.start:如何获得输出?

我想从我的Mono/.NET应用程序运行外部命令行程序.例如,我想运行mencoder.可能吗:

  1. 要获取命令行shell输出,并将其写在我的文本框中?
  2. 要获得数值以显示时间流逝的进度条?

.net c# mono process.start

281
推荐指数
6
解决办法
27万
查看次数

如何将LocalDB添加到Visual Studio 2015社区的SQL Server对象资源管理器?

问题

我不明白如何在SQL Server对象资源管理器中显示LocalDB.在某些虚拟机上,它会自动显示,在某些其他虚拟机上则不会.谷歌搜索了几个小时后,我还是没有得到它.

现在的情况

  1. 我有一个干净的VM
  2. 我安装了Visual Studio 2015社区(所有默认设置)
  3. 我让控制台应用程序运行(实体框架6,代码优先,控制台应用程序),它在另一个虚拟机上运行并自动创建一个数据库,然后在SQL Server对象资源管理器中显示; 但这次不是

错误说:

System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local …
Run Code Online (Sandbox Code Playgroud)

sql-server localdb visual-studio-2015

54
推荐指数
4
解决办法
12万
查看次数