c# - VS 2012 Project Compile errors over seven missing .cs files -
looking learn more visual studio extensiblity new languages came across question linked project. is there custom language add-in visual studio 2012 / vs11?
the op question along lines of wanting learn , accepted answer looked good. @ end answer contained link "prepared solution" after updates recommended making. "updated" project downloaded , upon compile 7 errors virtually same. there 7 warnings , warnings seem related errors. problem knowledge insufficient make connection , implement resolution.
the warnings go this:
the file 'visualstudiointegration\common\source\csharp\registrationattributes\websiteprojectattribute.cs' not added project. cannot add link file ...long path...\websiteprojectattribute.cs. file within project directory tree.
the matching error is:
source file 'visualstudiointegration\common\source\csharp\registrationattributes\websiteprojectattribute.cs' not found
trying solve myself found post the file not added project. file within project directory tree error
and recommend looking in proj file did , found 7 entries match warnings , errors.
<itemgroup> <compile include="$(commonregattributes)\websiteprojectattribute.cs"> <link>registrationattributes\websiteprojectattribute.cs</link> </compile>
the post said delete link tag line not understanding connection i'm not sure smart thing do.
so question after of connection , should / learn more resolve these errors.
thank you
further testing saved .proj file off , deleted links. warnings go away errors saying can't find files remain....
i think found them. bad package design. did global search files on disk , found them in 2010 sdk folder. referenced file structure of person built package...which go figure not structure. change vs project include files , looks good. include files
Comments
Post a Comment