Enterprise Library 3.1 fails in buildscript

Y

yacrumb

Hello all,

I installed Orcas. Then I downloaded Enterprise Library 3.1 and run
the build-script. It looked promising but unfortunately on target
CopyFilesToOutputDirectory the script ended with the lines below. Any
hints?

Thanks in advance!
/Rasmus

:

Build FAILED.
C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not
resolve this reference. Could not locate the assembly "Micro
soft.Data.ConnectionUI". Check to make sure the assembly exists on
disk. If this reference is required by your code, you may get
compilation errors.
C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not
resolve this reference. Could not locate the assembly "Micro
soft.Data.ConnectionUI.Dialog". Check to make sure the assembly exists
on disk. If this reference is required by your code, you may get
compilation errors.
ConnectionStringEditor.cs(18,17): error CS0234: The type or namespace
name 'Data' does not exist in the namespace 'Microsoft' (are you
missing an assembly refer
ence?)
ConnectionStringEditor.cs(105,8): error CS0246: The type or namespace
name 'DataSource' could not be found (are you missing a using
directive or an assembly ref
erence?)
ConnectionStringEditor.cs(106,17): error CS0246: The type or namespace
name 'DataProvider' could not be found (are you missing a using
directive or an assembly
reference?)
2 Warning(s)
3 Error(s)
 
P

Pramod Anchuparayil

Hello all,

I installed Orcas. Then I downloadedEnterpriseLibrary3.1and run
the build-script. It looked promising but unfortunately on target
CopyFilesToOutputDirectory the script ended with the lines below. Any
hints?

Thanks in advance!
/Rasmus

:

Build FAILED.
C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not
resolve this reference. Could not locate the assembly "Micro
soft.Data.ConnectionUI". Check to make sure the assembly exists on
disk. If this reference is required by your code, you may get
compilation errors.
C:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not
resolve this reference. Could not locate the assembly "Micro
soft.Data.ConnectionUI.Dialog". Check to make sure the assembly exists
on disk. If this reference is required by your code, you may get
compilation errors.
ConnectionStringEditor.cs(18,17): error CS0234: The type or namespace
name 'Data' does not exist in the namespace 'Microsoft' (are you
missing an assembly refer
ence?)
ConnectionStringEditor.cs(105,8): error CS0246: The type or namespace
name 'DataSource' could not be found (are you missing a using
directive or an assembly ref
erence?)
ConnectionStringEditor.cs(106,17): error CS0246: The type or namespace
name 'DataProvider' could not be found (are you missing a using
directive or an assembly
reference?)
2 Warning(s)
3 Error(s)

We had a similar issue on x64 and we had to manually register the
assemblies into the GAC and recycle the application pool which fixed
it. Hope that helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top