Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS 2010 no exe files copied after successful build

I am having a TFS 2010 installation along with Visual Studio 2010 (also installed in the server), I created a build definition for a C# project. The Build ends up being successful but I have no .exe files in my drop folder, I can find dlls however,

Has anyone experienced the same issue before?

like image 955
Imen Avatar asked Jul 23 '12 08:07

Imen


1 Answers

This could be a problem with your configurations to build.

In solution Explorer right click on the solution and select "Configuration Manager". This will bring up a list of all of the projects in the solution. The project that creates the "EXE" is probably set to "x86" and the project(s) that create "DLL(s)" are probably set to "AnyCPU".

You should have a "Platform" for each of these, plus a "Platform" for "Mixed Platforms" which will build all of the projects.

Now check in your Build Definition. Look in the process Tab and look at the "Items to Build" setting, make sure that you're building "Release|Mixed Platforms". If you're getting just the dll's in your build output I suspect that your build is set to "Release|AnyCPU"

like image 122
James Reed Avatar answered Oct 11 '22 14: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!