uwp-desktop icon indicating copy to clipboard operation
uwp-desktop copied to clipboard

All winmd files has been added into output directory

Open bao-qian opened this issue 7 years ago • 1 comments

Could I remove all of them? image

bao-qian avatar Aug 17 '16 22:08 bao-qian

The .targets files in the package need to be updated to have <Private>false</Private> after the <HintPath>... line for each assembly. This will set "Copy Local" to False for all of the references which will prevent them from being copied to the output directory.

    <Reference Include="System.Runtime.WindowsRuntime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETCore\v4.5\System.Runtime.WindowsRuntime.dll</HintPath>
      <Private>false</Private>
    </Reference>

mikebattista avatar Apr 28 '17 06:04 mikebattista