Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all 106942 articles
Browse latest View live

RSRP-458574: R# Build fails with a error if there is InstallShield project in a solution

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Apr 28, 2016 6:38:58 PM
Updated Apr 16, 2018 3:47:26 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Error MSB3108: Error executing the AssignProjectConfiguration task. '/' is an unexpected token. The expected token is '>'. Line 4, position 224. (1, 1)

RSRP-467326: Project without configuration appears when VS Performance profiler is started

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Nov 30, 2017 7:39:06 PM
Updated Apr 16, 2018 3:50:01 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Create a new Console Application.
Analyze -> Performance profiler
Select Performance wizard and press Start. Press Finish - Build & Run window says there is a project without configuration.
https://www.screencast.com/t/e1ESSMub

Delete .press file from Misc files to fix it.

RSRP-466755: ReSharper Build throws an exception for .NET core project with Docker support if "Target OS" is "Linux"

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Oct 23, 2017 4:47:56 PM
Updated Apr 16, 2018 3:53:08 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2017.2.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Resharper Build is failing when it builds a .Net Core 2 Web API project with docker.

I get the following error in the build output

Error: Process finished with exception Receive finish event for invalid project: C:\GitWorkspace**********.git*********.csproj
 at JetBrains.Platform.MsBuild.TaskCommon.Build.BuildEventStorage.ProcessProjectFinishedEventArgs(ProjectFinishedEventArgs projectFinishedEventArgs)
 at JetBrains.Platform.MsBuild.TaskCommon.Build.BuildEventStorage.ProcessProjectFinishedEventArgs(ProjectFinishedEventArgs projectFinishedEventArgs)
 at JetBrains.Platform.MsBuild.TaskCommon.Build.BuildEventStorage.<>c__DisplayClass5.<ProcessEventArgs>b__4(ProjectFinishedEventArgs finishedArgs)
 at JetBrains.Util.SwitchUtil.Switch[T](Object o, Action`1 action)
 at JetBrains.Platform.MsBuild.TaskCommon.Build.BuildEventStorage.ProcessEventArgs(IBuildEventArgsInfo argsInfo)
 at JetBrains.Platform.MsBuild.TaskCommon.Build.BuildEventStorage.ProcessOnce()
 at JetBrains.Platform.MsBuild.TaskCommon.Build.BuildEventStorage.ProcessInfinite()
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()

RSRP-454725: Solution builder doesn't build Visual Studio installer projects

$
0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Mar 4, 2016 12:25:34 PM
Updated Apr 16, 2018 3:56:53 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Major
State Submitted
Type Bug
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
1. Install extension https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c300-40a7-8797-c509fb8933b9
2. Create any installer project
3. Try to build using ReSharper build

Result: build is not performed.

RSRP-435819: Solution settings layer does not overwrite more generic settings layers when solution settings are identical to ReSharper default settings

$
0
0
Reporter Benjamin Roberts (ben@catchuplabs.com) Benjamin Roberts (ben@catchuplabs.com)
Created Mar 24, 2015 2:43:03 AM
Updated Apr 16, 2018 4:00:33 PM
Subsystem Platform - Layered Settings
Assignee Serge Baltic (baltic)
Priority Critical
State Open
Type Bug
Fix version 2018.1
Affected versions 9.0 Update 1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Layered settings configuration does not appropriately save configuration settings when they are identical to ReSharper default settings. This may be intended design, but I purport this is actually a bug based on my understanding of intended use as informed by this blog post, this documentation and the linked "Relates to" issues.

My working situation that coerced this bug is as follows:

I write software for my own company, and I also contract to an external company. For my own company solutions, I use one code formatting style defined in my "This Computer" ReSharper settings layer. This formatting style differs from the ReSharper default formatting style, and ReSharper writes these changes to my DotSettings file for this layer as is expected.

The company I am contracted to has its own code formatting style which differs from my company's, but is in fact the same as the ReSharper default settings. When I attempt to save to the "Solution" layer settings file, ReSharper does not export these settings to the file because they are identical to the ReSharper default settings. This means that my "This Computer" layer settings always overwrite the ReSharper defaults as it has settings saved within its configuration file, while the "Solution" specific layer settings never overwrites the more generic "This Computer" values as there are no settings defined within the "Solution" configuration file.

If my understanding is correct, this breaks the intended use and usability of the layered settings system.

RSRP-464283: Feedback Center asks to remove attachments even if there are no attachments

$
0
0
Reporter Konstantin Katsnelson (Konstantin.Katsnelson) Konstantin Katsnelson (Konstantin.Katsnelson)
Created Apr 7, 2017 10:16:15 PM
Updated Apr 16, 2018 4:05:53 PM
Subsystem Exception submitter
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2017.1.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-468457: Rework the window shown after reporting a bug from Feedback Center

$
0
0
Reporter Konstantin Katsnelson (Konstantin.Katsnelson) Konstantin Katsnelson (Konstantin.Katsnelson)
Created Feb 14, 2018 10:30:24 PM
Updated Apr 16, 2018 4:06:23 PM
Subsystem Exception submitter
Assignee Arseny Chernyaev (Arseny.Chernyaev)
Priority Critical
State Open
Type Cosmetics
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

  • Remove "You can also..." text and the line;
  • Decrease window's size;
  • Remove a scroller;
  • Forbid maximization of the window;

RSRP-469270: Support es6 modules via Tag

$
0
0
Reporter Albert Weinert (der-albert.com) Albert Weinert (der-albert.com)
Created Apr 16, 2018 4:10:25 PM
Updated Apr 16, 2018 4:10:25 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions


Evergreen Browsers now support es6 module import (firefox soon). I think ReSharper should also support this with syntax highlighting and intellisense

RSRP-447821: Inspect Value Origin fails

$
0
0
Reporter Gianluigi Salvi (Gianluigi.Salvi) Gianluigi Salvi (Gianluigi.Salvi)
Created Sep 2, 2015 3:10:48 PM
Updated Apr 16, 2018 4:11:53 PM
Subsystem Inspect This - Value Tracking
Assignee Alexander Ulitin (alexander.ulitin)
Priority Normal
State Submitted
Type Bug
Fix version Backlog
Affected versions 9.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Resharper fails to find where the list SelectedEvents gets its elements added. I think it's only looking for assignment but it appears as an incomplete feature. In the attached file "InspectValueOrigin.png" is possible to see resharper failure to see where the list is populated. In the file "WhereIsPopulated.png" you can see that a special method is used to populate the list, and it's detailed in the file called "HowIGetSureOfIt.png".
Maybe it's not a bug, but more a missing feature. The great challenge for resharper is to better understand the code. To simplify the complexity to the developer and to become more and more reliable.

RSRP-466506: Broken Build and Run view for a specific solution

$
0
0
Reporter Tatyana Lunegova (lunega) Tatyana Lunegova (lunega)
Created Oct 4, 2017 3:24:48 PM
Updated Apr 16, 2018 4:13:38 PM
Resolved Apr 16, 2018 4:13:38 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Can't Reproduce
Type Bug
Fix version 2017.3
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
VS 15.4 Preview 4, LSL is on.
When solution is opened for the first time Build and Run widow is not colored. There is an exception when build is started DEXP-289062. The blocks in the window remain black.
https://www.screencast.com/t/bUrCER8H

At the second opening Build and Run works fine.

RSRP-454442: Make "Don't build by default" checkbox status more visible

$
0
0
Reporter Angelina Elycheva (Angelina.Elycheva) Angelina Elycheva (Angelina.Elycheva)
Created Feb 26, 2016 1:44:29 PM
Updated Apr 16, 2018 4:13:57 PM
Subsystem Solution builder
Assignee Anton Spilnyy (Anton.Spilnyy)
Priority Critical
State Submitted
Type Usability Problem
Fix version 2018.2
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Please make this checkbox status more visible (maybe in tool window name)

RSRP-469033: Some invalid automatic codecompletion strategies that was started before (and should be filtered by AcceptsFile) may prevent valid strategies from starting

$
0
0
Reporter Mikhail Senkov (micha) Mikhail Senkov (micha)
Created Apr 2, 2018 5:16:20 PM
Updated Apr 16, 2018 4:26:56 PM
Subsystem IntelliSense (Code Completion)
Assignee Mikhail Senkov (micha)
Priority Normal
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
see AspAutopopupTest

RSRP-469192: Types from the lib.d.ts sometimes are absent in completion

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Apr 10, 2018 6:18:04 PM
Updated Apr 16, 2018 4:29:03 PM
Subsystem IntelliSense (Code Completion)
Assignee Nikita Popov (poksh)
Priority Critical
State Open
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

RSRP-468975: Support: CS8179: Predefined type 'System.ValueTuple`2' is not defined or imported (23, 9)

$
0
0
Reporter Alexander Ulitin (alexander.ulitin) Alexander Ulitin (alexander.ulitin)
Created Mar 29, 2018 1:58:05 PM
Updated Apr 16, 2018 4:32:31 PM
Subsystem Code Analysis - C#
Assignee Andrew Karpov (andrew.karpov)
Priority Major
State Fixed In Branch
Type Bug
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
Project 1 (with ValueTuple reference)
namespace App1
{
public static class Program
{
public static (int, int) Method()
{
return (1, 1);
}
}
}
Project 2 (no ValueTuple reference)
namespace App2
{
class Program
{
static void Main(string[] args)
{
var (item1, item2) = App1.Program.Method();
}
}
}

RSRP-464413: The "Display [Nullness] annotations" option for completion appearence doesn't work

$
0
0
Reporter Alexander Petrovsky (apetrov2) Alexander Petrovsky (apetrov2)
Created Apr 18, 2017 12:57:43 PM
Updated Apr 16, 2018 4:34:08 PM
Subsystem IntelliSense (Code Completion)
Assignee Mikhail Senkov (micha)
Priority Critical
State Open
Type Bug
Fix version 2018.2
Affected versions 2018.1, 2017.1.2
Fixed In Version ReSharper Undefined
VsVersion All Versions
Options -> IntelliSense -> Completion Appearence -> Annotations

RSRP-463547: NUnit TestCases with escaped characters are incorrectly displayed in the runner

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Mar 10, 2017 4:00:08 PM
Updated Apr 16, 2018 4:35:04 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Critical
State Reopened
Type Bug
Fix version 2018.2
Affected versions 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
Running a test case such as:
[Test] 
[TestCase("Example 1\nExample 2", "Example 1\r\nExample 2")]
[TestCase("\nPrefixedNewLine", "\r\nPrefixedNewLine")]
[TestCase("EndNewLine\n", "EndNewLine\r\n")]
[TestCase("NothingToChange\r\nHere", "NothingToChange\r\nHere")]
[TestCase("MultipleNew\r\n\n\n\n\r\n\r\n\nLines", "MultipleNew\r\n\r\n\r\n\r\n\r\n\r\n\r\nLines")]
public void StringVerification(string original, string expected)
{
string transformed = original;

Assert.That(transformed, Is.EqualTo(expected));
}
will result in duplicate sets of tests in the test runner on the first run, with the first set of tests being inconclusive and having names with unescaped names.

I presume ReSharper doesn't escape the strings as part of the test name, but NUnit does, and so the test runner is out of date with NUnit until it gets the actual names from NUnit.

RSRP-468486: Unresolved symbols from Microsoft.Office.Tools.dll

$
0
0
Reporter Anna Milova (anna.milova) Anna Milova (anna.milova)
Created Feb 22, 2018 3:47:05 PM
Updated Apr 16, 2018 4:36:28 PM
Subsystem Code Analysis
Assignee Slava Tutushkin (slava.tutushkin)
Priority Major
State Open
Type Bug
Fix version 2018.2
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
       [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Tools.Office.ProgrammingModel.dll", "10.0.0.0")]
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Never)]
private void InitializeCachedData() {
if ((this.DataHost == null)) {
return;
}
if (this.DataHost.IsCacheInitialized) { // unresolved IsCacheInitialized
this.DataHost.FillCachedData(this); // unresolved FillCachedData
}
}

