RazorSlices icon indicating copy to clipboard operation
RazorSlices copied to clipboard

Dont integrate with rider

Open Pragrammist opened this issue 1 year ago • 3 comments

it's rider image

but if open in vscode image

but if with open vscode in parallel it work fine or if reopen rider image

Pragrammist avatar Jul 06 '24 15:07 Pragrammist

Is this still the case? Can you try this again using the latest version of this library (0.9.4)?

DamianEdwards avatar Jul 30 '25 05:07 DamianEdwards

Is this still the case? Can you try this again using the latest version of this library (0.9.4)?

Still seeing this in version 0.9.5

Image

Project still builds are runs without errors

coneillpj avatar Sep 08 '25 21:09 coneillpj

I ran into a similar issue when I added RazorSlices to my project and tried the "Hello World" sample from the README. My project also uses Razor Pages, and I discovered that because I hadn’t set EnableDefaultRazorSlices in the .csproj file, the build produced a source-generated file in the wrong directory under obj. This resulted in two different versions of the generated Razor file, which ended up confusing Rider.

Closing the IDE, deleting the bin and obj folders, and then rebuilding the project from within Rider resolved the issue.

Eonix avatar Oct 17 '25 15:10 Eonix