File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,11 @@ private static CompositionContainer ConfigureMef()
4646 {
4747 var catalog = new AggregateCatalog ( ) ;
4848 catalog . Catalogs . Add ( new AssemblyCatalog ( typeof ( Program ) . Assembly ) ) ;
49+
50+ var recipesFolder = AppDomain . CurrentDomain . BaseDirectory + @"\Recipes" ;
51+ if ( ! Directory . Exists ( recipesFolder ) )
52+ Directory . CreateDirectory ( recipesFolder ) ;
53+
4954 catalog . Catalogs . Add ( new DirectoryCatalog ( AppDomain . CurrentDomain . BaseDirectory + @"\Recipes" ) ) ;
5055 return new CompositionContainer ( catalog ) ;
5156 }
Original file line number Diff line number Diff line change 2020 <DebugSymbols >true</DebugSymbols >
2121 <DebugType >full</DebugType >
2222 <Optimize >false</Optimize >
23- <OutputPath >..\..\..\..\tools \</OutputPath >
23+ <OutputPath >bin\debug \</OutputPath >
2424 <DefineConstants >DEBUG;TRACE</DefineConstants >
2525 <ErrorReport >prompt</ErrorReport >
2626 <WarningLevel >4</WarningLevel >
You can’t perform that action at this time.
0 commit comments