none
LightSwitch Project does not builds anymore on Build Server RRS feed

  • Question

  • Hi LightSwitch Team,

    my LightSwitch Project builds on developer system, but on Build Server build failed with the 2 identic errors:

    $/ConstructionProj/ConstructionProj/Dev/Sources/ConstructionProj/ConstructionProj/ConstructionProj.ls3proj   - 2 error(s), 26 warning(s)

    C:\Program   Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v3.0\Microsoft.LightSwitch.Build.Tasks.targets   (208): The "LSResourceGeneratorsTask" task failed unexpectedly.   System.NullReferenceException: Object reference not set to an instance of an   object. at   Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.LoadExtensions(IList`1   extensions, String rootProjectFile, AggregateCatalog aggregateCatalog) at   Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(IEnumerable`1   inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1   externalDataSources) at   Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()   at   Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()   at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.Execute() at   Microsoft.LightSwitch.BuildTasks.CodeGen.LSResourceGeneratorsTask.Execute()   at   Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

    C:\Program   Files\MSBuild\Microsoft\VisualStudio\LightSwitch\v3.0\Microsoft.LightSwitch.Build.Tasks.targets   (160): The "LSSvcGeneratorsTask" task failed unexpectedly. System.NullReferenceException:   Object reference not set to an instance of an object. at   Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.LoadExtensions(IList`1   extensions, String rootProjectFile, AggregateCatalog aggregateCatalog) at   Microsoft.LightSwitch.BuildTasks.Common.CommandLineBuildContainerFactory.Create(IEnumerable`1   inputStreams, IEnumerable`1 serviceStreams, String projectPath, IEnumerable`1   externalDataSources) at   Microsoft.LightSwitch.BuildTasks.Common.BuildTaskBase.EnsureCommandLineBuildContainer()   at   Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.RunGeneratorsInNonIdeScenario()   at Microsoft.LightSwitch.BuildTasks.CodeGen.LSGeneratorsTask.Execute() at   Microsoft.LightSwitch.BuildTasks.CodeGen.LSSvcGeneratorsTask.Execute() at   Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()   at   Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

    Other Errors

    1 error(s)

    Exception Message: MSBuild error 1 has ended   this build. You can find more specific information about the cause of this   error in above messages. (type BuildProcessTerminateException) Exception   Stack Trace: at   System.Activities.Statements.Throw.Execute(CodeActivityContext context) at   System.Activities.CodeActivity.InternalExecute(ActivityInstance instance,   ActivityExecutor executor, BookmarkManager bookmarkManager) at   System.Activities.ActivityInstance.Execute(ActivityExecutor executor,   BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor   executor, BookmarkManager bookmarkManager, Location resultLocation)

    Can somebody help?

    I can't localize this error. I added the extension "PdfDocViewer" last.

    Many, many thanks.

    Thursday, July 3, 2014 2:16 PM

Answers

All replies