Add a auto-generated header to the assembly info file that is created on build
This commit is contained in:
parent
268dd603cc
commit
61281b4580
3 changed files with 6 additions and 4 deletions
|
@ -90,7 +90,8 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
|
|||
// Generate assembly info
|
||||
var assemblyInfo = Path.Combine(tempOutDir, $"dotnet-compile.assemblyinfo.cs");
|
||||
|
||||
File.WriteAllText(assemblyInfo, AssemblyInfoFileGenerator.Generate(assemblyInfoOptions, sources));
|
||||
File.WriteAllText(assemblyInfo, AssemblyInfoFileGenerator.GenerateCSharp(assemblyInfoOptions, sources));
|
||||
|
||||
allArgs.Add($"\"{assemblyInfo}\"");
|
||||
|
||||
if (outputName != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue