Je sais comment faire cela mais je ne sais pas si la méthode StyleCop est vraie/fonctionne. Normalement, dans StyleCop règles que vous devez ajouter cette chose comme cet exemple d'en-tête (besoin de modifier):Ajout de la licence GNU GPL à C# App
//-----------------------------------------------------------------------
// <copyright file="Widget.cs" company="Sprocket Enterprises">
// Copyright (c) Sprocket Enterprises. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
Et avec StyleCop pour ReSharper:
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Form1.cs" company="">
//
// </copyright>
// <summary>
// Defines the Form1 type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
Mon-tête final est:
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Form1.cs" company="{Company}">
//
// Copyright (C) 2009 {Company}
//
// This program is free software: you can redistribute it and/or modify
// it under the +terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see http://www.gnu.org/licenses/.
// </copyright>
// <summary>
// {one line to give the program's name and a brief idea of what it does.}
//
// Email: {Email}
// XFire and Steam: {Username}
// </summary>
// --------------------------------------------------------------------------------------------------------------------
Si j'ajoute cet en-tête à toutes mes sources et partage, mon application sera-t-elle sous licence GPL? Si non, où est le problème? J'espère que la méthode StyleCop fonctionnera. Peut-être que je devrais déplacer "{une ligne pour donner le nom du programme et une brève idée de ce qu'il fait.}" À la fin de la balise Copyright. Merci.
Je vote pour clore cette question hors-sujet car ** il s'agit de licences ou de problèmes juridiques **, et non de programmation ou de développement de logiciels. [Voir ici] (http://meta.stackoverflow.com/a/274964/1402846) pour plus de détails, et [help/on-topic] pour plus d'informations. –