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

Error MSB4126 #5647

Open
jpzhou2011 opened this issue Nov 2, 2021 · 2 comments
Open

Error MSB4126 #5647

jpzhou2011 opened this issue Nov 2, 2021 · 2 comments

Comments

@jpzhou2011
Copy link

I encounter this error when I build the project in VS Code as below:

dotnet build --configuration Release

Appreciate any one can help asap.

@tpetchel
Copy link
Contributor

Hi @jpzhou2011, can you give us more information on the error you're seeing?

@carter-et
Copy link

carter-et commented Dec 15, 2021

If I had to guess, it's the same issue that I am seeing:
Tailspin.SpaceGame.Web.Tests\DocumentDBRepository_GetItemsAsyncShould.cs(43,17): error CS1503: Argument 1: cannot convert from 'System.Linq.Expressions.Expression<System.Func<TailSpin.SpaceGame.Web.Models.Score, bool>>' to 'System.Func<TailSpin.SpaceGame.Web.Models.Score, bool>'

edit* fixed by removing the Expression wrapper from queryPredicate.

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

3 participants