RSRP-469271: Some TestNames with periods in them do not display properly in the test runner UI for .NET Core projects (netcoreapp2.0)

$
0
0
Reporter Rian Stockbower (rianjs) Rian Stockbower (rianjs)
Created Apr 16, 2018 4:53:44 PM
Updated Apr 16, 2018 4:53:44 PM
Subsystem Unit Testing
Assignee Eugene Strizhok (Eugene.Strizhok)
Priority Normal
State Submitted
Type Bug
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

Some periods (but not all) appears to be treated like a namespace or category in ReSharper v 2017.3.5

This appears to be a .NET Core only behavior, as I recently converted this from regular framework, and had no such issues.

Test method:

public static IEnumerable<ITestCaseData> GetScheduleForResourcesAsync_ExceptionTestCases()
{
    yield return new TestCaseData(_id, DateTimeOffset.MinValue, DateTimeOffset.MaxValue)
        .SetName("Start = DateTimeOffset.MinValue, End = DateTimeOffset.MaxValue returns 400 BadRequest");
}

Here's the full csproj:

<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.0</TargetFramework>
  </PropertyGroup>

  <PropertyGroup>
   <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
   <ApplicationIcon />
   <OutputType>Library</OutputType>
   <StartupObject />
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net462|AnyCPU'">
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
    <WarningsAsErrors></WarningsAsErrors>
    <NoWarn>1701;1702;1705;NU1605</NoWarn>
  </PropertyGroup>

  <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net462|AnyCPU'">
    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
    <WarningsAsErrors></WarningsAsErrors>
    <NoWarn>1701;1702;1705;NU1605</NoWarn>
  </PropertyGroup> 

  <ItemGroup>
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.6.1" />
    <PackageReference Include="Ical.Net" Version="4.0.6" />
    <PackageReference Include="Moq" Version="4.8.2" />
    <PackageReference Include="NUnit" Version="3.9.0" />
    <PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\CalendaringService\CalendaringService.csproj" />
  </ItemGroup>

