Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 24093c55 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

[LicenceHeader] Updated Project to .NET5.0

parent 27778a4c
Branches
Tags
No related merge requests found
......@@ -5,7 +5,7 @@
<RootNamespace>LicenceHeader</RootNamespace>
<AssemblyName>LicenceHeader</AssemblyName>
<DefineConstants />
<TargetFrameworks>net48</TargetFrameworks>
<TargetFrameworks>net5.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<None Update="header.txt">
......
......@@ -55,7 +55,7 @@ namespace LicenceHeader
Console.Error.WriteLine("Excluded Dirs: \\obj, \\bin");
Console.Error.WriteLine("Header-File: {0}", Path.GetFullPath("header.txt"));
var licence = File.ReadAllText("header.txt", Encoding.UTF8);
var licence = File.ReadAllText("header.txt", Encoding.UTF8).Replace("[currentyear]", DateTime.Today.Year.ToString());
var re = new Regex("^.*?(?=using|namespace)", RegexOptions.Singleline);
var updatedFiles = Directory.EnumerateFiles(SolutionRootDirectory, "*.cs", SearchOption.AllDirectories)
......
/*
* This file is part of VECTO.
*
* Copyright © 2012-2022 European Union
* Copyright © 2012-[currentyear] European Union
*
* Developed by Graz University of Technology,
* Institute of Internal Combustion Engines and Thermodynamics,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment