简体   繁体   English

NET标准/核心的NCrunch TestProjects无法正常工作

[英]NCrunch TestProjects with .net standard / core not working

I use ncrunch for my testing environment in vs2017. 我在vs2017中将ncrunch用于我的测试环境。

In some projects i get a weired exception that projects could not be resolved 在某些项目中,我得到一个奇怪的例外,即无法解决项目

To reproduce i do the following steps: 要重现,请执行以下步骤:

  • Create a new .net standard 1.4 project 创建一个新的.net standard 1.4项目
  • create a .net core xunit test project 创建一个.net核心xunit测试项目
  • In the xunit project we add a reference to the .net standard project 在xunit项目中,我们添加了对.net标准项目的引用

Error: 错误:

Quote: 引用:

NCrunch: If you are experiencing problems in getting this project to build, have a look at http://www.ncrunch.net/d...ng_project-build-issues ..............\\vs2017\\MSBuild\\Sdks\\Microsoft.NET.Sdk\\build\\Microsoft.NET.Sdk.targets (92, 5): Cannot find project info for 'C:\\Users\\BoasE\\AppData\\Local\\NCrunch\\50412\\8\\dev\\BLS_UserApi\\src\\BoundContextes\\Subscriptions\\ClassLibrary1\\ClassLibrary1\\ClassLibrary1.csproj'. NCrunch:如果您在构建此项目时遇到问题,请访问http://www.ncrunch.net/d...ng_project-build-issues ............. 。\\ vs2017 \\ MSBuild \\ Sdks \\ Microsoft.NET.Sdk \\ build \\ Microsoft.NET.Sdk.targets(92,5):找不到'C:\\ Users \\ BoasE \\ AppData \\ Local \\ NCrunch \\ 50412 \\的项目信息8 \\ dev的\\ BLS_UserApi \\ SRC \\ BoundContextes \\订阅\\ ClassLibrary1的\\ ClassLibrary1的\\ ClassLibrary1.csproj”。 This can indicate a missing project reference. 这可能表明缺少项目参考。

Remarks: As the descriped problem cost me some time and the exception is not obvious that it is related to a compatibility issue i post this save their time. 备注:由于描述的问题使我花了一些时间,而且与兼容性问题有关的例外并不明显,因此我节省了他们的时间。

Currently .net standard / core is not supported. 当前不支持.net标准/核心。 it is plmaned for begin of march 2017 预计将于2017年3月开始

Please note that NCrunch does not yet support netstandard or .NET core projects. 请注意,NCrunch尚不支持netstandard或.NET核心项目。 This is currently a work in progress 目前正在进行中

https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/8065623-support-net-core-net-standard-previously-known https://ncrunch.uservoice.com/forums/245203-feature-requests/suggestions/8065623-support-net-core-net-standard-previously-known

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM