Skip to content

Commit

Permalink
Remove net8 version of tools. Simply won't fit into package. We reall…
Browse files Browse the repository at this point in the history
…y should externalize JavaCompiler.
  • Loading branch information
wasabii committed Jul 9, 2024
1 parent c20e36b commit 0211918
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 6 additions & 7 deletions src/IKVM.MSBuild/IKVM.MSBuild.msbuildproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@
<PublishPackagePath>tasks\net6.0</PublishPackagePath>
<Pack>true</Pack>
</PublishProjectReference>
<PublishProjectReference Include="..\IKVM.MSBuild.Tasks\IKVM.MSBuild.Tasks.csproj">
<SetTargetFramework>TargetFramework=net8.0</SetTargetFramework>
<PublishTargetPath Condition=" '$(TargetFramework)' == 'net8.0' ">tasks</PublishTargetPath>
<CopyToOutputDirectory Condition=" '$(TargetFramework)' == 'net8.0' ">PreserveNewest</CopyToOutputDirectory>
<PublishPackagePath>tasks\net8.0</PublishPackagePath>
<Pack>true</Pack>
</PublishProjectReference>
</ItemGroup>

<Target Name="MakeGeneratedPropsFile" Outputs="$(IntermediateOutputPath)generated.props" BeforeTargets="_GetPackageFiles">
Expand All @@ -52,4 +45,10 @@
</ItemGroup>
</Target>

<Target Name="ExcludePdbFiles" AfterTargets="_GetPackageFiles">
<ItemGroup>
<_PackageFiles Remove="@(_PackageFiles->WithMetadataValue('Extension', '.pdb'))" />
</ItemGroup>
</Target>

</Project>
2 changes: 0 additions & 2 deletions src/IKVM.MSBuild/buildTransitive/IKVM.MSBuild.Tasks.targets
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<PropertyGroup>
<MSBuildRuntimeVersion Condition=" '$(MSBuildRuntimeVersion)' == '' ">$([System.Runtime.InteropServices.RuntimeInformation]:: FrameworkDescription.ToString())</MSBuildRuntimeVersion>
<IkvmMSBuildTaskFolder Condition=" '$(MSBuildRuntimeType)' == 'Core' ">net6.0</IkvmMSBuildTaskFolder>
<IkvmMSBuildTaskFolder Condition=" '$(MSBuildRuntimeType)' == 'Core' And $(MSBuildRuntimeVersion.StartsWith('.NET 8')) ">net8.0</IkvmMSBuildTaskFolder>
<IkvmMSBuildTaskFolder Condition=" '$(MSBuildRuntimeType)' == 'Core' And $(MSBuildRuntimeVersion.StartsWith('.NET 9')) ">net8.0</IkvmMSBuildTaskFolder>
<IkvmMSBuildTaskFolder Condition=" '$(MSBuildRuntimeType)' != 'Core' ">net472</IkvmMSBuildTaskFolder>
<IkvmMSBuildTaskFactory Condition=" '$(MSBuildRuntimeType)' == 'Core' "></IkvmMSBuildTaskFactory>
<IkvmMSBuildTaskFactory Condition=" '$(MSBuildRuntimeType)' != 'Core' ">TaskHostFactory</IkvmMSBuildTaskFactory>
Expand Down

0 comments on commit 0211918

Please sign in to comment.