Out of sudden I am getting following error: BC31424: Type 'System.Text.StringBuilder' in assembly '246406c0-d756-45b5-96db-7190fe817a8c, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' has been forwarded to assembly 'System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'. Either a reference to 'System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' is missing from your project or the type 'System.Text.StringBuilder' is missing from assembly 'System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.
Yesterday I created new activity in my library that is using StringBuilder.
I published the library and new activity in my project.
Tested and everything was okay.
Published to production and got error:
âNo compiled code to run error BC30002: Type âStringBuilderâ is not defined. At line 3â
Now openning the library project I am getting error BC31424.
In Studio the project utilizing my library is still running fine.
This problem was resolved by adding namespace to variable declaration in InvokeCode
Dim builder As System.Text. StringBuilder = New System.Text.StringBuilder()