VS1041: The integration tool could not initialize the solution scope because of the scope context is not valid. The CreateProject ...

VS1041: The integration tool could not initialize the solution scope because of the scope context is not valid. The CreateProject member, the CreateProjectItem member and the ProjectItem member of VSScopeContext are all null. Provide a non-null value for one, and only one, of these members.