.NET
Microsoft Technologies based on the .NET software framework.
3,940 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello
<Title> tag is not reflected in the generated AssemblyInfo.cs.
ConsoleApp1.csproj
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Title>Title</Title>
<Product>Product</Product>
<Description>Description</Description>
<Company>Company</Company>
<Authors>Authors</Authors>
<PackageId>PackageId</PackageId>
</PropertyGroup>
</Project>
Generated ConsoleApp1.AssemblyInfo.cs
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Company")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyDescriptionAttribute("Description")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Product")]
[assembly: System.Reflection.AssemblyTitleAttribute("ConsoleApp1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// MSBuild WriteCodeFragment クラスによって生成されました。
It seems that AssemblyTitleAttribute is always using $(AssemblyName).Does anyone have the same problem?
The AssemblyTitleAttribute value is output from the AssemblyTitle tag in your project file
<PropertyGroup>
<!--<GenerateAssemblyInfo>false</GenerateAssemblyInfo>-->
<AssemblyTitle>たいとる</AssemblyTitle>
</PropertyGroup>
Thank you for your quick response, and not it works fine.
ありがとうございました。