Skip to content

How to avoid Namespace Confilct with regular SVG.Net #187

Closed Answered by DevSelchow
DevSelchow asked this question in Q&A
Discussion options

You must be logged in to vote

Could get it to work with Aliases:
in you csproj:

<ItemGroup>
          ...
	<PackageReference Include="Svg" Version="3.4.4" Aliases="SvgNet" />

</ItemGroup>

and in ur using like

extern alias SvgNet;
using NetSVG = SvgNet.Svg;

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DevSelchow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant