You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an F# library project using the new project style and multi-targeting the following .net versions:
net45
net46
netstandard1.6
netstandard2.0
Build the project using Visual Studio (2017 Community in my case).
2.1. After the build completes, navigate to the output directory (say bin/Debug) and examine the file properties of the output dll. When I right-click the output dll for any framework version in Windows Explorer, and select Properties, then Details tab, I can see the values of the assembly-level attributes that I have specified in my project, and they are correct.
Use the .net sdk to build the same project by calling
dotnet build MyProject.fsproj
3.1 As in step 2.1 navigate to the output directory and examine the build output files. The propertes shown by Windows Explorer on the dll files are blank, unlike the result from the Visual Studio (MSBuild) output.
Expected behavior
The assembly-level attributes should be visible in the properties window.
Actual behavior
The assembly-level related fields are blank.
Additional observations
the issue is possibly related to an F# build sdk problem, although the following observations lead in a different direction
file sizes of dotnet build results are slightly smaller
when I reference the library project in another a test project and open the properties tab in Visual Studio for my dll in the references section, the relevant attribute values are displayed correctly, regardless if I used dotnet build or Visual Studio's MSBuild.
when examining my build output (both from MSBuild and dotnet build), the file containing the assembly level attributes is listed for compilation).
The above observations lead me to think (this is just a guess) that the reason for Windows Explorer not showing the attribute info is because the dotnet build output does not have an application manifest embedded, while MSBuild generates one.
Is there a way to make dotnet build produce dlls that have the assembly-level data visible in Windows Explorer?
From @ivaylo5ev on September 25, 2018 19:5
Steps to reproduce
Build the project using Visual Studio (2017 Community in my case).
2.1. After the build completes, navigate to the output directory (say bin/Debug) and examine the file properties of the output dll. When I right-click the output dll for any framework version in Windows Explorer, and select Properties, then Details tab, I can see the values of the assembly-level attributes that I have specified in my project, and they are correct.
Use the .net sdk to build the same project by calling
3.1 As in step 2.1 navigate to the output directory and examine the build output files. The propertes shown by Windows Explorer on the dll files are blank, unlike the result from the Visual Studio (MSBuild) output.
Expected behavior
The assembly-level attributes should be visible in the properties window.
Actual behavior
The assembly-level related fields are blank.
Additional observations
dotnet build
results are slightly smallerdotnet build
or Visual Studio's MSBuild.The above observations lead me to think (this is just a guess) that the reason for Windows Explorer not showing the attribute info is because the
dotnet build
output does not have an application manifest embedded, while MSBuild generates one.Is there a way to make
dotnet build
produce dlls that have the assembly-level data visible in Windows Explorer?Environment data
dotnet --info
output:Copied from original issue: dotnet/cli#10047
The text was updated successfully, but these errors were encountered: