Hi,
I try to integrate TFS Express, MSBuild and Jenkins as another way to run a CI. I get the source code within Jenkins but the LS project fails: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsoft.LightSwitch.Build.Tasks.targets(247,5): error MSB4018: Unerwarteter Fehler bei der LSCodeGeneratorsTask-Aufgabe. [C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1\Common\Common.csproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsoft.LightSwitch.Build.Tasks.targets(247,5): error MSB4018: System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt. [C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1\Common\Common.csproj] Has anyone got a Lightswitch project built on TFS or Jenkins? I get another error when I try to build the project at that location from within a CMD box (as administrator) and the errors as follows: Die Erstellung des Projekts "C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitc h CRM\workspace\Application1.sln" ist abgeschlossen (Standardziele) -- FEHLER. Fehler beim Buildvorgang. "C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1 .sln" (Standardziel) (1) -> "C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1 \Application1.lsproj" (Standardziel) (2) -> (CoreLSBuild Ziel) -> C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Micros oft.LightSwitch.targets(146,9): error : Ausnahme beim Erstellen der Datenbank f ür die Anwendung.\r [C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\wo rkspace\Application1\Application1.lsproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsof t.LightSwitch.targets(146,9): error : CREATE FILE encountered operating system error 5(Zugriff verweigert) while attempting to open or create the physical fil e 'C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Applicatio n1\Bin\Data\ApplicationDatabase.mdf'.\r [C:\Program Files (x86)\Jenkins\jobs\TF S Lightswitch CRM\workspace\Application1\Application1.lsproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsof t.LightSwitch.targets(146,9): error : CREATE DATABASE failed. Some file names l isted could not be created. Check related errors.\r [C:\Program Files (x86)\Jen kins\jobs\TFS Lightswitch CRM\workspace\Application1\Application1.lsproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsof t.LightSwitch.targets(146,9): error : User does not have permission to alter da tabase 'F2B4DEAF-7D7C-43FA-9921-37E81F135BAC', the database does not exist, or the database is not in a state that allows access checks.\r [C:\Program Files ( x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1\Application1.lspro j] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsof t.LightSwitch.targets(146,9): error : ALTER DATABASE statement failed.\r [C:\Pr ogram Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1\Appli cation1.lsproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsof t.LightSwitch.targets(146,9): error : User does not have permission to alter da tabase 'F2B4DEAF-7D7C-43FA-9921-37E81F135BAC', the database does not exist, or the database is not in a state that allows access checks.\r [C:\Program Files ( x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1\Application1.lspro j] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsof t.LightSwitch.targets(146,9): error : ALTER DATABASE statement failed.\r [C:\Pr ogram Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1\Appli cation1.lsproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v2.0\Microsof t.LightSwitch.targets(146,9): error : The database 'F2B4DEAF-7D7C-43FA-9921-37E 81F135BAC' does not exist. Supply a valid database name. To see available datab ases, use sys.databases. [C:\Program Files (x86)\Jenkins\jobs\TFS Lightswitch CRM\workspace\Application1\Application1.lsproj] Thanks, Lothar -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
