Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

373
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda