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

Exception when running Hastlayer from VS Code (HAST-325) #114

Closed
Piedone opened this issue Sep 26, 2023 · 0 comments · Fixed by #115
Closed

Exception when running Hastlayer from VS Code (HAST-325) #114

Piedone opened this issue Sep 26, 2023 · 0 comments · Fixed by #115
Assignees
Labels

Comments

@Piedone
Copy link
Member

Piedone commented Sep 26, 2023

Found by @OlegKarasik: When you run Hastlayer, like the Hast.NuGet.Console from the NuGetTest solution, or Hast.Samples.Demo from the root solution, from VS Code or with dotnet run, you'll get dependency injection errors along the lines of:

Error: Some services are not able to be constructed (Error while validating the 
service descriptor 'ServiceType: 
Hast.Communication.Services.ICommunicationServiceSelector Lifetime: Scoped 
ImplementationType: Hast.Communication.Services.CommunicationServiceSelector': 
Unable to resolve service for type 'Hast.Common.Services.IClock' while 
attempting to activate 'Hast.Communication.Services.FpgaIpEndpointFinder'.) 
(Error while validating the service descriptor 'ServiceType: 
Hast.Communication.Services.ICommunicationService Lifetime: Scoped 
ImplementationType: Hast.Communication.Services.EthernetCommunicationService': 

This looks like a dependency loading issue in Hastlayer.

Jira issue

@Piedone Piedone added the bug label Sep 26, 2023
@github-actions github-actions bot changed the title Exception when running Hastlayer from VS Code Exception when running Hastlayer from VS Code (HAST-325) Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants