How to bypass Microsoft.Bcl.Build warning

前端 未结 2 1049
挽巷
挽巷 2021-01-19 03:20

I have a solution with multiple projects, one of them has this build warning that shows

All projects referencing Project.csproj must install nuget

2条回答
  •  渐次进展
    2021-01-19 03:35

    How can I Remove/Suppress/Bypass this particular warning?

    You can add a parameter named Properties with value SkipValidatePackageReferences=true to to disable for projectreferences from projects that don't yet support Nuget, which is safe. Like this:

    
        
           Project
          {77ACF4A4-5F19-40E9-991D-BDB09B175366}
          True
          Web
          MyProject
          True
          SkipValidatePackageReferences=true
        
      
    

提交回复
热议问题