Skip to content
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

Not working #31

Closed
TeguSolutions opened this issue Dec 9, 2021 · 4 comments
Closed

Not working #31

TeguSolutions opened this issue Dec 9, 2021 · 4 comments

Comments

@TeguSolutions
Copy link

I am looking for a solution to use EF with Rider (2021.3)

I have .Net 6 projects, with a Server + Data libraries, nugets updated accordingly.

Neither of Add Migration / Update works.

The following error pops up:

Command: dotnet ef database update --project D:\Visual Studio Projects\Tegu\Tegu Solutions\TeguSolutions.Data\TeguSolutions.Data.csproj --startup-project D:\Visual Studio Projects\Tegu\Tegu Solutions\TeguSolutions\Server\TeguSolutions.Server.csproj --context TeguSolutions.Data.Context.TeguDbContext --configuration Debug --framework net6.0 20211209000444_UsersystemroleMtmRelationCreated Output: MSBUILD : error MSB1009: Project file does not exist. Switch: D:\Visual Unable to retrieve project metadata. Ensure it's an MSBuild-based .NET Core project. If you're using custom BaseIntermediateOutputPath or MSBuildProjectExtensionsPath values, Use the --msbuildprojectextensionspath option. Exit code: 1

image

With Visual Studio everything is fine, just for reference.
It is a bug or can I do anything on my side to make it work?

@seclerp
Copy link
Member

seclerp commented Dec 9, 2021

@TeguSolutions thanks for the issue report, seems like the problem is in whitespaces in the project file path.

For temporal workaround try to use folder names without whitespaces. We will fix it in the next bugfix release

@TeguSolutions
Copy link
Author

Wow, really, working, thanks!

@seclerp
Copy link
Member

seclerp commented Dec 9, 2021

@TeguSolutions patch release 1.1.1 including a fix for your problem has been released, in 1-2 days it will be available through Marketplace

@TeguSolutions
Copy link
Author

@seclerp nice, thank you, eagerly waiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants