I have a nuget that has a contentfile in it. It is a json file
and denoted in the nuspec file when the nuget
is packed.
When installing the nuget
in a regular wpf app, I get a couple build errors. It appears that Visual Studio
is trying to compile the .json file
. Wondering if anyone knows what may cause this. As you'll see in the nuspec snippet I have BuildAction=None
in the nuspec
ContentFile.json(1,1,1,2): error CS1022: Type or namespace definition, or end-of-file expected
ContentFile.json(4,16,4,26): error CS1001: Identifier expected
ContentFile.json(4,37,4,45): error CS1001: Identifier expected