general updates to solutions etc.
This commit is contained in:
parent
693355380d
commit
655ac4732d
@ -26,6 +26,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CardReaderServiceHost", "Ca
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "CardReaderServiceInstaller", "CardReaderServiceInstaller\CardReaderServiceInstaller.wixproj", "{119216DE-FC7F-408A-9C2C-105874449E42}"
|
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "CardReaderServiceInstaller", "CardReaderServiceInstaller\CardReaderServiceInstaller.wixproj", "{119216DE-FC7F-408A-9C2C-105874449E42}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Installers", "Installers", "{10A7E78C-0D11-40DD-AEC3-27C2C507A926}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@ -106,4 +108,8 @@ Global
|
|||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
GlobalSection(NestedProjects) = preSolution
|
||||||
|
{C5A4CDC3-849C-4166-BDC3-56BDB307126D} = {10A7E78C-0D11-40DD-AEC3-27C2C507A926}
|
||||||
|
{119216DE-FC7F-408A-9C2C-105874449E42} = {10A7E78C-0D11-40DD-AEC3-27C2C507A926}
|
||||||
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|||||||
@ -18,6 +18,7 @@ namespace WindowsDataCenter
|
|||||||
var ninjectConfigPath =
|
var ninjectConfigPath =
|
||||||
new Uri(Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().CodeBase), "NinjectConfig.xml"))
|
new Uri(Path.Combine(Path.GetDirectoryName(Assembly.GetEntryAssembly().CodeBase), "NinjectConfig.xml"))
|
||||||
.LocalPath;
|
.LocalPath;
|
||||||
|
|
||||||
if (File.Exists(ninjectConfigPath))
|
if (File.Exists(ninjectConfigPath))
|
||||||
{
|
{
|
||||||
kernel.Load(ninjectConfigPath);
|
kernel.Load(ninjectConfigPath);
|
||||||
@ -29,6 +30,7 @@ namespace WindowsDataCenter
|
|||||||
kernel.Bind<ILogger>().To<DefaultComponents.DefaultLogger>();
|
kernel.Bind<ILogger>().To<DefaultComponents.DefaultLogger>();
|
||||||
logger = kernel.Get<ILogger>();
|
logger = kernel.Get<ILogger>();
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Fatal("test message - ninject stuff loaded.");
|
logger.Fatal("test message - ninject stuff loaded.");
|
||||||
|
|
||||||
var repo = kernel.TryGet<IRepository>();
|
var repo = kernel.TryGet<IRepository>();
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user