[英]Is there a way to get the c# plugin for VSC to work on ubuntu linux for a project with target net5.0-windows?
I need to write unit tests for a customers backend.我需要为客户后端编写单元测试。
Given that the customer is heavily invested in a microsoft ecosystem, his backend makes use of some functionalities offered by setting net5.0-windows as target framework.鉴于客户在微软生态系统中投入了大量资金,他的后端利用了将 net5.0-windows 设置为目标框架所提供的一些功能。
I meanwhile work on a linux machine (ubuntu 20.10, soon to switch to 21.04), so clearly would prefer keeping my optimized workflow going, instead of having to work on a makeshift VM surrounding.同时,我在 linux 机器上工作(ubuntu 20.10,很快将切换到 21.04),因此显然更喜欢保持我优化的工作流程,而不是不得不在临时的虚拟机环境上工作。
So just to make sure, before I setup said VM: is there a way to get the WindowsDesktop.App Runtime to work on linux just fine enough to be able to write tests for it?所以只是为了确保,在我设置之前说 VM:有没有办法让 WindowsDesktop.App 运行时在 linux 上工作,足以为它编写测试? Best using VSC with its C# plugin, but other options would be fine as well.最好使用带有 C# 插件的 VSC,但其他选项也可以。
Seems the answer is as expected: yes, but no (not worth it).似乎答案如预期:是的,但不(不值得)。 Thank you very much to all commenters.非常感谢所有评论者。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.