2019.2 EAP 5 build 192.5895.291 Duplicate Razor files

Answered

Hi, looks like this latest build of the EAP is showing the .razor files duplicated.

Have you seen this before?

6 comments

Hi! 

Can't reproduce this. Is it occurs on any project or just in one? What is your OS? Could you please try File > Invalidate caches and restart

0

Hi Alexandra, Invalidate caches and restart does not seem to work.

I will send the project in a support ticket, so you guys can look at it and hopefully fix this for the final version.

0

I managed to get a reproducible scenario where the error shows up.

Steps to reproduce:

  1. Install dotnet core 3 preview 7
  2. install the blazor templates
    λ dotnet new -i Microsoft.AspNetCore.Blazor.Templates::3.0.0-preview7.19365.7
  3. create a test Blazor (client-side project)
    λ dotnet new blazor -o ntestbz
  4. edit the *.csproj and add the following:

<ItemGroup>
<!-- extends watching group to include *.js files -->
<Watch Include="**\*.js;**\*.razor" Exclude="node_modules\**\*;**\*.js.map;obj\**\*;bin\**\*" />
</ItemGroup>

when you save Rider will show the behaviour. It looks to be related to the little "[Watch]" labels next to the name.

 

ALL GOOD:

 

WHEN YOU ADD THE WATCH

 

 

0

Thank you! I reproduced this also. Please, follow the RIDER-30926.

0

final version released with the bug :(

0
Unfortunately, it is not planned yet. We apologize for inconvenience.
0

Please sign in to leave a comment.