문제

약간의 문제가 있습니다. 나는 소스 리포지토리를 한 머신에서 다른 기계로 옮기고 있으며, 프로세스에서 시작한 이후 저장소 작성/관리에 대해 더 많이 배운 것처럼 저장된 내용을 컬링하고 있습니다.

문제는 DeVexPress의 dxperience 도구를 사용하고 있으며 .NET 라이센스 시스템 (Licenses.licx)을 사용한다는 것입니다. 원래 나는 저장소 에이 라이센스를 가지고 있었고 듣고 있어요 이것이 반드시 최선의 아이디어는 아닙니다. 그래서 저장소에 포함시키지 않았습니다. 그러나 지금, 내 컴퓨터의 저장소에서 프로젝트를 확인할 때 (이동 전에 확인했던 것과 동일), 라이센스 파일을 찾고 있고 그것을 생성하지 않는 것으로 생각합니다.

도움이 되었습니까?

해결책

We have run into the same problem using Infragistics controls.

Our solution has been to keep a blank licnenses.licx file in our source repository (Source Gear Vault) and then change the properties of the file to Read Only false on our local workations. This way we do not end up stepping on each other with that file and it is generated with the proper keys off of our workstations.

Of course this is a bit of a manual work around that may not be suitable for you, but that is how we have been doing it.

다른 팁

Alternatively, you can install the EmptyLicensesLicx nuget package, and it will make sure there's an empty Licenses.licx in your project, before it gets compiled (which is all you need).

This file should be compiled into your deployment assemblies automatically by having licenses.licx included as an embedded resource. Under the hood, Visual studio uses lc.exe to include this in your assemblies.

http://www.atalasoft.com/kb/Article.aspx?id=10103

  1. delete existing licence file
  2. solve all errors
  3. check properties of solution, DLL name, source name
  4. rebuild the project
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top