You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've a little request.
I'm using PetaPoco Core install from Nugets in Visual Studio 2013 (so the single file Models/PetaPoco.cs).
I'm generating the XML Documentation file with my project (Project Properties > Build > Output > XML Documentation file)
Once it's activated, I have a bunch of Warnings in the build output.
Below some of them (repeated several times):
Models\PetaPoco.cs(2500,93,2500,99): warning CS1066: The default value specified for parameter 'onFail' will have no effect because it applies to a member that is used in contexts that do not allow optional arguments
Models\PetaPoco.cs(3296,22,3296,28): warning CS1591: Missing XML comment for publicly visible type or member 'PetaPoco.IQuery'
Models\PetaPoco.cs(5709,9,5709,108): warning CS1570: XML comment on 'PetaPoco.Sql.Select(params object[])' has badly formed XML -- 'End tag 'member' does not match the start tag 'param'.'
Models\PetaPoco.cs(4627,69,4627,81): warning CS1573: Parameter 'allowDefault' has no matching param tag in the XML comment for 'PetaPoco.DatabaseProvider.Resolve(string, bool)' (but other parameters do)
I know that the PetaPoco.cs file is auto-generated, so I guess you can't fix all of the XML comments and little annoying warnings.
My suggestion, to bypass the issue, is to simply disable some warnings for the PetaPoco.cs file.
Hi,
I've a little request.
I'm using PetaPoco Core install from Nugets in Visual Studio 2013 (so the single file Models/PetaPoco.cs).
I'm generating the
XML Documentation file
with my project (Project Properties > Build > Output > XML Documentation file)Once it's activated, I have a bunch of Warnings in the build output.
Below some of them (repeated several times):
I know that the PetaPoco.cs file is auto-generated, so I guess you can't fix all of the XML comments and little annoying warnings.
My suggestion, to bypass the issue, is to simply disable some warnings for the PetaPoco.cs file.
Below an MSDN article which describe how to disable warnings for a given file:
https://msdn.microsoft.com/fr-fr/library/441722ys.aspx
I've already test that in my PetaPoco.cs and that drops all warnings for PetaPoco.cs
Only add this line of code before the namespace PetaPoco
I hope my explanation is clear.
Tell me if you need more details or an example.
Cheers,
Mamadou
The text was updated successfully, but these errors were encountered: