khellang / Middleware

Various ASP.NET Core middleware
MIT License
811 stars 112 forks source link

Master Branch not building in VS 2022 #192

Open VinodParametric opened 1 year ago

VinodParametric commented 1 year ago

Hi Getting error while i build solution Hellang.Middleware

image

VinodParametric commented 1 year ago

any update?

luizen commented 1 year ago

same here

psychicpuppy commented 6 months ago

Same here. Anybody figured this out?

khellang commented 6 months ago

Hi! 👋🏻

I just tried pushing another commit and the github action built successfully on the master branch.

I'm not really sure what to do about this, as the solution is building fine, both locally on (all of) my machine(s) and on GitHub Actions.

The solution does leverage some AspNetCore classes using git submodules. Could it be that you haven't initialized the submodule correctly? Or that the submodule has been updated to a newer version that has incompatible changes?

psychicpuppy commented 6 months ago

Strange, All I did was pull the master branch down and try and build the solution.

`` image

khellang commented 6 months ago

Did you try to run git submodule update --init --recursive?

psychicpuppy commented 6 months ago

Just did, no change. By the way this is the class that the code is having issues with:

image

khellang commented 6 months ago

If you cd into the submodule, does it point to a commit other than the checked-in SHA on the master branch?