Skip to content

Commit

Permalink
Changed: Only ship needed binaries for dotnet build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Jun 8, 2023
1 parent 63f3c0a commit add828a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

<Project Sdk="Microsoft.NET.Sdk">


<!-- Import Targets -->
<Import Project="../Reloaded.Assembler/Reloaded.Assembler.targets" />

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>false</IsPackable>
Expand Down
22 changes: 7 additions & 15 deletions Source/Reloaded.Assembler/Reloaded.Assembler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
<Authors>Sewer56</Authors>
<Product>Reloaded</Product>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb;.dll</AllowedOutputExtensionsInPackageBuildOutputFolder>
<Description>Minimal .NET wrapper around the simple, easy to use Flat Assembler written by Tomasz Grysztar. Supports both x64 and x86 development.</Description>
<Description>Minimal .NET wrapper around the simple, easy to use Flat Assembler written by Tomasz Grysztar. Supports both x64 and x86 development on Windows.</Description>
<Copyright>LGPL V3</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Reloaded-Project/Reloaded.Assembler</PackageProjectUrl>
<PackageIconUrl></PackageIconUrl>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/Reloaded-Project/Reloaded.Assembler</RepositoryUrl>
<Version>1.0.14</Version>
<Version>1.0.15</Version>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>Icon.png</PackageIcon>

Expand All @@ -32,22 +30,16 @@
<ItemGroup>
<None Include="..\..\LICENSE">
<Pack>True</Pack>
<PackagePath></PackagePath>
<PackagePath>.</PackagePath>
</None>
<None Include="..\Icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
<PackagePath>.</PackagePath>
</None>
<None Include="Reloaded.Assembler.targets" Pack="true" PackagePath="build" />
<None Include="FASM-LICENSE.TXT" Pack="true" PackagePath="build">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="FASM.DLL" Pack="true" PackagePath="build">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="FASMX64.DLL" Pack="true" PackagePath="build">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="FASM-LICENSE.TXT" Pack="true" PackagePath="build"/>
<None Include="FASM.DLL" Pack="true" PackagePath="build"/>
<None Include="FASMX64.DLL" Pack="true" PackagePath="build"/>
</ItemGroup>

<ItemGroup>
Expand Down
12 changes: 9 additions & 3 deletions Source/Reloaded.Assembler/Reloaded.Assembler.targets
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<NativeLibs Include="$(MSBuildThisFileDirectory)*.*" />
<None Include="@(NativeLibs)">
<NativeLibs32 Include="$(MSBuildThisFileDirectory)FASM.DLL" Condition="('$(Platform)' == 'AnyCPU' and '$(RuntimeIdentifier)' == '') or '$(Platform)' == 'x86' or '$(RuntimeIdentifier)' == 'win-x86'" />
<NativeLibs64 Include="$(MSBuildThisFileDirectory)FASMX64.DLL" Condition="('$(Platform)' == 'AnyCPU' and '$(RuntimeIdentifier)' == '') or '$(Platform)' == 'x64' or '$(RuntimeIdentifier)' == 'win-x64'" />
<None Include="@(NativeLibs32);@(NativeLibs64)">
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

<None Include="$(MSBuildThisFileDirectory)Reloaded.Assembler.targets">
<Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
</Project>

0 comments on commit add828a

Please sign in to comment.