vb.net - Import XSD targetNameSpace From another Visual Studio project -
i have vb solution many vb projects in it. 1 of them, "core" project, has .xsd
file in targetnamespace
of urn:customnamespace
.
in core project, able import xsd namespace doing following:
imports <xmlns="urn:customnamespace"/>
how can imports
statement work in project references core project? in core, xsd's namespace shows intellisense. not case in referring project.
i know can done somehow, consuming nuget package has xsd importing.
******** update ********
it looks namespace intellisense dll in nuget package coming configuration section designer xsd file, .csd.xsd
file. there other related files this, want same functionality comes referencing package has .csd.xsd
file.
it looks vs add in located @ https://csd.codeplex.com/. i'll pull down project try find out how they're doing it, i'd appreciate answer if knows how it's done.
nuget adding schema file project referencing "core" project. can reference same xsd file adding link referring project.
right-click (non-core) project, select add>existing item. browse xsd file - , bit key - instead of clicking 'add', click little arrow next "add" , select "add link".
Comments
Post a Comment