output path ignored with .net 5 C# classes lib - Microsoft Q&A
<p>Hello, </p> <p>I updated a .net framwework project (a library of windows forms controls in C#) to .net 5. Eveything seems ok except that the ouput path of the buid, specified in the project properties, is ignored. For instance, for the Debug config the
learn.microsoft.com
Question
Hello,
I updated a .net framwework project (a library of windows forms controls in C#) to .net 5. Eveything seems ok except that the ouput path of the buid, specified in the project properties, is ignored. For instance, for the Debug config the ouput path is always 'bin\Debug\net5.0-windows' and 'bin\Release\net5.0-windows' for the Release config. I don't want vs2019ce (version 16.8.3) add/create the folder 'net5.0-windows'.
Is this a bug?
regards
Answer
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
'[====== Development ======] > C#' 카테고리의 다른 글
C# 라이브러리를 C++에서 사용하는 방법 (0) | 2023.01.12 |
---|---|
C# .NET Core 라이브러리를 COM에 등록하는 방법 (0) | 2023.01.12 |
AsyncHelper (0) | 2023.01.03 |
C# 날짜 시간 string을 DateTime으로 변환하기 (0) | 2022.11.23 |
.Net Framework 와 .Net Core 비교 (0) | 2022.10.21 |