Nuget, Source transformation and AssemblyInfo.cs
-
17-06-2021 - |
Question
I'm currently working on a NuGet package which need to configure a couple of things in AssemblyInfo.cs. I've added a AssemblyInfo.cs.pp file to my package in /content/Properties, however the transformation is not performed. Is this not possible?
Content of AssemblyInfo.cs.pp
using Client.Logging.Aspects;
using PostSharp.Extensibility;
[assembly: ProfileAspect(
AttributeTargetTypes = "$id$*",
AttributeTargetElements = MulticastTargets.Method,
AttributeTargetMemberAttributes = MulticastAttributes.Public
)]
Solution
Apparently not possible - http://nuget.codeplex.com/discussions/360970
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow