integration with vb.net DLL

integration with vb.net DLL

  
Hello,
we have been developing funtions in vb.net, which we intend to use in our outsystems application.
We understand that this could be done via Integration Studio, however we get errors when we try to publish the extension :

C:\Users\Inforza\AppData\Local\Temp\Integration Studio\YbkN5TyDpESi13AsVGOCdg\Source\NET\Tester.sln.cache(59,5): error MSB4126: The specified solution configuration "Release|HPD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration.


Does anyone know how we shouls configure the sulution in vb.net  to make this work?







Hi Thomas,

The problem there is because on your pc you have a environment variable in your computer PLATFORM set to "HPD". And the .net compiler assumes that value as the default.
http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/3c4e9c3f-2bf2-436e-80de-e000a7dda8bd/
It doesn't look anything related with the vb project.

So, either:
  • remove that environment variable
  • or go inside Integration Studio, Edit -> Options -> .NET and in the end of the compiler tool options add: /property:Platform="Any CPU"
Note: that was assuming the project had a "Any CPU" target

Regards,
João Rosado