Share via


C# compiler console output on compile bothering me

Question

Saturday, December 7, 2019 12:44 PM

Is there a way to delete the version output at  every time i compile my code?

What file is the following text located in so i can just go delete it?

"

Microsoft (R) Visual C# Compiler version 4.8.3761.0
for C# 5
Copyright (C) Microsoft Corporation. All rights reserved.

This compiler is provided as part of the Microsoft (R) .NET Framework, but only supports language versions up to C# 5, which is no longer the latest version. For compilers that support newer versions of the C# programming language, see http://go.microsoft.com/fwlink/?LinkID=533240

"

Its just bothering me mad.

All replies (2)

Saturday, December 7, 2019 12:49 PM

Have you tried the -nologo option?


Saturday, December 7, 2019 1:19 PM

In regards to RLWA32 reply you need to follow the following 

/en-us/dotnet/csharp/language-reference/compiler-options/how-to-set-environment-variables-for-the-visual-studio-command-line

Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

NuGet BaseConnectionLibrary for database connections.

StackOverFlow