Skip to content

ResolveAssemblyReferencesSilent true flag is not printing any warning  #4671

Description

@Anipik

The ResolveAssemblyReferences target is not printing any warnings to the screen making the debugging difficult.
The ResolveAssemblyReferencesSilent is automatically getting set to true.

The project file looks something likes this.

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>
    <RuntimeIdentifiers>win7-x86;win7-x64;centos.7-x64;debian.8-x64;linuxmint.17-x64;rhel.7.2-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;osx.10.12-x64;fedora.24-x64;opensuse.42.1-x64;rhel.7-x64</RuntimeIdentifiers>
    <TestPackageId>Microsoft.Bcl.HashCode</TestPackageId>
    <TestPackageVersion>1.1.0-dev.19427.1</TestPackageVersion>

    <SupportFilesDir Condition="'$(SupportFilesDir)' == ''">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\support</SupportFilesDir>
  </PropertyGroup>
  
  <ItemGroup>
    <!--
      System.Reflection.Emit.Lightweight and System.Reflection.Emit.ILGeneration's versions have been 
      bumped so we expect validation to fail until we ingest the new core-setup which contains that change.
    -->
    <IgnoredReference Include="System.Reflection.Emit.Lightweight" Version="4.1.0.0" />
    <IgnoredReference Include="System.Reflection.Emit.ILGeneration" Version="4.1.0.0" />
    <PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.0-dev.19427.1" />
  </ItemGroup>

  <Import Project="$(SupportFilesDir)\packageTest.targets" />
</Project>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions