resharper Questions
5
Solved
I have a relatively large Visual Studio solution.
I need to export all the source code into a text file. I would also want to include a file name somewhere. How can I do so?
For example if I ha...
Rookie asked 21/3, 2013 at 11:51
2
Solved
Is there an easy way to export/share my Rider code style settings and use those in ReSharper (VS) and vice versa?
2
This question relates to ReSharper. If I have an interface that looks like this:
public interface IOrder {
Task SetDeleted(Guid id);
}
and my class inherits from that interface, I would expect ...
Pyromorphite asked 8/3, 2019 at 8:46
3
Solved
In ISerialized, Resharper is complaining that "Only implementations of 'SerializeShape" are used. Is there something more I should be doing, or is my use of an interface simply over-kill in this in...
4
Solved
What does this mean in contrast to "unreachable code detected"?
3
I have Resharper installed in Visual Studio, and am using the standard 'dark' theme, and somehow I managed to change something so that the '{0}' characters in a format string are no longer colored ...
Trounce asked 17/12, 2014 at 15:40
4
I am not so happy with primary constructors - because the constructor parameters are not readonly, it's too error prone in my opinion, especially when working with base classes which receive their ...
Incurrence asked 24/1, 2024 at 11:39
14
Solved
I recently converted from MSTest to NUnit. I did this by
replacing all occurrences of [TestMethod] by [Test], [TestClass] by [Test], etc.
I also deleted the Microsoft.VisualStudio... reference a...
91
I am currently working on a solution that has currently 32 Unittests. I have been working with the resharper test runner - which works fine. All tests are running, all tests are showing the right t...
Mcafee asked 29/4, 2014 at 11:14
3
Solved
I have a function I want to move to a different object. In the code, I select the function that I want to move. I use ReSharper > Refactor > Move but nothing happens.
Satterfield asked 1/7, 2014 at 12:50
59
Solved
I have a test class and below I have posted a sample test from the test class
namespace AdminPortal.Tests.Controller_Test.Customer
{
[TestClass]
public class BusinessUnitControllerTests
{
priv...
Ivanivana asked 19/8, 2013 at 10:3
12
Solved
I've met with a strange problem. I had 7 projects in the solution. I had to add another MVC project. Now when the document (from the new project) is opened (for example HomeController.cs) and when ...
Poteet asked 26/9, 2016 at 12:55
3
Solved
I often bind the IsExpanded and IsSelected properties of a TreeViewItem to my viewmodel. This for example makes it possible to make an item pre-expanded when the tree is loaded or expand an item wh...
5
Solved
I have an abstract class:
public abstract class ExampleBase : IExampleBase
{
protected ExampleBase()
{
this.SetupData();
}
protected abstract Dictionary<int, Adress> RelevantData { ge...
10
I use the java IDE IntelliJ IDEA and one of the features I like is that there's no saving. Everything's always saved and you just use history navigation. I tend to have both editors open and I'm al...
Milena asked 11/6, 2009 at 6:0
40
Solved
I have a problem with Visual Studio on a C# solution. It displays totally random errors, but the projects build. Right now, I have 33 files with errors, and I can see red squiggly lines in all of t...
Dichromatic asked 17/7, 2013 at 14:47
6
Solved
Is there any sort of plug-in or tool available for Visual Studio 2008 to alphabetize methods? Ideally I'd like a tool that will alphabetize a selection, or specified type (i.e. only methods, not me...
Monasticism asked 21/1, 2009 at 18:21
8
Solved
Is there a shortcut to surround a given (selected) code block with curly braces?
VS 2015 + R# 2016.1
Derward asked 4/5, 2016 at 13:24
3
Solved
I have an extension method which returns a value. In this case, it should set a specific bit in a byte:
public static byte SetBit(this byte b, int bitNumber, bool value)
{
if (value)
{
return (b...
Pilchard asked 21/4, 2016 at 0:27
24
When using Visual Studio 2008 and debugging my unit tests... sometimes the debugger works fine. However very often after modifying some code then clicking "Debug Unit Test" Visual Studio will fail ...
Unbelievable asked 2/12, 2010 at 5:53
2
Solved
I'm encountering an issue when using both ReSharper and GitHub Copilot in Visual Studio 2022. Both of these tools offer code suggestions, which is incredibly helpful, but they sometimes clash, lead...
Pentup asked 9/11, 2023 at 10:31
2
Solved
I'm refactoring a pre-existing solution. I use ReSharper and I've noticed a code inspection rule is being tripped. There is an abstract class which has bodyless method signatures with the intention...
Dignitary asked 3/8, 2015 at 22:37
5
Solved
if I do CTRL-click on method's name in VS2012 with Resharper 8, I'm redirected to the method's "declaration" - and that's quite inconvenient if I have lots of interfaces in my project.
If it possi...
Copse asked 29/11, 2013 at 23:34
3
Solved
I'm running unit tests in ReSharper with NUnit 3.10.
I'm getting this error when doing a simple async test:
Method has non-void return value, but no result is expected
My test is literally:
[Test...
Amnesty asked 5/8, 2021 at 12:44
7
Solved
I have an issue very similar to this one.
Debugging any test in Resharper returns "Inconclusive: test not run". This occurs for every test, every solution, every project at my machine. Re...
Gibber asked 7/8, 2020 at 16:41
1 Next >
© 2022 - 2025 — McMap. All rights reserved.