本文介绍了MS 假货/垫片与 VS2015 专业版?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为一个项目的客户工作,现有的代码/测试正在使用 MS Fakes 库和 Shims 来隔离测试等...

I am working for a client on a project and existing code/tests are using MS Fakes library and Shims to isolate tests etc...

我在试用中安装了 VS 2015 企业版,一切正常.通过我的 MSDN 订阅,我升级到 VS 2015 Professional,现在测试无法运行,失败:

I installed VS 2015 enterprise edition, on a trial, and all was fine. With my MSDN subscription I get up to VS 2015 Professional and now tests don't run, get failure:

Failed to resolve profiler path from COR_PROFILER_PATH and COR_PROFILER environment variables.

    at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.ResolveProfilerPath()
   at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.IntelliTraceInstrumentationProvider.Initialize()
   at Microsoft.QualityTools.Testing.Fakes.UnitTestIsolation.UnitTestIsolationRuntime.InitializeUnitTestIsolationInstrumentationProvider()
   at Microsoft.QualityTools.Testing.Fakes.Shims.ShimRuntime.CreateContext()
   at Microsoft.QualityTools.Testing.Fakes.ShimsContext.Create()

看着它,垫片试图使用 Intellitrace,这是 VS2015 没有给我的.除了购买 VS 企业版之外,还有人知道解决这个问题的方法吗?

Looking at it the shims is trying to use Intellitrace, which VS2015 doesn't give me. Anyone know a way around this, other than purchasing Enterprise edition of VS?

推荐答案

没关系,只是在 MS 上检查了一下,看起来 Fakes 仅适用于企业版开发人员.... :(

Never mind, just checked on MS and looks like Fakes is only available for Enterprise edition devs.... :(

VS 比较

这篇关于MS 假货/垫片与 VS2015 专业版?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 00:28