Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can MSbuild.exe be used for for VB6 code?

I have an requirement to use the Msbuild to build the dotnet code and move the code to a specified location.

For dotnet framework 2.0 and above I am able to do it as I can specify the targetframework in build.proj file, but I am not sure how to make a build.proj file for vb6 code ?

If this is possible what will the build.proj file will look like?

like image 356
Sidharth Avatar asked Oct 28 '25 08:10

Sidharth


1 Answers

VB 6 is not .net and isn't supported by MSbuild out of the box. If you need to automate the building of VB6 code then you can call VB6.EXE directly passing in the .vbp project file.

However if you want to make things consistent then you can use the MSBuild extension pack this contains support for building VB6 code via MSBuild

You'll still need to make sure that the VB6 IDE is installed on the machine performing the build

like image 127
James Reed Avatar answered Oct 31 '25 13:10

James Reed



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!