I've got a class library created with VS2015, and now I have to add multitarget support.
Since the new VS2017 .csproj format handles it in a pretty neat way, I've decided to migrate to the new format. So now my .csproj looks like this:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net452;net46</TargetFrameworks>
<Description>My description</Description>
<Authors>me</Authors>
<Copyright>Copyright © 2017</Copyright>
<AssemblyVersion>1.0.1.1</AssemblyVersion>
<AssemblyFileVersion>1.0.1.1</AssemblyFileVersion>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<Version>1.0.1.1</Version>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AutoMapper" Version="4.2.1" />
</ItemGroup>
</Project>
Checking the bin folders, I can notice that the dlls for both targets match in size, (which didn't happen when I compiled with the old csproj format), so I was wondering if both files have the same content.
Is there a way to check it?
Thanks in advance!