This is a migrated thread and some comments may be shown as answers.

How to: temporary stop assembly Enhancement

3 Answers 44 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Vitaliy
Top achievements
Rank 1
Vitaliy asked on 30 Nov 2010, 06:27 PM

I need to analyze my project with a static analyzer from time to time.
I don't want to see lots of OpeanAccess methods there.
I'd like to temporary stop my assemblies enhancement.

If I remove this section from the project file:

<VisualStudio>
  <UserProperties OpenAccess_EnhancementOutputLevel="1" OpenAccess_UpdateDatabase="False" OpenAccess_Enhancing="True" OpenAccess_ConnectionId="PMSConnection" OpenAccess_ConfigFile="App.config" />
</VisualStudio>

It does work.

Didn't I miss any more elegant method?
Maybe the OpenAccess_Enhancing="True" is there on some of the configuration forms?

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
IT-Als
Top achievements
Rank 1
answered on 01 Dec 2010, 10:20 AM
Hi Vitaliy,

In the project properties of the project where your persistent classes reside (typically an assembly/library) you should see the property "Enhancing". It can have a value of either "True" or "False"

Regards

Henrik
0
Alexander
Telerik team
answered on 01 Dec 2010, 10:54 AM
Hello Vitaliy,

Henrik is right, you can turn the enhancing off from the Properties pane when the project is selected in the Solution explorer. There is no need to edit the project file manually.

Regards,
Alexander
the Telerik team
Accelerate your learning with industry's first Telerik OpenAccess ORM SDK. Download today.
0
Vitaliy
Top achievements
Rank 1
answered on 01 Dec 2010, 06:49 PM
Ah, really!

Thank you, guys
Tags
Design Time (Visual Designer & Tools)
Asked by
Vitaliy
Top achievements
Rank 1
Answers by
IT-Als
Top achievements
Rank 1
Alexander
Telerik team
Vitaliy
Top achievements
Rank 1
Share this question
or