Skip to content

Commit

Permalink
#582 (comment): removed the condition on CET (#583)
Browse files Browse the repository at this point in the history
* #582 (comment): removed the condition on CET

* Removed specific PropertyGroup for CET
  • Loading branch information
masesdevelopers authored Dec 21, 2024
1 parent 1a132ca commit b2e90c4
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 179 deletions.
2 changes: 0 additions & 2 deletions src/net/Common/Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>..\Common\JNet.snk</AssemblyOriginatorKeyFile>
<NoWarn>$(NoWarn);0618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net9.0'">
<!--see https://learn.microsoft.com/en-us/dotnet/core/compatibility/interop/9.0/cet-support-->
<CETCompat>false</CETCompat>
</PropertyGroup>
Expand Down
58 changes: 29 additions & 29 deletions src/net/JNetCLI/JNetCLI.csproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\Common\Common.props" />
<PropertyGroup>
<PackageType>DotnetTool</PackageType>
<OutputType>Exe</OutputType>
<AssemblyName>MASES.JNetCLI</AssemblyName>
<RootNamespace>MASES.JNetCLI</RootNamespace>
<Title>JNetCLI - JNet (Java/JVM suite for .NET) command line interface</Title>
<Description>JNetCLI - JNet (Java/JVM suite for .NET) command line interface</Description>
<Product>JNetCLI</Product>
<OutputPath>..\..\..\binCLI\</OutputPath>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageTags>jnet cli dotnet clr netcore net6</PackageTags>
<PackageId>MASES.JNetCLI</PackageId>
<RunAnalyzersDuringLiveAnalysis>False</RunAnalyzersDuringLiveAnalysis>
<RunAnalyzersDuringBuild>False</RunAnalyzersDuringBuild>
</PropertyGroup>
<Import Project="..\Common\Common.props" />
<PropertyGroup>
<PackageType>DotnetTool</PackageType>
<OutputType>Exe</OutputType>
<AssemblyName>MASES.JNetCLI</AssemblyName>
<RootNamespace>MASES.JNetCLI</RootNamespace>
<Title>JNetCLI - JNet (Java/JVM suite for .NET) command line interface</Title>
<Description>JNetCLI - JNet (Java/JVM suite for .NET) command line interface</Description>
<Product>JNetCLI</Product>
<OutputPath>..\..\..\binCLI\</OutputPath>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageTags>jnet cli dotnet clr netcore net6</PackageTags>
<PackageId>MASES.JNetCLI</PackageId>
<RunAnalyzersDuringLiveAnalysis>False</RunAnalyzersDuringLiveAnalysis>
<RunAnalyzersDuringBuild>False</RunAnalyzersDuringBuild>
</PropertyGroup>
<ItemGroup>
<jnetcli_jars Include="$(ProjectDir)\..\..\..\jars\jnet-*" />
<None Include="..\..\documentation\articles\usageReflector.md" Pack="true" PackagePath="\" />
Expand All @@ -25,17 +25,17 @@
<Target Name="CopyCustomContentOnPublish" AfterTargets="Publish">
<Copy SourceFiles="@(jnetcli_jars)" DestinationFolder="$(PublishDir)\jars" />
</Target>
<ItemGroup>
<ProjectReference Include="..\JNet\JNet.csproj">
<IncludeAssets>All</IncludeAssets>
<PrivateAssets>None</PrivateAssets>
</ProjectReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.12.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Update="DotnetToolSettings.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\JNet\JNet.csproj">
<IncludeAssets>All</IncludeAssets>
<PrivateAssets>None</PrivateAssets>
</ProjectReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.12.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Update="DotnetToolSettings.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
16 changes: 8 additions & 8 deletions src/net/JNetPS/JNetPS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0'">
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup Condition="True">
<jnetps_jars Include="$(ProjectDir)\..\..\..\jars\jnet-*" />
</ItemGroup>

<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
<Copy SourceFiles="@(jnetps_jars)" DestinationFolder="$(OutDir)\jars" />
</Target>
Expand All @@ -39,11 +39,11 @@
</ItemGroup>

<ItemGroup>
<None Update="MASES.JNetPSFramework.psd1" Condition="'$(TargetFramework)' == 'net462'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="MASES.JNetPSCore.psd1" Condition="'$(TargetFramework)' == 'net8.0'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="MASES.JNetPSFramework.psd1" Condition="'$(TargetFramework)' == 'net462'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="MASES.JNetPSCore.psd1" Condition="'$(TargetFramework)' == 'net8.0'">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
Loading

0 comments on commit b2e90c4

Please sign in to comment.