Uso teamcity para crear proyectos Sharepoint utilizando MSBuild de 64 bits. Todos los proyectos funcionan bien en lugar de mi proyecto de flujo de trabajo. Cuando se utiliza Framework 4.0 me sale el mensaje de errorNo se puede construir el proyecto de flujo de trabajo con msbuild (Sharepoint 2010)
c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Workflow.Targets(121,5): error MSB4018: The "CompileWorkflowTask" task failed unexpectedly. [V:\Workflows\MyCustomer.WFs.TranslationWorkflow\MyCustomer.WFs.TranslationWorkflow\MyCustomer.WFs.TranslationWorkflow.csproj] c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Workflow.Targets(121,5): error MSB4018: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Temp\vjwduioy.tmp'. [V:\Workflows\MyCustomer.WFs.TranslationWorkflow\MyCustomer.WFs.TranslationWorkflow\MyCustomer.WFs.TranslationWorkflow.csproj]
recordé que Microsoft se deshizo del viejo mecanismo de flujo de trabajo de modo que esperaba que posiblemente sólo funciona con el antiguo 3.5 marco y construyó el proyecto con eso, pero tengo otro error :
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets(37,45): error MSB4019: The imported project "C:\Windows\Microsoft.NET\Framework64\v3.5\Workflow.Targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
En la construcción de Visual Studio 2010 funciona muy bien.
¿Crear qué carpeta? ¿Con que nombre? ¿Con qué dentro? – Shaggydog
Lo siento. Demasiado tiempo atrás. No puedo recordar (De alguna manera se siente como un político, ahora :)) –
Tenía el mismo problema con TeamCity, para describirlo con más precisión 'Temp' debe estar presente en la carpeta 'C: \ Windows \ system32 \ config \ systemprofile \ AppData \ Local' –