26
Views
3
Comments
[Ultimate PDF] Compilation Error
Forge component by Leonardo Fernandes
15
Published on 08 Jan 2021
Application Type
Traditional Web

Hi, we recently had this working fine on our DEV and TEST environments, but not on PROD. 

Following the advice in previous support requests we upgraded the component to the latest version 2.2.1 but this doesn't compile, showing the following Error in integration studio


.NET Compilation.

Session\SessionUtils.cs(87,94): error CS1525: Invalid expression term 'bool' 

Session\SessionUtils.cs(87,99): error CS1003: Syntax error, ',' expected 

Session\SessionUtils.cs(87,120): error CS1003: Syntax error, ',' expected 

Session\SessionUtils.cs(87,165): error CS1003: Syntax error, ',' expected 


Our DEV environment is Version 11.0.607.0 

Any idea?

Thanks

Tom


I am facing the issue as well. 


The need to compile in Integration studio is due to previous instructions for the error

"Protocol error(Page.navigate): Target closed. (NetworkManager failed to process Network.requestWillBeSent. Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"


As per below posts the advice is to recompile in integration studio but it is failing with above error. Any help would be appreciated ?

https://www.outsystems.com/forums/discussion/64878/protocol-errorpage-navigate/#

https://www.outsystems.com/forums/discussion/63838/could-not-load-file-or-assembly-system-net-http-version-4-0-0-0-on-platform-11/#

Rank: #1025

Install MSBuild 15 and use that one in your Integration Studio settings.

Helped me with it...

Rank: #489

yeah, it should