Yeni projemiz için Hundson Server ürünümüzü kurmaya çalışıyorum. Her şey yolunda gidiyor, proje oluşturuluyor, birim testi ve FxCop çekleri çalışıyor. Ancak kodu StyleCop ile kontrol etmeye çalıştığımda bir hata oluşur. İlk: Biz MS VS 2010 ile C# geliştiriyoruz ve Hudson Server'da .Net 4.0 ve Windows SDK 7.1 yüklü.StyleCopTask, Hudson Server üzerinde yüklenemedi
Artık StyleCop.Targets'ı SVN'ime ekledim ve .cproj dosyalarını dosyasına bağladım. VS2010 inşa halinde StyleCop uyarılar, hariç, iyi gitti dinlenme ama Hundson Sunucusu bu hata oluşur proje oluşturmak çalışırsa:
error MSB4062: The "StyleCopTask" task could not be loaded from the assembly
C:\Program Files (x86)\MSBuild\..\StyleCop 4.7\StyleCop.dll. Could not load file or
assembly 'Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified. Confirm that the <UsingTask> declaration is correct,
that the assembly and all its dependencies are available, and that the task
contains a public class that implements Microsoft.Build.Framework.ITask.
StyleCop.dll Hundson Server yolunda olduğunu, Birisi bana yanlış yaptıklarımı söyleyebilir mi?
düzeltmek gerekir geliştirici bilgisayarımda tahmin ettim. Orada normal tarzı çalışır. Her .csproj dosyasına ekledim: –
CoolKiffings
StyleCop .NET 3.5 derlemesi arıyor gibi görünüyor. Yapı sunucusu .NET 3.5 yüklü mü? –