0

enter image description here

I have a problem and I don’t know how to solve it. I downloaded rider and now places where code is generated are marked as an error. How to solve this problem? However, the project is going and working

Trying to find a solution in the settings did not work

An example of using code generation

_userContext.ChangeFilial(filialId);
Generators.Specification.PowerUnitSpecification specification = new Generators.Specification.PowerUnitSpecification();
var result = await _controllerPowerUnit.Count(specification);

The same code in Visual Studio is not defined as in the picture above, namely the places Generators.Specification.PowerUnitSpecification, Generators.Specification.PowerUnitSpecificationand _controllerPowerUnit.Count

These places are created when the project is built. And rider marks them as "Cannot resolve symbol 'Specification'"

enter image description here

Palle Due
  • 5,929
  • 4
  • 17
  • 32
  • 1
    Please post code as *text* rather than just images. (You can always have an image *as well*, but we shouldn't need to use the image to see the code.) You should also include more details about your project, the code being generated etc - a [mcve] would be ideal. – Jon Skeet Feb 08 '23 at 12:07

0 Answers0