Nuget,Source transformation和AssemblyInfo.cs

时间:2012-06-26 10:31:38

标签: package nuget transformation assemblyinfo

我目前正在开发一个NuGet包,它需要在AssemblyInfo.cs中配置一些东西。我在/ content / Properties中添加了一个AssemblyInfo.cs.pp文件到我的包中,但是没有执行转换。这不可能吗?

AssemblyInfo.cs.pp的内容

using Client.Logging.Aspects;
using PostSharp.Extensibility;


[assembly: ProfileAspect(
   AttributeTargetTypes = "$id$*",
   AttributeTargetElements = MulticastTargets.Method,
   AttributeTargetMemberAttributes = MulticastAttributes.Public
 )]

1 个答案:

答案 0 :(得分:0)