运行 c# visual studio 项目 windows,创建于 ubuntu
Run c# visual studio project in windows, created in ubuntu
我在 Ubuntu 15.04 中创建的 Visual Studio 控制台应用程序有问题。当我在 Windows 10 中尝试 运行 Visual Studio 中的 c# 程序时,出现错误 "visual project does not contail any commands in project.json and cannot be start"。如何解决?
我只有 json 文件,但我没有任何 sln 和 csproj。
最简单的解决方案:创建新的空控制台应用程序并将内容 (.cs) 文件从 linux 存储库粘贴到它。构建和编译。
请记住解决可能发生的冲突(在 linux 环境中使用的库在 windows 中可能有问题)。
我在 Ubuntu 15.04 中创建的 Visual Studio 控制台应用程序有问题。当我在 Windows 10 中尝试 运行 Visual Studio 中的 c# 程序时,出现错误 "visual project does not contail any commands in project.json and cannot be start"。如何解决? 我只有 json 文件,但我没有任何 sln 和 csproj。
最简单的解决方案:创建新的空控制台应用程序并将内容 (.cs) 文件从 linux 存储库粘贴到它。构建和编译。 请记住解决可能发生的冲突(在 linux 环境中使用的库在 windows 中可能有问题)。