I am getting a strange error while compiling the extension in integration studio.

I have created .net extension it has compiled successfully using integration studio and visual studio.

I have created unit test project in visual studio within the same .NET solution. Unit test project compiled successfully. And unit test execution is also fine.

Now coming back to integration studio and compile the extension it is ending up with the error specified.

If I remove the unit test project from the solution (in VS) and come back to Integration Studio, everything works fine.

Adding unit test project with the extension solution is making the difference. I don't know how to fix this. Have you ever experienced this?

Please note, I have added unit test project in "Resources" tab already in Integration Studio.


Project file contains ToolsVersion="15.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.
ExtensionUnitTests.cs(20,76): error CS1026: ) expected
ExtensionUnitTests.cs(20,85): error CS1002: ; expected
ExtensionUnitTests.cs(20,85): error CS1525: Invalid expression term ','
ExtensionUnitTests.cs(20,87): error CS1002: ; expected
ExtensionUnitTests.cs(20,87): error CS1525: Invalid expression term 'out'
ExtensionUnitTests.cs(20,91): error CS1002: ; expected
ExtensionUnitTests.cs(20,105): error CS1041: Identifier expected; 'out' is a keyword
ExtensionUnitTests.cs(20,105): error CS1525: Invalid expression term 'out'
ExtensionUnitTests.cs(20,109): error CS1002: ; expected
ExtensionUnitTests.cs(20,121): error CS1002: ; expected
ExtensionUnitTests.cs(20,121): error CS1525: Invalid expression term ')'
ExtensionUnitTests.cs(34,69): error CS1026: ) expected
ExtensionUnitTests.cs(34,78): error CS1002: ; expected
ExtensionUnitTests.cs(34,78): error CS1525: Invalid expression term ','
ExtensionUnitTests.cs(34,80): error CS1002: ; expected
ExtensionUnitTests.cs(34,80): error CS1525: Invalid expression term 'out'
ExtensionUnitTests.cs(34,84): error CS1002: ; expected
ExtensionUnitTests.cs(34,98): error CS1041: Identifier expected; 'out' is a keyword
ExtensionUnitTests.cs(34,98): error CS1525: Invalid expression term 'out'
ExtensionUnitTests.cs(34,102): error CS1002: ; expected
ExtensionUnitTests.cs(34,114): error CS1002: ; expected
ExtensionUnitTests.cs(34,114): error CS1525: Invalid expression term ')'
ExtensionUnitTests.cs(48,69): error CS1026: ) expected
ExtensionUnitTests.cs(48,78): error CS1002: ; expected
ExtensionUnitTests.cs(48,78): error CS1525: Invalid expression term ','
ExtensionUnitTests.cs(48,80): error CS1002: ; expected
ExtensionUnitTests.cs(48,80): error CS1525: Invalid expression term 'out'
ExtensionUnitTests.cs(48,84): error CS1002: ; expected
ExtensionUnitTests.cs(48,98): error CS1041: Identifier expected; 'out' is a keyword
ExtensionUnitTests.cs(48,98): error CS1525: Invalid expression term 'out'
ExtensionUnitTests.cs(48,102): error CS1002: ; expected
ExtensionUnitTests.cs(48,114): error CS1002: ; expected
ExtensionUnitTests.cs(48,114): error CS1525: Invalid expression term ')'

Hi,

The errors are related to the code you have in your ExtensionUnitTest.cs file. There is invalid C# syntax.

Did you change the interface of one of the actions, making the unit test outdated?

Visual Studio will highlight them.

Regards

Daniel

No the problem is visual studio is not throwing any error. It compiles and works like a charm. Only Integration Studio is throwning error.

Hi,

I had a similar problem (not equal) in the past an what I did was change the compiler link to the compiler from Visal studio:

In other machine that I have I changed to the Visual studio 2019 version (is the VS version installed there).

Maybe you can try and see if this is your problem.


Hope this can help.


Best regards,

Ricardo

Hi Arunkumar,


Did you solved your problem? If yes, can you share with us the solution? Maybe it can help someone in our community in the future.

Thanks!


Best regards,

Ricardo M Pereira