After moving a project from .NET 1.1 to .NET 2.0, MsBuild emits lots of warnings for some COM objects.
Sample code for test (actual code doesn\'t matter, just used t
I had experienced the same problem and fixed it by editing the project file (.csproj), following a suggestion from here:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/7a7c352b-20cb-4931-b3b5-27e899016f75/turning-off-msbuild-warnings-msb3305?forum=msbuild
I added the following key to the property group of each build configuration:
True