Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

367
Views
How to make VS2019 not create folder 'net5.0' for building project?

I'm created a solution (with 1 project) in VS 2019 with TargetFramework .NET 5.0 (NET Core). I set OutputPath (in Properties of Project) to 'bin\SomeMyFolder' and expected that all my output files will be there. But it turns out that inside folder 'SomeMyFolder' lays other folder 'net5.0' and my files are inside it. I have never seen such custom folders, created by VS previously, with other .Net Framework version. Is there any way to disable VS 2019 from creating that folder and build my project in that folder, which I set (right into SomeMyFolder)? P.S: Please, do not advise some scrips on post-build event like 'copy SomeMyFolder\net5.0 -> SomeMyFolder | rmdir SomeMyFolder'

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

This can be disabled in your csproj file by adding a propertygroup like this.

<PropertyGroup>
  <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>

More info: https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#appendtargetframeworktooutputpath

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!