Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, February 11, 2015 2:21 AM
Recently, I'm coding one sub project.
And I added to the main project, but there are some lines different, and I can't get the meaning.
ProjectSection(SolutionItems) = preProject
....
EndProjectSection
Could someone kindly tell me what's that used for?
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sensors", "Sensors", "{CC112F0C-89DF-48FF-A402-9AF337996FD8}"
ProjectSection(SolutionItems) = preProject
..\..\Sensor\ov2740\ov2740.VcxProj = ..\..\Sensor\ov2740\ov2740.VcxProj
EndProjectSection
EndProject
All replies (1)
Thursday, February 12, 2015 3:23 AM âś…Answered
Hi DeDriver,
Thank you for posting in MSDN forum.
(1)According to your description, could you please tell me which kind of solution/ project you create, is it a C++ or other?
(2)What version of VS you create the solution/project? If possible, I suggest you can share me a screen shot about the your project hierarchy in Solution Explorer.
(3)Where did you get/see the code as you provided?
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Sensors", "Sensors", "{CC112F0C-89DF-48FF-A402-9AF337996FD8}"
ProjectSection(SolutionItems) = preProject
..\.\Sensor\ov2740\ov2740.VcxProj = ..\.\Sensor\ov2740\ov2740.VcxProj
EndProjectSection
EndProject
Generally, I know that when we right-click the Solution->Add New Item->Select a such as bmp file or .cs file like the following screen shot.
So the ProjectSection(SolutionItems) = preProject is used to add new item under the Solution.
to further help you solve this issue, please tell me more detail message about this issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.