개발실/.NET
-
error MSB3577: Two output file names resolved to the same output path:개발실/.NET 2023. 12. 5. 09:00
.net c# 프로젝트에서 어느날 위와 같은 에러가 남. 원인은, resx 파일이 중복되어 있어서 그런것이였음. 기존의 UserControl기반의 class가 아래와 같이 partial 로 서로 다른 이름의 파일로 작성되어 있는데. public partial class MyControl 각각 resx파일이 생겨서 나타나는 오류 였음. 아래 글처럼, 필요없는 resx파일을 삭제하고 컴파일 하니 잘됨. 아래 링크 참조 https://itecnote.com/tecnote/c-two-output-file-names-resolved-to-the-same-output/ C# – Two output file names resolved to the same output – iTecNote Recently I creat..
-
.net standard library strong name개발실/.NET 2023. 8. 22. 17:15
.net standard 로 모듈을 개발하고 배포하게 되면. 해당 버전을 지원하는 모든 .net 관련 runtime환경에서 사용이 가능하다. 특히, .net standard 2.0버전을 사용하면, .net Framework도 지원하기 때문에 활용성이 아주 좋다. 왜인지, 그동안은 아무런 문제가 없었는데 어느날 부터 이상한 문제가 발생하여 알아보니. .net standard로 만든 dll을 .net Framework에서 사용할때는 strong name이 적용되어야 한다고 함. ㅡㅡ; .NET 5이상이나 다른 runtime은 상관없는듯 함. 이번에 하고 싶었던 고생한 이야기는 Dapper임. nuget에 있는 Dapper를 사용한 .net standard 2.0 dll인데 stong name을 해도 .net..