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

фикс предыдущего коммита
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 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 List<Guid> Roles { get; set; }

View File

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

View File

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