LazyStack

ProjectOptions Directive

ProjectReferences

Add or override project references using the ProjectReferences directive.

  PetStoreClientSDK:
    ProjectReferences:
    - ..\LazyStackAuth\LazyStackAuth.csproj

LazyStack handles many project references for you. However, when a library is unknown to LazyStack, you may use the ProjectReferences directive to create a project reference as shown above. In this case the PetStoreClientSDK project is referencing the LazyStackAuth library.

Project references may also be applied to all projects of a specific type. Here is an example of a project reference being applied to all Controller projects:

  ControllerProjects:
        ProjectReferences:
        - ..\..\PetStoreRepo\PetStoreRepo.csproj

Project types include:

  • ControllerProjects
  • LambdaProjects
  • ClientSDKProjects
  • WebApiProjects