-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content Include .feature
files in .csproj
#1
Comments
The plugin does not control what is shown here. Rider is using the rules in the csproj (and the imported rules from from the Reqnroll nuget) to list this. If with specflow this is displayed and not with reqnroll then I would think the problem is in Reqnroll targets/properties rules. @gasparnagy Do you know if there was there any change on that part on reqnroll and could you send me a link to where those files are in the reqnroll repository ? |
@Socolin there was no change in the target/property structure, but the properties have been renamed. I see such strange issues in VS, when the IDE is opened before the appropriate Reqnroll NuGet packages have been restored. @konarx could you please try to make a "dotnet restore" and open Rider only after that? |
So on a project still using specflow I don't have any problem, so I think something either was not rename correctly in the plugin or something changed in the csproj. It'll need more investigation |
So I took a look more deeply and the problem is only with Reqnroll, when using Specflow Nuget it works, even without any plugin so there is a problem somewhere in the .props, but this is weird because when I add the following snippet to the csproj rider detect them in double, so my guess is that rider find the
And without the The files can be found there I check the difference between both files (from SpecFlow and Reqnroll) and I was not able to find any meaningful difference, the only diff are on the Also while I'm this file I think those line should be added (I did not have time to test this yet)
|
@Socolin Yes, fixing the net3.1 stuff is in progress. (SpecFlow has the same, so I don't think it has relevance.) Maybe we should ask help from the Rider team? |
I did, and they told me we should build 2 projects (1 with specflow/reqnroll) with binlogs and try to find the differences. |
I don't think it's an issue with the plugin; if I have a project with the following dependencies and the Rider plugin enabled:
I can see the
The The noted resolution from that issue of adding them via an |
I'm also experience this with Rider 2024.1.2 and Reqnroll plugin 2024.1.3. One thing that I can add to the discussion is that with Reqnroll plugin + latest SpecFlow.NUnit (3.9.74 as of writing) Rider will present the feature file with the feature.cs file under it, that is as expected without adding anything to the csproj file. I did try and go back in SpecFlow.NUnit versions and it was first at 3.3.57 that the *.feature.cs files started to be presented under their corresponding *.feature file. I'm not sure if this could be of any help in troubleshooting this.. Regards |
Related to Discussion #57:
Hello!
After Reqnroll migration, the following snippet introduced in the
.csproj
file:When using SpecFlow it wasn't there. And if I remove it, the IDE can not identify
.feature
files, only the.feature.cs
files.I am using Rider with the latest build of the Rider.Reqnroll plugin.
Here is how it looks when having the above snippet in
.csproj
and how it should be looking even when remove it:and this is how it actually looks when removing it:
The text was updated successfully, but these errors were encountered: