minasploit / migration-facilitator

A Plugin designed to help .NET developers using Jetbrains Rider manage their database activities powered by Entity Framework
GNU General Public License v3.0
8 stars 1 forks source link

Projects in the physical directory are displayed incorrectly in the drop-down list #8

Closed DubZero closed 2 years ago

DubZero commented 2 years ago

When solution projects are inside physical directories image

The drop-down list is looks lilke this image

Solution structure in IDE: image

minasploit commented 2 years ago

Can you please check what version of the plugin you're using?

Make sure you have the latest version (v1.0.6) installed.

DubZero commented 2 years ago

Yes, it is 1.0.6 image

minasploit commented 2 years ago

Great. I will see to it in depth. Thanks!!

I already see where the problem is, expect an update soon

DubZero commented 2 years ago

Thank you, for the very useful plugin :)

DubZero commented 2 years ago

Testing release 1.0.7 selected value in drop-down list is correct, but image image image

if I choose a variant it doesn't work. I add to the start "scr/" and it works

image image

minasploit commented 2 years ago

Ahhh, so the addition of the full path is required for dotnet to recognize it as a project... that's interesting.

I had thought that the identification of the right project name will be enough for dotnet, but apparently, it doesn't.

I will do a quick fix for that and recommit. Thanks!

minasploit commented 2 years ago

@DubZero please have a look at the attached zip, and check that it works all good for you

migration-facilitator-1.0.7.zip

DubZero commented 2 years ago

Great! :)

Testing on 2 case

✔ when the src directory is virtual (directory nesting only exists in .sln file, but src directory does not exist)

✔ when the src directory is physical

minasploit commented 2 years ago

The first case might bring up some errors... 🤞 hopefully not

minasploit commented 2 years ago

Checked on my end. The build itself fails, hence the plugin can't circumvent that. I'll take that as a pass and push the release.

minasploit commented 2 years ago

v1.0.7 has been approved and released, fixing this issue. Thank you for all your help @DubZero