Ошибки при создании проекта, возникающие только на моей машине (другие разработчики не имеют этой проблемы) - PullRequest
0 голосов
/ 25 апреля 2018

Я работаю над проектом C # / MVC совместно с другими разработчиками.Проект отлично работает со всеми, кроме моей машины.

Мы используем git с проектом.

Всякий раз, когда я пытаюсь построить проект, я получаю следующие ошибки/ warnings:

Severity    Code    Description Project File    Line    Suppression State
Error       CS0234  The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) MvcPortal   C:\xxx\xxx\xxx\MvcPortal\Controllers\TestingController.cs   18  Active
Error       CS0234  The type or namespace name 'Reporting' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) MvcPortal   C:\xxx\xxx\xxx\MvcPortal\Helpers\ReportUtils.cs 6   Active
Error       CS0246  The type or namespace name 'LocalReport' could not be found (are you missing a using directive or an assembly reference?)   MvcPortal   C:\xxx\xxx\xxx\MvcPortal\Helpers\ReportUtils.cs 84  Active
Error       CS0246  The type or namespace name 'LocalReport' could not be found (are you missing a using directive or an assembly reference?)   MvcPortal   C:\xxx\xxx\xxx\MvcPortal\Helpers\ReportUtils.cs 96  Active
Error       CS0246  The type or namespace name 'LocalReport' could not be found (are you missing a using directive or an assembly reference?)   MvcPortal   C:\xxx\xxx\xxx\MvcPortal\Helpers\ReportUtils.cs 124 Active
Warning     CS0108  'SupplierLController.View()' hides inherited member 'Controller.View()'. Use the new keyword if hiding was intended.    MvcPortal   C:\xxx\xxx\xxx\MvcPortal\Controllers\SupplierLiaisonController.cs   60  Active
Warning             The referenced component 'Microsoft.ReportViewer.WebForms' could not be found.  MvcPortal           
Warning             Could not resolve this reference. Could not locate the assembly "Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.  MvcPortal           

Когда я погуглил эти ошибки, я нашел несколько решений, но если я выполню любое из этих решений, они будут помещены в репозиторий, а затем извлечены другими разработчиками!Это может вызвать дальнейшие проблемы, потому что моя машина - единственная, у которой есть эти ошибки?

Есть мысли?

...