You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the old csproj format file a package was included using: <PackageReference Include="Graphviz" GeneratePathProperty="true"> <Version>2.38.0.2</Version> </PackageReference>
In the new format this is formatted as : <PackageReference Include="Graphviz" Version="2.38.0.2"/>
It should be: <PackageReference Include="Graphviz" Version="2.38.0.2" GeneratePathProperty="true"/>
The GeneratePathProperty is needed to included package items to the project (for example): <Content Include="$(PkgGraphviz)\zlib1.dll"> <Link>GraphViz\zlib1.dll</Link> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content>
The text was updated successfully, but these errors were encountered:
Are you sure that it is still needed? I think I have seen those properties get defined automatically in the auto-generated files in the obj folder when using the new project format.
That is a really good question. I can only answer that by trying.
But either way, the GeneratePathProperty is supported in both formats, so it seems logical to me to convert that attribute too. Right now my projects are failing because of this.
In the old csproj format file a package was included using:
<PackageReference Include="Graphviz" GeneratePathProperty="true"> <Version>2.38.0.2</Version> </PackageReference>
In the new format this is formatted as :
<PackageReference Include="Graphviz" Version="2.38.0.2"/>
It should be:
<PackageReference Include="Graphviz" Version="2.38.0.2" GeneratePathProperty="true"/>
The GeneratePathProperty is needed to included package items to the project (for example):
<Content Include="$(PkgGraphviz)\zlib1.dll"> <Link>GraphViz\zlib1.dll</Link> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content>
The text was updated successfully, but these errors were encountered: