I have a library project that has multiple targets, e.g. in the CSPROJ file it has:
<TargetFrameworks>net40;net46;net461;net462;net47</TargetFrameworks>
If I want XML documentation for all combinations of these target frameworks and Debug
and Release
configurations I have to select each one in turn in the UI using the Build Configuration Manager and then set it to build XML documentation for that combination and each combination is then listed separately as a PropertyGroup
in the CSPROJ with the intended output file for the XML documentation.
Is there a better way?
Posting question and answer because I didn't find this documented anywhere else online
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…