Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 15311bc

Browse files
committed
Override default PrivateAssets from proj refs
Otherwise the nupkg's get created with PrivateAssets="build" in them which causes the build bits (such as .targets) to not be referenced in transitive dependencies.
1 parent db74a74 commit 15311bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/AndroidSupportProject.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@
130130
<!-- ProjectReference -->
131131
@foreach (var dep in @Model.NuGetDependencies) {
132132
if (dep.IsProjectReference) {
133-
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" />
133+
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
134134
}
135135
}
136136
<!-- some additional fixes -->

0 commit comments

Comments
 (0)