</Project>

See attached screenshot for what the runner looks like.

RSRP-469272: Rename: .cshtml files get processed during rename of private field in .cs file.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 16, 2018 4:56:55 PM
Updated Apr 16, 2018 4:56:55 PM
Subsystem Refactorings
Assignee Alexander Ulitin (alexander.ulitin)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.1.1
Affected versions 2018.1
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 2018.1 12.0.20180414.154021.

Snapshot: \msdc\Snapshots\LSH\Jafigoj.zip
Test solution: \msdc\Snapshots\LSH\nopCommerce-develop2.zip

  1. Invoke Refactor This -> Rename on panel in Log class.
  2. Set valid name and uncheck "Search in comments and string literals".
  3. Click Next.

Actual result:
.cshtml files get processed. Rename takes ~ 3 min in solution with 697 .cshtml files.

Expected result:
.cshtml files are not processed.

RSRP-463422: Mistaken possible null report

$
0
0
Reporter Alexander Kurakin (Alexander.Kurakin) Alexander Kurakin (Alexander.Kurakin)
Created Mar 6, 2017 3:28:14 PM
Updated Apr 16, 2018 5:18:42 PM
Subsystem Code Analysis - Annotations
Assignee Ivan Serduk (IvanSerduk)
Priority Major
State Submitted
Type Bug
Fix version 2017.2
Affected versions 2017.1
Fixed In Version ReSharper Undefined
VsVersion All Versions
The code below has ReSharper mistakenly complaining that the results of server.MapPath() can be null, and that therefore File.GetLastWriteTime() is potentially being given a null argument.

If you pass a null to MapPath, ReSharper is (correctly) happy that this result can be passed successfully to GetLastWriteTime() – there is a guaranteed non-null result from GetLastWriteTime(null). If you pass a NON-null argument to MapPath(), ReSharper is also (correctly) happy. It is only if you pass a variable like "file" to the MapPath() method that ReSharper (incorrectly) complains.
private DateTime NullParameterIssue( [NotNull] System.Web.HttpServerUtility server, 
[CanBeNull] string file)
=> System.IO.File.GetLastWriteTime(server.MapPath(file));
Viewing all 106942 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>