Build issues after updating to visual studio 15.8.5

后端 未结 1 444
旧巷少年郎
旧巷少年郎 2021-01-16 06:52

Does anyone have experience with this error?

Severity Code Description Project File Line Suppression State Error The item \"C:\\Prog

1条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-16 07:29

    I've fixed this error by removing the following code in my .csproj file.

    
    
      <_noCopyRefs Include="@(ReferencePath)" Condition="'%(ReferencePath.Private)' == 'false'" />
      <_noCopyRefsByFileName Include="@(_noCopyRefs->'%(FileName)')">
        %(Identity)
      
      <_libByFileName Include="@(ReferenceCopyLocalPaths->'%(FileName)')">
        %(Identity)
      
      <_overlappingRefByFileName Include="@(_noCopyRefsByFileName)" Condition="'@(_noCopyRefsByFileName)' == '@(_libByFileName)' AND '%(Identity)' != ''" />
      <_overlappingLibByFileName Include="@(_libByFileName)" Condition="'@(_noCopyRefsByFileName)' == '@(_libByFileName)' AND '%(Identity)' != ''" />
      <_overlappingRef Include="@(_overlappingRefByFileName->'%(OriginalItem)')" />
      <_overlappingLib Include="@(_overlappingLibByFileName->'%(OriginalItem)')" />
    
    
      
      
        True
      
    
    

    I added this code in order to fix an error with Click Once, as described here: https://github.com/dotnet/standard/issues/529

    0 讨论(0)
提交回复
热议问题