копирования бибилотеки после бсорки

фикс предыдущего коммита
This commit is contained in:
kotcheshir73 2021-03-28 10:31:10 +04:00
parent f92ed77c59
commit f57191019d
3 changed files with 10 additions and 26 deletions

View File

@ -18,30 +18,6 @@ namespace DatabaseCore
private readonly int _countMaxAttempt = 3; private readonly int _countMaxAttempt = 3;
private static SecurityManager _securityManager;
private static readonly object _lockObject = new();
private SecurityManager() { }
/// <summary>
/// Singleton для класса
/// </summary>
public static SecurityManager GetInstance
{
get
{
if (_securityManager == null)
{
lock (_lockObject)
{
_securityManager = new SecurityManager();
}
}
return _securityManager;
}
}
public Guid? User { get; set; } public Guid? User { get; set; }
public List<Guid> Roles { get; set; } public List<Guid> Roles { get; set; }

View File

@ -5,7 +5,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>..\..\ImplementationExtensions\</OutputPath> <OutputPath></OutputPath>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@ -13,4 +13,8 @@
<ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" /> <ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" />
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y &quot;$(TargetDir)$(ProjectName).dll&quot; &quot;$(SolutionDir)ImplementationExtensions\$(ProjectName).dll&quot;" />
</Target>
</Project> </Project>

View File

@ -6,7 +6,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<OutputPath>..\..\WindowDestopExtensions\</OutputPath> <OutputPath></OutputPath>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
@ -21,4 +21,8 @@
<ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" /> <ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" />
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y &quot;$(TargetDir)$(ProjectName).dll&quot; &quot;$(SolutionDir)WindowDestopExtensions\$(ProjectName).dll&quot;" />
</Target>
</Project> </Project>