Warkis
Warkis
CC#
Created by KamiSzu on 1/5/2025 in #help
Need help with Rolsyn analyzer with referencing assembly in tests.
Hi @KamiSzu, To add an additional assembly you can do like this:
var test = new Test
{
TestCode = source,
TestState =
{
AdditionalReferences = {
typeof(StaticField).Assembly
}
}
};
var test = new Test
{
TestCode = source,
TestState =
{
AdditionalReferences = {
typeof(StaticField).Assembly
}
}
};
2 replies