diff --git a/.github/workflows/IKVM.yml b/.github/workflows/IKVM.yml index ee62fc52b1..cd43092c0c 100644 --- a/.github/workflows/IKVM.yml +++ b/.github/workflows/IKVM.yml @@ -4,12 +4,10 @@ on: push: branches: - main - - master - develop pull_request: branches: - main - - master - develop jobs: @@ -170,7 +168,7 @@ jobs: run: dotnet restore IKVM.sln - name: Build Artifacts run: | - msbuild /m:1 ` + msbuild /m ` /p:Configuration="Release" ` /p:Platform="Any CPU" ` /p:Version=${env:GitVersion_FullSemVer} ` diff --git a/Directory.Build.targets b/Directory.Build.targets index 1f7e5b59de..6c11a43717 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,4 +1,8 @@ + + + $(GlobalPropertiesToRemove);PublishDir;PackageOutputPath + @@ -6,6 +10,15 @@ + + + + + %(ProjectReference.GlobalPropertiesToRemove);$(GlobalPropertiesToRemove) + + + + @@ -13,8 +26,14 @@ + - + + + %(LibProjectReference.GlobalPropertiesToRemove);$(GlobalPropertiesToRemove) + + + @@ -37,30 +56,31 @@ - + + + + + + %(PublishProjectReference.GlobalPropertiesToRemove);$(GlobalPropertiesToRemove) + + true true false - + @@ -77,12 +97,12 @@ - + - + PreserveNewest @@ -134,26 +154,27 @@ + + + + + %(IncludeProjectReference.GlobalPropertiesToRemove);$(GlobalPropertiesToRemove) + + true true false - + @@ -228,11 +249,24 @@ + + + + + %(PackageProjectReference.GlobalPropertiesToRemove);$(GlobalPropertiesToRemove) + + true true @@ -265,4 +299,4 @@ - \ No newline at end of file + diff --git a/src/IKVM.MSBuild/buildTransitive/netstandard2.0/IKVM.MSBuild.IkvmToolReference.targets b/src/IKVM.MSBuild/buildTransitive/netstandard2.0/IKVM.MSBuild.IkvmToolReference.targets index 51cb15a87f..794970a259 100644 --- a/src/IKVM.MSBuild/buildTransitive/netstandard2.0/IKVM.MSBuild.IkvmToolReference.targets +++ b/src/IKVM.MSBuild/buildTransitive/netstandard2.0/IKVM.MSBuild.IkvmToolReference.targets @@ -60,7 +60,7 @@ - $(_JavaCompilerPublishDir)\javac.exe + $([System.IO.Path]::GetFullPath('$(_JavaCompilerPublishDir)\javac.exe')) $(JavaCompilerPath) @@ -82,7 +82,7 @@ - $(_IkvmCompilerPublishDir)\ikvmc.exe + $([System.IO.Path]::GetFullPath('$(_IkvmCompilerPublishDir)\ikvmc.exe')) $(IkvmCompilerPath) @@ -104,7 +104,7 @@ - $(_IkvmExporterPublishDir)ikvmstub.exe + $([System.IO.Path]::GetFullPath('$(_IkvmExporterPublishDir)ikvmstub.exe')) $(IkvmExporterPath)