У меня проблема с Teamcity. При запуске сборки моего проекта в Visual Studio, успешно пройденной, запуск этой «сборки» в Teamcity приводит к некоторым ошибкам, которые трудно понять.Ошибка компиляции TeamCity
Эти ошибки я получаю от TeamCity:
AppealPersonDetails.cs(29, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
AppealPersonDetails.cs(32, 7): error CS0246: The type or namespace name 'Excel' could not be found (are you missing a using directive or an assembly reference?)
AppealReportAddAnotherApplication.cs(29, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
AppealReportDetailsPage.cs(29, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
FinishProcessPage.cs(29, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
MainStatusPage.cs(29, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
MainTestRunner.cs(27, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
MainTestRunner.cs(31, 7): error CS0246: The type or namespace name 'Excel' could not be found (are you missing a using directive or an assembly reference?)
Queries.cs(13, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
StatusApplicationsPage.cs(29, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
StatusPage.cs(29, 7): error CS0246: The type or namespace name 'Tlv' could not be found (are you missing a using directive or an assembly reference?)
Что вы подразумеваете под словом «расположение сборок, содержащих пространства имен Tlv и Excel»? Обе сборки - это фактически созданные мной проекты. все мои проекты были загружены в TFS (контроль источника). во-первых, они были скрещены локально, загружены в TFS, а затем я получил последнюю версию на машине VM, где в настоящее время работает TeamCity. –
Если они зависят от проекта, гарантировали ли вы, что порядок сборки правильно строит их перед сборкой, которую вы пытаетесь построить? Вы ссылаетесь на них как на проекты или только на сборку? – toadflakz
Я ссылаюсь на них как скомпилированные сборки (просто добавляя dll в качестве ссылки). но я думаю, что проблема где-то там. Мне просто нужно выяснить, что приводит к ошибке. Я уже загрузил сборки Tlv и Excel и построил их, поэтому мне нужно углубиться, чтобы узнать, что вызвало это. Я обновлю, как только узнаю. 10x –