GitInfo - Cannot access internal class 'ThisAssembly' here - Cannot ignore

Hi,

I'm using GitInfo  to generate SemVer versioning info. This requires me to add a file that extends AssemblyInfo information. Once I have multiple projects in a solution, with one referencing the another, I get many "Cannot access internal class 'ThisAssembly' here" errors every time I open the solution.

How can I add a rule to ignore these errors?

Thing is the solution does compile and run, so the errors are incorrect.

0
1 comment
Official comment

Hello Robert!

 

Thank you for contacting us.

This is a know issue that is going to be fixed in the upcoming release - https://youtrack.jetbrains.com/issue/RSRP-470475

As a workaround as it's said in the issue comments please use "Additional compile items", for additional information please refer to the following help article - https://www.jetbrains.com/help/resharper/Configuring_Project_Specific_Properties.html

Thank you.

Please sign in to leave a comment.