Search code examples
c#asp.net-core.net-coreremobjects

Where do I put license info (.licx) in a .NET Core application?


I have created a .NET Core 2.1 class library as a data layer for a .NET Core 2.1 MVC website. I am using some controls from a company called RemObjects and when I compile I get this message

.net core LicenseException: No valid license has been found for the type RemObjects.DataAbstract.BaseDataAdapter

I have a license. Normally I would add it to the projects Properties folder but there is not a Properties folder in the project. I am sure there is a simple explanation but Google has not revealed it. This is my 1st .NET Core project so go easy on me.


Solution

  • There is not much difference where exactly in your project you'll put the licenses.licx file as long as it is contained in the project and has its BuildAction set to EmbeddedResource.