--- lang: ja-jp breaks: true --- # `AssemblyInfo.cs` の内容を csproj に設定する方法 2024-09-11 > プロジェクト ファイルにアセンブリ属性を設定する > https://learn.microsoft.com/ja-jp/dotnet/standard/assembly/set-attributes-project-file ## csproj ```xml= ・・・ <PropertyGroup> <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute> </PropertyGroup> <ItemGroup> <!-- Include must be the fully qualified .NET type name of the Attribute to create. --> <AssemblyAttribute Include="System.Reflection.AssemblyCompanyAttribute"> <!-- _Parameter1, _Parameter2, etc. correspond to the matching parameter of a constructor of that .NET attribute type --> <_Parameter1>XXXXXXXX</_Parameter1> </AssemblyAttribute> </ItemGroup> ・・・ ``` ###### tags: `MSBuild` `AssemblyInfo` `csproj` `AssemblyCompanyAttribute` `会社名` `C#`