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

Tests not passing #2

Open
gorillapower opened this issue Sep 1, 2022 · 2 comments
Open

Tests not passing #2

gorillapower opened this issue Sep 1, 2022 · 2 comments

Comments

@gorillapower
Copy link

I cloned the code to my local machine (Windows 11, Visual Studio 2022) but had some issues with the sample solution. After running the tests, i noticed that some are not passing. See the screenshot below

image

@gorillapower
Copy link
Author

gorillapower commented Sep 1, 2022

I am getting this build warning, which I believe could be the cause of the issue, and for the life of me I cannot resolve it.

2>CSC : warning CS8032: An instance of analyzer ActivitySourceCodeAttributes.Generator cannot be created from C:\dev\ActivitySourceCodeAttributes\src\ActivitySourceCodeAttributes\bin\Debug\net6.0\ActivitySourceCodeAttributes.dll : Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified..

Ive referred to this stackoverflow post (https://stackoverflow.com/questions/65479888/c-sharp-source-generator-warning-cs8032-an-instance-of-analyzer-cannot-be-cre), but no dice of yet, im putting this on ice until I have more time to resolve it.

@martinjt
Copy link
Owner

martinjt commented Sep 1, 2022

I've just cloned and re-run and it seems to be working for me.

One thing I've not tested is running the tests on a Windows system. I'll try and give that a go.

I know someone used the library on a project developed on Windows, but not ran the library from source in that way.

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

2 participants