Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/DKNet.FW.sln.DotSettings.user
Original file line number Diff line number Diff line change
Expand Up @@ -588,14 +588,14 @@
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=0109f02b_002D3fcd_002D4b82_002Db667_002Dfa31ec54c795/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" Name="All tests from &amp;lt;AspNet&amp;gt;" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;
&lt;Solution /&gt;
&lt;/SessionState&gt;</s:String>
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=076f3db0_002D9c90_002D464c_002Da713_002Df7c36319c497/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" Name="All tests from &amp;lt;AspNet&amp;gt;\&amp;lt;AspCore.Idempotency.Tests&amp;gt;" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=076f3db0_002D9c90_002D464c_002Da713_002Df7c36319c497/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" IsActive="True" Name="All tests from &amp;lt;AspNet&amp;gt;\&amp;lt;AspCore.Idempotency.Tests&amp;gt;" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;
&lt;Or&gt;
&lt;Project Location="/Users/steven/_CODE/DRUNK/DKNet/src/AspNet/AspCore.Idempotency.Tests" Presentation="&amp;lt;AspNet&amp;gt;\&amp;lt;AspCore.Idempotency.Tests&amp;gt;" /&gt;
&lt;Project Location="/Users/steven/_CODE/DRUNK/DKNet/src/AspNet/AspCore.Idempotency.MsSqlStore.Tests" Presentation="&amp;lt;AspNet&amp;gt;\&amp;lt;AspCore.Idempotency.MsSqlStore.Tests&amp;gt;" /&gt;
&lt;/Or&gt;
&lt;/SessionState&gt;</s:String>

<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=bd972a6a_002D73e3_002D4962_002D9e9b_002Dc5100a3f62e4/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" IsActive="True" Name="Session" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;
<s:String x:Key="/Default/Environment/UnitTesting/UnitTestSessionStore/Sessions/=bd972a6a_002D73e3_002D4962_002D9e9b_002Dc5100a3f62e4/@EntryIndexedValue">&lt;SessionState ContinuousTestingMode="0" Name="Session" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session"&gt;
&lt;Or&gt;
&lt;Project Location="/Users/steven/_CODE/DRUNK/DKNet/src" Presentation="&amp;lt;AspNet&amp;gt;" /&gt;
&lt;Project Location="/Users/steven/_CODE/DRUNK/DKNet/src" Presentation="&amp;lt;Core&amp;gt;" /&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,20 @@
<!-- Suppress warnings about netstandard2.0 -->
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>

<ItemGroup>
<InternalsVisibleTo Include="EfCore.DtoGenerator.Tests"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" PrivateAssets="all"/>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" PrivateAssets="all"/>
</ItemGroup>

<ItemGroup>
<!-- Pack the generator DLL as an analyzer -->
<!-- <None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/>-->
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/>

<!-- Include the attribute file in consuming projects -->
<!-- <None Include="GenerateDtoAttribute.cs" Pack="true" PackagePath="contentFiles/cs/any;content" BuildAction="Compile"/>-->
<None Include="GenerateDtoAttribute.cs" Pack="true" PackagePath="contentFiles/cs/any;content" BuildAction="Compile"/>

<!-- Standard package files -->
<None Include="..\..\NugetLogo.png" Pack="true" PackagePath="\"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace DKNet.EfCore.DtoGenerator;
/// are automatically excluded, including both single entity properties and collection properties.
/// </remarks>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
public sealed class GenerateDtoAttribute : Attribute
internal sealed class GenerateDtoAttribute : Attribute
{
/// <summary>
/// Gets the entity type to generate a DTO for.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@
<ProjectReference Include="..\DKNet.EfCore.DtoEntities\DKNet.EfCore.DtoEntities.csproj"/>
<ProjectReference Include="..\DKNet.EfCore.DtoGenerator\DKNet.EfCore.DtoGenerator.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="true"/>
ReferenceOutputAssembly="true">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</ProjectReference>
</ItemGroup>

<ItemGroup>
Expand Down
Loading