Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
connorivy committed Dec 3, 2024
1 parent 11925df commit d95c6ee
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/MockMe.Generator/MockMe.Generator.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
Expand All @@ -21,7 +21,17 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MockMe.Abstractions\MockMe.Abstractions.csproj" />
<ProjectReference Include="..\MockMe.Abstractions\MockMe.Abstractions.csproj" GeneratePathProperty="true" PrivateAssets="all"/>
</ItemGroup>

<PropertyGroup>
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
</PropertyGroup>

<Target Name="GetDependencyTargetPaths">
<ItemGroup>
<TargetPathWithTargetPlatformMoniker Include="$(MSBuildProjectDirectory)\$(OutputPath)MockMe.Abstractions.dll" IncludeRuntimeDependency="false" />
</ItemGroup>
</Target>

</Project>

0 comments on commit d95c6ee

Please sign in to comment.