Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1092835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:44:30+00:00 2026-05-16T23:44:30+00:00

I have a VisualStudio Solution with 5 projects. I have 3/5 projects that has

  • 0

I have a VisualStudio Solution with 5 projects. I have 3/5 projects that has an .exe file on <mysolutionpath>/bin folder. Recently, I have added a new Project to my solution (a project with Main entry point) and I would its .exe file on <mysolutionpath/bin directory.

But I have exe on <mysolutionpath>/<recentproject>/bin and I don’t know because happens this.

I’m a newbie of VisualStudio, could you help me?

EDIT:
My VisualStudio solution has five “Windows Form Application” projects. When I compile my solution, I have this situation:

1) First.exe on /bin folder;
2) Second.exe on /bin folder;
3) Third project doesn’t have a Main entry point;
4) Fourth.exe on /bin folder;
5) Fifth project doesn’t have a Main entry point.

Now, I would add a new project to my solution then I do right click on my solution->Add->Windows Form Application, and new project (e.g. with name “TEST” with Main Entry point) is added to my solution.
But when I ricompile the entire solution I expect to get TEST.exe on /bin folder but I have TEST.exe on /TEST/bin/TEST.exe and not on /bin/TEST.exe as happens with previously five projects.
I hope that I explained well this time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T23:44:30+00:00Added an answer on May 16, 2026 at 11:44 pm

    VS is placing all projects in one output by default, if they are all binded by reference. If your next executable should be referenced by main – just do this, and it will appear in main output.
    If its not a choice, you could add (or change) .targets file. In my project I had such content:

    <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <PropertyGroup>
        <ClientPublishDirectory>$(SolutionDir)output\</ClientPublishDirectory>
        <PluginPublishDirectory>$(SolutionDir)output\</PluginPublishDirectory>
    </PropertyGroup>
    <Target Name="CopyOutputFiles">
        <CreateItem Include="$(OutputPath)\**\*.*;">
          <Output TaskParameter="Include" ItemName="OutputFiles" />
        </CreateItem>
        <Copy SourceFiles="@(OutputFiles)" DestinationFolder="$(ClientPublishDirectory)%(OutputFiles.RecursiveDir)" ContinueOnError="false" />
    </Target>
    <Target Name="CopyPluginsOutputFiles">
        <CreateItem Include="$(OutputPath)\**\*.*;">
        <Output TaskParameter="Include" ItemName="PluginsFiles" />
        </CreateItem>
        <Copy SourceFiles="@(PluginsFiles)" DestinationFolder="$(PluginPublishDirectory)%(PluginsFiles.RecursiveDir)" ContinueOnError="false" />
    </Target>
    <Target Name="Copy3rdParties">
        <CreateItem Include="$(SolutionDir)\..\libs\*.dll">
        <Output TaskParameter="Include" ItemName="OutputFiles" />
        </CreateItem>
        <Copy SourceFiles="@(OutputFiles)" DestinationFolder="$(ClientPublishDirectory)%(OutputFiles.RecursiveDir)" ContinueOnError="false" /> </Target> </Project>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a Visual Studio 2010 solution that has over 120 projects that reference
I have a teambuild setup that builds a solution that has several projects in
I have a solution that has multiple projects including NUnit Test projects. So the
I have a Visual Studio 2010 solution that contains multiple projects. One of these
Hi I have a Visual Studio solution and an ASP.NET MVC project that uses
I have a project I recently upgraded to VS2010 - the project/solution files are
I have a Visual Studio 2010 solution with 8 projects. It also has a
I have a large-ish Visual Studio 2010 solution (~110 C# projects). One project (let's
I have a solution with multiple projects that all output dlls (except for the
I have a Solution that has two class libraries. I'm trying to convert the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.