File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 247
247
<SpecificVersion >False</SpecificVersion >
248
248
<EmbedInteropTypes >False</EmbedInteropTypes >
249
249
<HintPath >..\libs\Microsoft.Vbe.Interop.Forms.dll</HintPath >
250
+ <Private >True</Private >
250
251
</Reference >
251
252
<Reference Include =" Ninject.Extensions.Conventions" >
252
253
<HintPath >..\packages\ninject.extensions.conventions.3.2.0.0\lib\net45-full\Ninject.Extensions.Conventions.dll</HintPath >
Original file line number Diff line number Diff line change 105
105
<SpecificVersion >False</SpecificVersion >
106
106
<EmbedInteropTypes >False</EmbedInteropTypes >
107
107
<HintPath >..\libs\Microsoft.Vbe.Interop.Forms.dll</HintPath >
108
+ <Private >True</Private >
108
109
</Reference >
109
110
<Reference Include =" office" >
110
111
<HintPath >..\libs\Office.dll</HintPath >
Original file line number Diff line number Diff line change @@ -117,8 +117,11 @@ public override void Release(bool final = false)
117
117
{
118
118
if ( ! IsWrappingNullReference )
119
119
{
120
- References . Release ( ) ;
121
- VBComponents . Release ( ) ;
120
+ if ( Protection == ProjectProtection . Unprotected )
121
+ {
122
+ References . Release ( ) ;
123
+ VBComponents . Release ( ) ;
124
+ }
122
125
base . Release ( final ) ;
123
126
}
124
127
}
You can’t perform that action at this time.
0 commit comments