我查看了我的 .sln 文件(这是一个有两个项目的解决方案,一个取决于另一个),这是我发现的一个部分:
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GspService", "GspService\GspService.csproj", "{7D9D9F3A-9405-43E9-900F-A00DF28019A5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GspTest", "WcfTestApp\GspTest.csproj", "{430F45E5-A6C6-4B0F-8D48-DC99F6D082DA}"
ProjectSection(ProjectDependencies) = postProject
{7D9D9F3A-9405-43E9-900F-A00DF28019A5} = {7D9D9F3A-9405-43E9-900F-A00DF28019A5}
EndProjectSection
EndProject
您可以查看该部分
ProjectSection(ProjectDependencies) = postProject
{7D9D9F3A-9405-43E9-900F-A00DF28019A5} = {7D9D9F3A-9405-43E9-900F-A00DF28019A5}
EndProjectSection
引用 GspService 项目,希望这会有所帮助