Hi,
thank you for the answer.
I have tried it again with a blank project including 2 Files:
TestBase.cs
using System;
namespace MyApp.Models {
public class TestBase {
}
}
And TestIt.cs
using System;
namespace MyApp.Models {
public class TestIt : TestBase {
private string _DoTest;
public string DoTest {
get { return _DoTest; }
set { _DoTest = value; }
}
}
}
IMPORTANT - the problem came up when I added a property like above.
First "Document File" on TestIt.cs results in:
// ***********************************************************************
// Assembly : Stickers.Core.STD
// Author : Manfred
// Created : 2017.09.19
//
// Last Modified By : Manfred
// Last Modified On : 2017.09.19
// ***********************************************************************
// <copyright file="TestIt.cs" company="Stickers.Core.STD">
// Copyright (c) Professional Programming Pohler e.U. - All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
/// <summary>
/// The Models namespace.
/// </summary>
namespace MyApp.Models {
/// <summary>
/// Class TestIt.
/// </summary>
/// <seealso cref="MyApp.Models.TestBase" />
public class TestIt : TestBase {
private string _DoTest;
/// <summary>
/// Gets or sets the do test.
/// </summary>
/// <value>The do test.</value>
public string DoTest {
get { return _DoTest; }
set { _DoTest = value; }
}
}
}
A second run asks me, if I want to replace the existing header. No matter what I answer - I get:
// ***********************************************************************
// Assembly : Stickers.Core.STD
// Author : Manfred
// Created : 2017.09.19
//
// Last Modified By : Manfred
// Last Modified On : 2017.09.19
// ***********************************************************************
// <copyright file="TestIt.cs" company="Stickers.Core.STD">
// Copyright (c) Professional Programming Pohler e.U. - All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
/// <summary>
/// The Models namespace.
/// </summary>
namespace MyApp.Models {
/// <summary>
/// Class TestIt.
/// </summary>
/// <seealso cref="MyApp.Models.TestBase" />
/// <seealso cref="MyApp.Models.TestBase" />
public class TestIt : TestBase {
private string _DoTest;
/// <summary>
/// Gets or sets the do test.
/// </summary>
/// <value>The do test.</value>
public string DoTest {
get { return _DoTest; }
set { _DoTest = value; }
}
}
}
And for every "Document File" run I get another <seealso line.
If I also implement (for an example) interfaces I get duplicated lines for these too.
If I simply document the class (hotkey on the class line) - I can hit as often as I want - it stays (correctly) with one single <seealso line.