简体   繁体   English

Xamarin项目中没有ReSharper清理功能

[英]ReSharper cleanup not available in Xamarin projects

I'm using ReSharper Ultimate version 2017.1.2 in Visual Studio 2017 Enterprise and I experience problems regarding the cleanup. 我在Visual Studio 2017 Enterprise中使用ReSharper Ultimate版本2017.1.2,我遇到了有关清理的问题。 As for instance this post states out, ReSharper will disable cleanup under certain conditions. 例如, 这篇文章指出,ReSharper将在某些条件下禁用清理。

In my case the cleanup is completely disabled if there is at least one Xamarin-based project loaded in the solution. 在我的情况下,如果解决方案中至少加载了一个基于Xamarin的项目,则完全禁用清理。 So lets say my solution looks like this: 所以说我的解决方案看起来像这样:

Solution1
   + ProjectA (.NET DLL)
   + ProjectB (Xamarin.iOS)
   + Proect C (.NET DLL)

In this case ReSharper Cleanup will not be available in any of the files. 在这种情况下,ReSharper Cleanup将不会在任何文件中提供。 If I now create a new solution file which will omit "ProjectB": 如果我现在创建一个省略“ProjectB”的新解决方案文件:

Solution2
   + ProjectA (.NET DLL)
   + Proect C (.NET DLL)

everything just works as expected. 一切都按预期工作。

This means I cannot cleanup my Xamarin stuff currently which was possible in the past I'm pretty sure. 这意味着我无法清理目前过去可能的Xamarin东西,我很确定。 Does anyone now how to fix this? 现在有人怎么解决这个问题?

Visual Studio更新到15.2 (26430.6)15.2 (26430.6) ,bevavior消失了。

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

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