Build in Visual studio fails

Created at 15 May 2014, 21:58
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
VO

voulgeor

Joined 16.08.2013

Build in Visual studio fails
15 May 2014, 21:58


Using Visual studio ultimate 2013

every time I am trying to build robot code I get

Error 1 The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))  12 28 
this happens with every robot a tried

new and from the examples

 


@voulgeor
Replies

Spotware
16 May 2014, 09:21

Can you build your robot in cAlgo?


@Spotware

voulgeor
16 May 2014, 14:24

yes I can.

 

 


@voulgeor

voulgeor
22 May 2014, 13:52

RE:

!bump!

voulgeor said:

yes I can.

 

 

 


@voulgeor

Spotware
22 May 2014, 14:08

We are currently investigating this issue.


@Spotware

Invalid
22 May 2014, 15:32

RE:

voulgeor said:

Using Visual studio ultimate 2013

every time I am trying to build robot code I get

Error 1 The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))  12 28 
this happens with every robot a tried

new and from the examples

 

I had the same issue some time ago. I succeeded to fix this following next instructions

  1. Close Visual Studio
  2. Open the Temporary ASP.NET Files folder and delete its contents.
    1. If the OS is Windows Vista, then the folder is %LocalAppData%\Temp\Temporary ASP.NET Files
    2. If the OS is Windows XP, then the folder is %WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
  3. Restart Visual Studio
  4. Open the project

@Invalid

voulgeor
22 May 2014, 16:58

RE: RE:

thanks but that didn't work for me.

Invalid said:

voulgeor said:

Using Visual studio ultimate 2013

every time I am trying to build robot code I get

Error 1 The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))  12 28 
this happens with every robot a tried

new and from the examples

 

I had the same issue some time ago. I succeeded to fix this following next instructions

  1. Close Visual Studio
  2. Open the Temporary ASP.NET Files folder and delete its contents.
    1. If the OS is Windows Vista, then the folder is %LocalAppData%\Temp\Temporary ASP.NET Files
    2. If the OS is Windows XP, then the folder is %WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
  3. Restart Visual Studio
  4. Open the project

 


@voulgeor

Invalid
22 May 2014, 17:19

RE: RE: RE:

Does it happen only with cAlgo projects? Could you try to create C# project from VS and to build it.

By the way, does it give you any details about this exception? Usually it has some stack trace what can help to understand the reason of your problem.

 

voulgeor said:

thanks but that didn't work for me.

 


@Invalid

voulgeor
23 May 2014, 02:13

RE: RE: RE: RE:

yes this only happens to calgo projects

I am a developer and all my other projects compile just fine.

it fails on my laptop  desktop and my dedicated server also.

same error every time

Error 1 The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))  12 28 
 

Invalid said:

Does it happen only with cAlgo projects? Could you try to create C# project from VS and to build it.

By the way, does it give you any details about this exception? Usually it has some stack trace what can help to understand the reason of your problem.

 

voulgeor said:

thanks but that didn't work for me.

 

 


@voulgeor

Invalid
25 May 2014, 14:19

RE: RE: RE: RE: RE:

it's difficult to understand what's the problem without stacktrace or more details.

What is the version and edition of you VS and OS? Do you have any other extensions installed in VS?

voulgeor said:

yes this only happens to calgo projects

I am a developer and all my other projects compile just fine.

it fails on my laptop  desktop and my dedicated server also.

same error every time

Error 1 The parameter is incorrect. (Exception from HRESULT: 0x80070057 (E_INVALIDARG))  12 28 
 

Invalid said:

Does it happen only with cAlgo projects? Could you try to create C# project from VS and to build it.

By the way, does it give you any details about this exception? Usually it has some stack trace what can help to understand the reason of your problem.

 

voulgeor said:

thanks but that didn't work for me.

 

 

 


@Invalid

Spotware
26 May 2014, 11:00

We have released new version of our Visual Studio Extension. Please update it using "Extensions and Updates" and try to build your algos in Visual Studio.


@Spotware