Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assembly informational attributes not applied for .net core app #3148

Closed
karelz opened this issue Apr 27, 2018 · 2 comments
Closed

Assembly informational attributes not applied for .net core app #3148

karelz opened this issue Apr 27, 2018 · 2 comments

Comments

@karelz
Copy link
Member

karelz commented Apr 27, 2018

From @Priya91 on April 27, 2018 1:33

Repro:

  1. Create a .net core app
  2. Set the following properties in the csproj
<PropertyGroup>
    <OutputType>Exe</OutputType>
    <RuntimeIdentifier>win7-x86</RuntimeIdentifier>
    <TargetFramework>netcoreapp2.0</TargetFramework>
    <AssemblyTitle>Assembly Information Repro</AssemblyTitle>
    <AssemblyProduct>Assembly Information Repro</AssemblyProduct>
    <AssemblyDescription>Assembly Information Repro</AssemblyDescription>
    <Product>Assembly Information Repro</Product>
    <PublisherName>tester</Publishername>
</PropertyGroup>
  1. Publish the app.

Expected:
The properties on <assemblyname>.exe are set as per the info provided in the csproj.

Actual:
The properties are set only for <assemblyname>.dll, not on the <assemblyname>.exe. Note, the .exe is the one that runs, and is shown in task manager, firewall prompts, etc. So without the process information, on task manager, it doesn't have a description, and on firewall prompts, it shows the publisher as unknown.

AssemblyMetadata.dll

image

AssemblyMetadata.exe

image

Copied from original issue: dotnet/corefx#29362

@karelz
Copy link
Member Author

karelz commented Apr 27, 2018

From @kasper3 on April 27, 2018 6:21

Belongs to https://github.com/dotnet/sdk?

@weshaggard
Copy link
Member

Issue moved to dotnet/sdk dotnet/runtime#2722 via ZenHub

@msftgits msftgits transferred this issue from dotnet/core-setup Jan 30, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants