1

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.

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Todd
  • 119
  • 10

2 Answers2

0

You can create the Properties folder if it's required to put the licence file in there. This will absolutely not affect how your class library works.

Selmir
  • 1,136
  • 1
  • 11
  • 21
  • 1
    Tried this too. It it did allow for that adding of the folder. However it was the embedded resource comment that made it work. Thank for the input. – Todd Aug 22 '18 at 18:14
0

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.

Phrynohyas
  • 136
  • 1
  • 2