Azure / Azure/azure-functions-host
Developing Function Apps in the Portal shows warning : Assuming assembly reference 'System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'System.Data.SqlClient' matches identity 'System.Data.Common, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Data.Common', you may need to supply runtime policy;
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
#### Issue description:
This is a repair item from a [CRI](https://portal.microsofticm.com/imp/v3/incidents/details/254267550/home) investigation. Developing Function App in portal and adding the template C# HTTP Trigger function throws Compilation warning message regarding the assembly reference after adding any new assembly reference as shown below.
> [Warning] warning CS1702: Assuming assembly reference 'System.Data.Common, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' used by 'System.Data.SqlClient' matches identity 'System.Data.Common, Version=4.2.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' of 'System.Data.Common', you may need to supply runtime policy.
Even without adding any new assembly and trying to make any change with the provided template by our portal also emits same warning message with the included assembly as well when trying to compile after any change.
Customer has refused to accept our recommendation of using VS for development and insists on using portal.
#### Repro steps
Provide the steps required to reproduce the problem:
1. Create new function app in portal.
Type : Consumption Plan
Stack : .Net core 3.1
Language: C#
2. Create a new HTTP Trigger. Once code is generated just insert a blank space and save.
3.You will see the warning.
#### Expected behavior
There should be no warning thrown with inportal development.
#### Actual behavior
A warning is thrown with inportal development. There is no functional impact here though.
Contributor guide
Assessment
This issue has not been assessed yet.