c# - Issue compiling VSIX project in Visual Studio Community 2015 RC -


i attempting create visual studio vsix extension, , i'm running issue when compiling 3 "dependencies" c# class libraries in same solution:

error msb4057: target "vsixcontainerprojectoutputgroup" not exist in project.

error msb4057: target "vsixcontainerprojectoutputgroup" not exist in project.

error msb4057: target "vsixcontainerprojectoutputgroup" not exist in project.

all 3 assemblies set "embed in vsix" , embed folder set "/"; here xml in "source.extension.vsixmanifest" file:

<dependencies>     <dependency id="microsoft.framework.ndp" displayname="microsoft .net framework" d:source="manual" version="4.6" d:installsource="download" />     <dependency d:source="project" d:projectname="networking" d:installsource="embed" version="0.5" location="|networking;vsixcontainerprojectoutputgroup|" displayname="|networking;vsixnameprojectoutputgroup|" id="|networking;vsixidentifierprojectoutputgroup|" d:vsixsubpath="/" />     <dependency d:source="project" d:projectname="utilities" d:installsource="embed" location="|utilities;vsixcontainerprojectoutputgroup|" displayname="|utilities;vsixnameprojectoutputgroup|" id="|utilities;vsixidentifierprojectoutputgroup|" d:vsixsubpath="/" />     <dependency d:source="project" d:projectname="data model" version="1.0" d:installsource="embed" d:vsixsubpath="/" location="|data model;vsixcontainerprojectoutputgroup|" displayname="|data model;vsixnameprojectoutputgroup|" id="|data model;vsixidentifierprojectoutputgroup|" />   </dependencies> 

this code needs in separate assemblies can referenced other projects.

i tried both suggestions mentioned in this msdn forum question, , neither worked.

there less troublesome possibly relevant problem happening: every once in while, classes , namespaces in these 3 projects seem disappear, , have remove , re-add references them.

any fixing these problems appreciated; please let me know if can provide other information solve them.

edit

i tried recompiling in release mode see if configuration-specific problem, nothing changed.

i managed fix removing lines specify outputgroupsincludedinvsix , outputgroupsincludedinvsixlocal project references in csproj file of extension project, , changing libraries "assets" instead of "dependencies" in vsixmanifest file.

hopefully helps other people same issue.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -