0

I am having an project in dot net 2.0 framework build. I wanted to change it's assembly copyright attribute while building the application. For that I have used T4 template as per the guidance by below two links

  1. Dynamically display current year in assembly info
  2. Programmatically change the AssemblyVersion and AssemblyFileVersion attributes

I tried changing the code but it doesn't have any effect at all.[![

<#@ template language="VB" #>
<#@ output extension=".vb" #>
Imports System
Imports System.Reflection

<Assembly: AssemblyCopyright("Test Assembly Copyright <#=DateTime.Now#>")> 

enter image description here

him
  • 11
  • 4
  • **Why** are you targeting .NET Framework 2.0? It's obsolete and doesn't even run on Windows 7 (where the minimum is .NET Framework 3.5), let alone Windows 10 or Windows 11. – Dai Apr 12 '22 at 09:10
  • I am not targeting dot net 2.0 framework my project already has build with this framework. I can not change all the files because it cost me ton of effort to change. – him Apr 12 '22 at 09:15
  • But you wrote "I am having an project in dot net 2.0 framework build" – Dai Apr 12 '22 at 09:23

0 Answers0