I'm working on a full .NET Framework Windows Service and trying to reference the SeriLog extension. When I do I get the following error:
Failed to add reference to 'System.Runtime'. Please make sure that it is in the Global Assembly Cache.
I believe it may be because of the following in the project.json file of this repo.
"net4.5": {
"frameworkAssemblies": {
"System.Runtime": ""
}
}
If you add System.Runtime as a straight dependency instead of as a frameworkAssemblies entry this should then work as expected