Skip to content

Commit

Permalink
Include library dll in nupkg
Browse files Browse the repository at this point in the history
  • Loading branch information
gregyjames committed Jan 18, 2025
1 parent 170db04 commit 4760cf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
.idea/

DTOGen.sln.DotSettings.user

*.user
7 changes: 6 additions & 1 deletion Mapperic/Mapperic.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<OutputItemType>Analyzer</OutputItemType>
Expand All @@ -22,6 +21,8 @@
<PackageTags>dto, data, automapper, mapper, oop, object, fields</PackageTags>
<Description>Mapping Magic! Automatically generate DTO Classes and AutoMapper Configurations.</Description>
<RootNamespace>Mapperic</RootNamespace>
<LangVersion>13</LangVersion>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand All @@ -46,4 +47,8 @@
<ProjectReference Include="..\Mapperic.Attributes\Mapperic.Attributes.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="tools\*.ps1" CopyToOutputDirectory="Always" Pack="true" PackagePath="tools" />
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
</ItemGroup>
</Project>

0 comments on commit 4760cf0

Please sign in to comment.