LINQ
(1)
CMMainWindow
(1)
ResetSkipPkgs
(1)
CMInstall
(1)
Wang
(1)
Jie
(1)
Verbosity
(1)
Window
(1)

MSI Build generates O/R Designer Validation failed error

Asked By Morris Neuman
18-Dec-09 02:41 PM
I am working in VS2008.  I have built an solution with 2 C# projects and 2
C++ projects plus a Setup project to build a MSI deployment package.

Everything is working and the .MSI fie is built and works also.

But when I select the stup project in my solution and choose "Build"

I get the following in the output window
----- Build started: Project: CMMainWindow, Configuration: Release Any CPU
------
O/R Designer validation failed for file:
C:\CM\CMMainWindow\CMMainWindow\DataClasses1.dbmlError: The operation could
not be completed. Unspecified error
------ Starting pre-build validation for project 'CMInstall' ------
------ Pre-build validation for project 'CMInstall' completed ------
------ Build started: Project: CMInstall, Configuration: Release ------
Building file 'C:\CM\CMInstall\CMInstall\CMInstall\Release\CALLMaster.msi'...

Despite that everything works fine.  What is the message:

O/R Designer validation failed for file:
C:\CM\CMMainWindow\CMMainWindow\DataClasses1.dbmlError: The operation could
not be completed. Unspecified error

The CMMainWindow is a C# project that uses LINQ and it has the
DataClasses1.dbml file, but that project compiles OK with no errors when it
is compiled seperately.

How can this be corrected?

--
Thanks
Morris

Hello Morris,What if you temporarily exlude the setup project from the

jiewa replied to Morris Neuman
21-Dec-09 04:51 AM
Hello Morris,

What if you temporarily exlude the setup project from the solution and then
compile the solution? Do you still see the same error message?

You can also try set the MSBuild output verbosity to "Detailed" or
[jiewan at msft] the log file if you want).

Besides, try from a Administrator command prompt, run "devenv
/ResetSkipPkgs", and see if the error message goes away.

Let me know how it goes.

Thanks,
Jie Wang

Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business days is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Hi, Do you have a fix for this problem?""Jie Wang [MSFT]"" wrote:

Bora Inceler replied to jiewa
02-Mar-10 12:31 PM
Hi, Do you have a fix for this problem?
Post Question To EggHeadCafe