-
ContextI have the following VS2019 solution structure where Project B has a ProjectReference to ProjectA:
ProjectA.csproj<Project Sdk="My.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SomeNuget" Version="1.0.8" />
</ItemGroup>
</Project> ProjectB.csproj<Project Sdk="My.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net461</TargetFrameworks>
<MinVerTagPrefix>special-</MinVerTagPrefix>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\SolutionRoot\ProjectA.csproj" />
</ItemGroup>
</Project> Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@bryan-wu this sounds like exactly the same scenario that was described in #500. This is the best solution I can think of (from #500 (comment)):
This is a variation of what you mentioned:
The difference is that you are best placed to know when changes being committed to the repo affect project A and when they don't. As long as they don't, you leave the |
Beta Was this translation helpful? Give feedback.
@bryan-wu this sounds like exactly the same scenario that was described in #500.
This is the best solution I can think of (from #500 (comment)):