Skip to content

Commit 4b68a61

Browse files
committed
ff
1 parent 854cffa commit 4b68a61

File tree

5 files changed

+7
-16
lines changed

5 files changed

+7
-16
lines changed

Directory.Build.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<PropertyGroup>
55
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
66
<_OutputPath>$(MSBuildThisFileDirectory)bin\Build$(Configuration)\</_OutputPath>
7-
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
7+
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
8+
<NoWarn>CS0436</NoWarn>
89
</PropertyGroup>
910

1011
<PropertyGroup>
@@ -87,8 +88,7 @@
8788
<PropertyGroup>
8889
<GitDefaultBranch>main</GitDefaultBranch>
8990
<GitThisAssemblyMetadata>false</GitThisAssemblyMetadata>
90-
<GitThisAssembly>false</GitThisAssembly>
91-
<DefineConstants>$(DefineConstants)</DefineConstants>
91+
<GitThisAssembly>true</GitThisAssembly>
9292
</PropertyGroup>
9393
<ItemGroup>
9494
<PackageReference Include="GitInfo" Version="*" PrivateAssets="all" />

src/Java.Interop/Java.Interop.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
2323
<DefineConstants>INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS;INTERNAL_NULLABLE_ATTRIBUTES;$(JavaInteropDefineConstants)</DefineConstants>
2424
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
25-
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
2625
<IntermediateOutputPath>$(BaseIntermediateOutputPath)$(Configuration)\$(TargetFramework.ToLowerInvariant())\</IntermediateOutputPath>
2726
<OutputPath>$(ToolOutputFullPath)</OutputPath>
2827
<DocumentationFile>$(ToolOutputFullPath)Java.Interop.xml</DocumentationFile>

src/Java.Interop/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@
44

55
[assembly: DefaultDllImportSearchPathsAttribute (DllImportSearchPath.SafeDirectories | DllImportSearchPath.AssemblyDirectory)]
66

7-
[assembly: AssemblyTitle ("Java.Interop")]
87
[assembly: AssemblyDescription ("")]
98
[assembly: AssemblyCulture ("")]
10-
[assembly: AssemblyConfiguration ("")]
11-
[assembly: AssemblyProduct ("")]
129

1310
[assembly: AssemblyMetadata ("IsTrimmable", "True")]
1411

src/version/Version.props

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2-
<!-- <ItemGroup>
2+
<ItemGroup>
33
<Compile Include="$(MSBuildThisFileDirectory)AssemblyVersionInfo.cs" />
4-
</ItemGroup> -->
5-
<PropertyGroup>
6-
<Company>Microsoft Corporation</Company>
7-
<Copyright>Microsoft Corporation</Copyright>
8-
<Trademark>Microsoft Corporation</Trademark>
9-
<Version>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch)</Version>
10-
<InformationalVersion>$(GitBaseVersionMajor).$(GitBaseVersionMinor).$(GitBaseVersionPatch); git-rev-head: $(GitCommit) git-branch: $(GitBranch)</InformationalVersion>
11-
</PropertyGroup>
4+
</ItemGroup>
125
</Project>

tests/generator-Tests/generator-Tests.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<TargetFramework>net472</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7+
<SignAssembly>true</SignAssembly>
8+
<AssemblyOriginatorKeyFile>..\..\product.snk</AssemblyOriginatorKeyFile>
79
</PropertyGroup>
810

911
<PropertyGroup>

0 commit comments

Comments
 (0)