diff --git a/Directory.Build.props b/Directory.Build.props index 211a82206..3038194c7 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,9 +4,8 @@ Debug <_OutputPath>$(MSBuildThisFileDirectory)bin\Build$(Configuration)\ - true - + cs;de;es;fr;it;ja;ko;pl;pt-BR;ru;tr;zh-Hans;zh-Hant true @@ -80,7 +79,7 @@ <_RunJNIEnvGen Condition=" '$(JIBuildingForNetCoreApp)' == 'True' ">$(DotnetToolPath) "$(_JNIEnvGenPath)" <_RunJNIEnvGen Condition=" '$(JIBuildingForNetCoreApp)' != 'True' ">$(Runtime) "$(_JNIEnvGenPath)" - + @@ -89,21 +88,4 @@ - - - - - - main - false - - - - - $(GitSemVerMajor).$(GitSemVerMinor).$(GitSemVerPatch) - $(Version); git-rev-head:$(GitCommit); git-branch:$(GitBranch) - Microsoft Corporation - Microsoft Corporation - - diff --git a/GitInfo.txt b/GitInfo.txt deleted file mode 100644 index ceab6e11e..000000000 --- a/GitInfo.txt +++ /dev/null @@ -1 +0,0 @@ -0.1 \ No newline at end of file diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index 10c5cb1f0..6888adaf8 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -58,7 +58,7 @@ jobs: solution: Java.Interop.sln configuration: $(Build.Configuration) msbuildArguments: /restore - + - task: MSBuild@1 displayName: MSBuild RunNUnitTests.targets inputs: @@ -93,7 +93,7 @@ jobs: runNativeDotnetTests: true - template: templates\fail-on-issue.yaml - + - job: mac_build displayName: Mac - Mono pool: @@ -114,10 +114,10 @@ jobs: - script: make prepare CONFIGURATION=$(Build.Configuration) JI_MAX_JDK=$(MaxJdkVersion) displayName: make prepare - + - script: make all CONFIGURATION=$(Build.Configuration) JI_MAX_JDK=$(MaxJdkVersion) displayName: make all - + - script: | r=0 make run-all-tests CONFIGURATION=$(Build.Configuration) JI_MAX_JDK=$(MaxJdkVersion) || r=$? @@ -139,7 +139,7 @@ jobs: SourceFolder: $(System.DefaultWorkingDirectory) Contents: | xatb.jar - bin.zip + bin.zip TargetFolder: $(Build.ArtifactStagingDirectory) condition: succeededOrFailed() @@ -148,7 +148,7 @@ jobs: inputs: ArtifactName: debug condition: succeededOrFailed() - + - job: mac_dotnet_build displayName: Mac - .NET Core pool: @@ -161,12 +161,12 @@ jobs: submodules: recursive - template: templates\install-dependencies.yaml - + - script: make prepare-core CONFIGURATION=$(Build.Configuration) JI_MAX_JDK=$(MaxJdkVersion) displayName: make prepare-core - + - template: templates\core-build.yaml - + - template: templates\core-tests.yaml parameters: runNativeTests: true diff --git a/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj b/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj index 228da5b2a..0204f38b3 100644 --- a/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj +++ b/src/Java.Interop.Dynamic/Java.Interop.Dynamic.csproj @@ -7,6 +7,9 @@ true ..\..\product.snk Java.Interop.Dynamic + Microsoft Corporation + Microsoft Corporation + 0.1.0.0 $(ToolOutputFullPath) diff --git a/src/Java.Interop.Export/Java.Interop.Export.csproj b/src/Java.Interop.Export/Java.Interop.Export.csproj index b1dd39bd6..8d923e92d 100644 --- a/src/Java.Interop.Export/Java.Interop.Export.csproj +++ b/src/Java.Interop.Export/Java.Interop.Export.csproj @@ -7,6 +7,9 @@ true ..\..\product.snk Java.Interop.Export + Microsoft Corporation + Microsoft Corporation + 0.1.0.0 $(ToolOutputFullPath) diff --git a/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj b/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj index 1b69c773e..62da24d00 100644 --- a/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj +++ b/src/Java.Interop.GenericMarshaler/Java.Interop.GenericMarshaler.csproj @@ -7,6 +7,9 @@ true ..\..\product.snk Java.Interop.GenericMarshaler + Microsoft Corporation + Microsoft Corporation + 0.1.0.0 $(ToolOutputFullPath) diff --git a/src/Java.Interop.Tools.JavaSource/Java.Interop.Tools.JavaSource.csproj b/src/Java.Interop.Tools.JavaSource/Java.Interop.Tools.JavaSource.csproj index 9dce7a0ac..ea4be696a 100644 --- a/src/Java.Interop.Tools.JavaSource/Java.Interop.Tools.JavaSource.csproj +++ b/src/Java.Interop.Tools.JavaSource/Java.Interop.Tools.JavaSource.csproj @@ -7,6 +7,9 @@ INTERNAL_NULLABLE_ATTRIBUTES {5C0B3562-8DA0-4726-9762-75B9709ED6B7} Java.Interop.Tools.JavaSource + Microsoft Corporation + Microsoft Corporation + 0.1.0.0 $(ToolOutputFullPath) diff --git a/src/Java.Interop/Java.Interop.csproj b/src/Java.Interop/Java.Interop.csproj index e61282d0e..263a61de3 100644 --- a/src/Java.Interop/Java.Interop.csproj +++ b/src/Java.Interop/Java.Interop.csproj @@ -22,6 +22,7 @@ ..\..\product.snk INTEROP;FEATURE_JNIENVIRONMENT_JI_PINVOKES;FEATURE_JNIOBJECTREFERENCE_INTPTRS;INTERNAL_NULLABLE_ATTRIBUTES;$(JavaInteropDefineConstants) true + false $(BaseIntermediateOutputPath)$(Configuration)\$(TargetFramework.ToLowerInvariant())\ $(ToolOutputFullPath) $(ToolOutputFullPath)Java.Interop.xml diff --git a/src/Java.Interop/Properties/AssemblyInfo.cs b/src/Java.Interop/Properties/AssemblyInfo.cs index 5d33a80b0..5222403e5 100644 --- a/src/Java.Interop/Properties/AssemblyInfo.cs +++ b/src/Java.Interop/Properties/AssemblyInfo.cs @@ -4,9 +4,15 @@ [assembly: DefaultDllImportSearchPathsAttribute (DllImportSearchPath.SafeDirectories | DllImportSearchPath.AssemblyDirectory)] +[assembly: AssemblyTitle ("Java.Interop")] [assembly: AssemblyDescription ("")] [assembly: AssemblyCulture ("")] - +[assembly: AssemblyConfiguration ("")] +[assembly: AssemblyCompany ("Microsoft Corporation")] +[assembly: AssemblyCopyright ("Microsoft Corporation")] +[assembly: AssemblyProduct ("")] +[assembly: AssemblyTrademark ("Microsoft Corporation")] +[assembly: AssemblyVersion ("0.1.0.0")] [assembly: AssemblyMetadata ("IsTrimmable", "True")] [assembly: InternalsVisibleTo ( diff --git a/tests/Java.Interop-Tests/Java.Interop-Tests.csproj b/tests/Java.Interop-Tests/Java.Interop-Tests.csproj index 112c6e0c3..a04402fd4 100644 --- a/tests/Java.Interop-Tests/Java.Interop-Tests.csproj +++ b/tests/Java.Interop-Tests/Java.Interop-Tests.csproj @@ -4,8 +4,6 @@ net472;net6.0 false true - true - ..\..\product.snk diff --git a/tools/generator/generator.csproj b/tools/generator/generator.csproj index 7e8b87a06..34e613108 100644 --- a/tools/generator/generator.csproj +++ b/tools/generator/generator.csproj @@ -26,7 +26,7 @@ utils\XmlExtensions.cs - +