Error when this generator is used on preexisting large solutions
Opened this issue · 0 comments
marlond18 commented
I can't find the main cause of this but I am getting an error that says the Attributes are Inaccessible for pre-existing solutions with multiple projects where two or more of these projects are using this generator (version 3.2.2). It might be due to the fact that in 3.2.0-3.2,2, the attributes are auto generated with "internal" accessibility modifier. For new solutions, regardless of the numbers of projects it contains using this generator, this issue is not existent.
as of now the work around is to used 3.1.0. These is what it looks like inside my csproj file
<PackageReference Include="EMDD.KtEquatable" Version="3.1.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>