Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.94k stars 441 forks source link

Need to address warnings in v1.x branch #2231

Open mathewc opened 6 years ago

mathewc commented 6 years ago

The build currently produces 68 warnings. We used to build clean, making it easy to spot the introduction of issues in a set of changes. All this noise makes people tune out.

We need to get the build clean again before we release.

mathewc commented 6 years ago

Here are the current warnings:

Severity    Code    Description Project File    Line    Suppression State
Warning     "C:\code\Git\Azure\azure-webjobs-sdk-script\packages\NETStandard.Library.2.0.0\build\NETStandard.Library.targets" cannot be imported again. It was already imported at "C:\code\Git\Azure\azure-webjobs-sdk-script\test\WebJobs.Script.Tests.Integration\WebJobs.Script.Tests.Integration.csproj (1292,3)". This is most likely a build authoring error. This subsequent import will be ignored.    Packages            
Warning     Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. WebJobs.Script          
Warning     The referenced component 'System.Xml.ReaderWriter' could not be found.  WebJobs.Script.Host         
Warning     The referenced component 'System.Security.Cryptography.X509Certificates' could not be found.    WebJobs.Script.Host         
Warning     The referenced component 'System.IO.Compression' could not be found.    WebJobs.Script.Host         
Warning     The referenced component 'System.IO.Compression.ZipFile' could not be found.    WebJobs.Script.Host         
Warning     The referenced component 'System.IO.FileSystem.Primitives' could not be found.  WebJobs.Script.Host         
Warning     The referenced component 'System.Security.Cryptography.Algorithms' could not be found.  WebJobs.Script.Host         
Warning     The referenced component 'System.Net.Http' could not be found.  WebJobs.Script.Host         
Warning     The referenced component 'System.Globalization.Calendars' could not be found.   WebJobs.Script.Host         
Warning     The referenced component 'System.Runtime.InteropServices.RuntimeInformation' could not be found.    WebJobs.Script.Host         
Warning     The referenced component 'Microsoft.Win32.Primitives' could not be found.   WebJobs.Script.Host         
Warning     The referenced component 'System.Security.Cryptography.Encoding' could not be found.    WebJobs.Script.Host         
Warning     The referenced component 'System.Security.Cryptography.Primitives' could not be found.  WebJobs.Script.Host         
Warning     The referenced component 'System.Console' could not be found.   WebJobs.Script.Host         
Warning     The referenced component 'System.AppContext' could not be found.    WebJobs.Script.Host         
Warning     The referenced component 'System.Net.Sockets' could not be found.   WebJobs.Script.Host         
Warning     The referenced component 'System.IO.FileSystem' could not be found. WebJobs.Script.Host         
Warning     The referenced component 'System.Net.Http' could not be found.  WebJobs.Script.WebHost          
Warning     The referenced component 'System.Net.Http' could not be found.  WebJobs.Script.Scaling.Tests            
Warning     The referenced component 'System.Xml.ReaderWriter' could not be found.  WebJobs.Script.Tests            
Warning     The referenced component 'System.Diagnostics.FileVersionInfo' could not be found.   WebJobs.Script.Tests            
Warning     The referenced component 'System.Security.Cryptography.Algorithms' could not be found.  WebJobs.Script.Tests            
Warning     The referenced component 'System.IO.FileSystem.Primitives' could not be found.  WebJobs.Script.Tests            
Warning     The referenced component 'System.AppContext' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.Runtime.InteropServices.RuntimeInformation' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.Security.Cryptography.Encoding' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.Security.Cryptography.X509Certificates' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.ValueTuple' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.Globalization.Calendars' could not be found.   WebJobs.Script.Tests            
Warning     The referenced component 'System.Xml.XPath' could not be found. WebJobs.Script.Tests            
Warning     "C:\code\Git\Azure\azure-webjobs-sdk-script\packages\NETStandard.Library.2.0.0\build\NETStandard.Library.targets" cannot be imported again. It was already imported at "C:\code\Git\Azure\azure-webjobs-sdk-script\test\WebJobs.Script.Tests.Integration\WebJobs.Script.Tests.Integration.csproj (1292,3)". This is most likely a build authoring error. This subsequent import will be ignored.    WebJobs.Script.Tests            
Warning     The referenced component 'System.Net.Sockets' could not be found.   WebJobs.Script.Tests            
Warning     The referenced component 'System.Console' could not be found.   WebJobs.Script.Tests            
Warning     The referenced component 'System.Security.Cryptography.Primitives' could not be found.  WebJobs.Script.Tests            
Warning     The referenced component 'System.Threading.Thread' could not be found.  WebJobs.Script.Tests            
Warning     The referenced component 'System.Diagnostics.StackTrace' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.IO.Compression' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.IO.Compression.ZipFile' could not be found.    WebJobs.Script.Tests            
Warning     The referenced component 'System.Xml.XPath.XDocument' could not be found.   WebJobs.Script.Tests            
Warning     The referenced component 'System.IO.FileSystem' could not be found. WebJobs.Script.Tests            
Warning     The referenced component 'Microsoft.Win32.Primitives' could not be found.   WebJobs.Script.Tests            
Warning     The referenced component 'System.Xml.XmlDocument' could not be found.   WebJobs.Script.Tests            
Warning     The referenced component 'System.Net.Http' could not be found.  WebJobs.Script.Tests            
Warning     The referenced component 'System.Console' could not be found.   WebJobs.Script.Tests.Integration            
Warning     The referenced component 'Microsoft.Win32.Primitives' could not be found.   WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.IO.Compression' could not be found.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Security.Cryptography.Encoding' could not be found.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Threading.Thread' could not be found.  WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Net.Http' could not be found.  WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Security.Cryptography.X509Certificates' could not be found.    WebJobs.Script.Tests.Integration            
Warning     "C:\code\Git\Azure\azure-webjobs-sdk-script\packages\NETStandard.Library.2.0.0\build\NETStandard.Library.targets" cannot be imported again. It was already imported at "C:\code\Git\Azure\azure-webjobs-sdk-script\test\WebJobs.Script.Tests.Integration\WebJobs.Script.Tests.Integration.csproj (1292,3)". This is most likely a build authoring error. This subsequent import will be ignored.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Xml.ReaderWriter' could not be found.  WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Security.Cryptography.Algorithms' could not be found.  WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.IO.Compression.ZipFile' could not be found.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.ValueTuple' could not be found.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Diagnostics.FileVersionInfo' could not be found.   WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Xml.XPath' could not be found. WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.AppContext' could not be found.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Security.Cryptography.Primitives' could not be found.  WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Diagnostics.StackTrace' could not be found.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Runtime.InteropServices.RuntimeInformation' could not be found.    WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Xml.XPath.XDocument' could not be found.   WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Xml.XmlDocument' could not be found.   WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Net.Sockets' could not be found.   WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.Globalization.Calendars' could not be found.   WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.IO.FileSystem.Primitives' could not be found.  WebJobs.Script.Tests.Integration            
Warning     The referenced component 'System.IO.FileSystem' could not be found. WebJobs.Script.Tests.Integration            
paulbatum commented 6 years ago

@fabiocav Any chance this is resolved by your NET 4.7 changes?

paulbatum commented 6 years ago

@fabiocav any idea on what we can do here? Can our friends in .NET land help?