On our continuous integration server (Teamcity 5.1.3), we have an msbuild script that automatically creates our applications.
When we turn on “Warning as an error”: in Visual Studio it builds fine (it ignores the methods in the “* .designer.cs” files, but on the build server we always get the following error:
[(Rebuild target(s)):] somefile.Designer.cs(XX, XX): error CS1591: Warning as Error: Missing XML comment for publicly visible type or member...
The MSBuild script used is as follows:
<MSBuild Projects="proj\$(ProjectName).sln"
Targets="Clean;Rebuild"
Properties="Configuration=Release"
StopOnFirstFailure="True">
</MSBuild>
I can understand why this is so, but should there be a way to tell msbuild to ignore the missing comments in the generated files?
EDITED
:
Visual Studio " ", 1591, " ". MSBuild, , " " . ?
EDITED
, MSBuild ( "ANY CPU" 1591). , 1591, . , .