Get Assembly name at compile time in Visual Studio

后端 未结 5 988
灰色年华
灰色年华 2021-01-15 06:40

Is there a way to find out the assembly name at design-time (i.e. not using reflection or runtime APIs such as System.Reflection.Assembly.GetEntryAssembly) from within Visua

5条回答
  •  無奈伤痛
    2021-01-15 06:54

    You can use "TargetName" available in Macros for Post-build events. It will give you the assembly name for your project.

提交回复
热议问题