|
Replies:
3
-
Pages:
1
-
Last Post:
Feb 24, 2011 1:05 PM
by: Dwight
|
|
|
Posts:
67
Registered:
11/24/10
|
|
|
|
Build on Build Server always breaks
Posted:
Feb 21, 2011 7:16 AM
|
|
|
Tried it with the "full" Toad Extension for Visual Studio and also with the headless build version.
Error message:
"C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Quest Software\Oracle\Quest.Data.Schema.OracleTasks.targets" (74): "The "OracleBuildTask" task could not be loaded from the assembly C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Quest Software\Oracle\OracleDsp.Tasks.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Quest Software\Oracle\OracleDsp.Tasks.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. 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."
It's running on a Windows Server 2008 R2 (x64).
Any idea?
|
|
|
Posts:
263
Registered:
8/22/07
|
|
|
|
Re: Build on Build Server always breaks
Posted:
Feb 23, 2011 12:08 PM
in response to: tkrause
|
|
|
|
|
Tikra, This really looks like an installation problem. I have a couple of configuration questions? 1) Is Visual Studio in the C:\Program Files (x86)\Microsoft Visual Studio 2010\ directory? 2) Is MSBuild in the C:\Program Files (x86)\MSBuild directory?
These are the standard locations, for a regular Visual Studio install.
Try uninstalling the Toad Extension, and reinstalling it. If that doesn't work try uninstalling, then running the Uninstall.bat file (twice!) in the attached zip file, then reinstall the Toad Extension.
I need to warn you that the Uninstall.bat file needs to be run in a cmd.exe shell that has administrator privileges. It removes registry settings and folders used by the Toad Extension. We use it during development to completely clean our workstation.
Let me know how things turn out.
|
Dwight
|
|
Posts:
67
Registered:
11/24/10
|
|
|
|
Re: Build on Build Server always breaks
Posted:
Feb 24, 2011 12:53 AM
in response to: Dwight
|
|
|
uI got it.
I don't know why, but within the build definition dialog under "Process" I had to switch
MSBuild-Plattform: Auto
to
MSBuild-Plattform: X86
Maybe something is searching for the depencies within the x64 path C:\Program Files\MSBuild if I don't force him to use x86 as the plattform.
It feels strange that I have to force x86 on an x64 machine.
Thanks anyway! :)
This is documented here:
http://www.quest.com/Quest_Site_Assets/PDF/ToadExtension_11_ReleaseNotes.htm
If Team Foundation Server is installed on a 64-bit machine, you must edit the build definition to deploy successfully. To edit the build definition - Open the Team Explorer in Visual Studio 2010.
- Right-click the build definition for the project and select Edit Build Definition.
- Enter X86 in the MSBuild Platform field.
Message was edited by: tikra
|
|
|
Posts:
263
Registered:
8/22/07
|
|
|
|
Re: Build on Build Server always breaks
Posted:
Feb 24, 2011 1:05 PM
in response to: tkrause
|
|
|
tikra,
Ah, yes. The release notes. I always forget to read those 
|
Dwight
|
|
|
Legend
|
|
MVP: 2501
+
pts
|
|
Guru: 2001
- 2500
pts
|
|
Expert: 751
- 2000
pts
|
|
Enthusiast: 31
- 750
pts
|
|
Novice: 0
- 30
pts
|
|
Moderators
|
|
Helpful answer
(5 pts)
|
|
Answered
(10 pts)
|
|