HMath343
Integration Test issue on ubuntu-latest (.NET 8)
Yeah i had some issue with InternalsVisibleTo in the past as well, i never know if you need the relative path or the project name (but seems that assembly name is the correct answer !).
https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#internalsvisibleto
I also tend to want to find the information that works without reading the full doc which is my main issue 🙂
Thanks again !
10 replies
Integration Test issue on ubuntu-latest (.NET 8)
Ah brilliant ! Solved.
I had
But i've made a mistake on how i've declared InternalsVisibleTo.
Project structure :
- WebApi8
- src
- WebApi8.csproj
- Program.cs
- test
- IntegrationTest
- IntegrationTest.csproj
- Test.cs
Issue :
Fix :
10 replies