Looking to learn more about visual studio extensiblity, specifically about new languages, I came across this SO question with a related project. Is there a custom add-in for Visual Studio 2012 / VS11?
The OP question was in line with what I wanted to know, and the accepted answer looked very good. At the end of the response there was a link to a “prepared solution” after the updates that he recommended making. It is this "updated" project that I downloaded, and after compiling I received 7 errors, almost everything is the same. There are also 7 warnings, and the warnings seem to be related to errors. The problem is that my knowledge is not enough to make the connection and implement the resolution.
All warnings are as follows:
The file 'VisualStudioIntegration\Common\Source\CSharp\RegistrationAttributes\WebSiteProjectAttribute.cs' could not be added to the project. Cannot add a link to the file ...long path...\WebSiteProjectAttribute.cs. This file is within the project directory tree.
Match Error:
Source file 'VisualStudioIntegration\Common\Source\CSharp\RegistrationAttributes\WebSiteProjectAttribute.cs' could not be found
Trying to solve it myself, I found this SO post file could not be added to the project. This file is in the project directory tree error
and it is recommended to look in the proj file that I made and find 7 entries corresponding to warnings and errors.
<ItemGroup> <Compile Include="$(CommonRegAttributes)\WebSiteProjectAttribute.cs"> <Link>RegistrationAttributes\WebSiteProjectAttribute.cs</Link> </Compile>
This article says to remove the link tag line, but not understanding the connection. I am not sure if this will be a reasonable thing.
So my question after all this is what is the connection and what should I do / learn more about fixing these errors.
thanks
Further testing I saved the .proj file and deleted the links. Warnings go away, but errors saying that they cannot find the files remain ....
I think I found them. Bad packaging design. I went through a global search for files on the disk and found them in the 2010 sdk folder. They referred to the file structure of the person who built the package ... which does not appear in my structure. Change vs project to include files and everything looks good. to include files