-1

Copyright (C) 2019 Project - All Rights Reserved string with other information, in my case C# WinForms or WPF application, usually included into head of .cs file comment.

I'm trying to figure out, what is a proper way of adding of copyright information text inside application build.

Any guide, advice or example would be helpful

lf80
  • 455
  • 3
  • 10
  • 22
  • @mjwills Hello, ok so from your comment, it sounds like there is no any special way to do it inside the build... – lf80 Mar 31 '19 at 23:26
  • Its better to add under Project Properties--> Under Assembly Information. There is specific field for copyright. Hope this help. – Mdyahiya Mar 31 '19 at 23:27
  • 1
    If you're talking about the copyright information that is displayed to the user, you find that field in Project Properties > Assembly Information in Visual Studio or if you want to edit it manually, you can do that in the `AssemblyInfo.cs` file. If, on the other hand, you want to add a copyright notice to the code files, the question would actually be off-topic; you can put it anywhere you like as mjwills said. – 41686d6564 stands w. Palestine Mar 31 '19 at 23:27
  • @Ahmed Abdelhameed Hello, yes, exactly I'm talking about copyright information that is displayed to the user. If you will provide example of Project Properties > Assembly Information I will be able to mark it as answer I guess – lf80 Mar 31 '19 at 23:40
  • 1
    @viktor80 I don't think I would post this as an answer but here's the steps: In Visual Studio, 1) Right click on your project name in the Solution Explorer (or open the `Project` menu). 2) Select `Properties`. 3) Under the Application tab, click the `Assembly Information` button. You can also check [this](http://csharphelper.com/blog/2018/03/get-assembly-information-in-c/) for more. – 41686d6564 stands w. Palestine Mar 31 '19 at 23:46
  • @viktor80, I have added the screenshot of Project Properties based on our comments – Mdyahiya Mar 31 '19 at 23:51
  • @Ahmed Abdelhameed yes I found it, and I've a marked your answer – lf80 Mar 31 '19 at 23:57
  • @viktor80, You need to give credit to Ahmed too. Actually we both are trying to answer same thing and I have added the answer. If Ahmed dont want to post separate answer, you can give credit to him by upvoting him for his comments. I did so. – Mdyahiya Apr 01 '19 at 00:13
  • @Mdyahiya Well I'm actually thought that it was posted by Ahmed Abdelhameed but since you made the post, I marked it as an answer – lf80 Apr 01 '19 at 03:11

1 Answers1

3

Under your Project-->Select Properties enter image description here

enter image description here

Mdyahiya
  • 167
  • 3
  • 15