Skip to content

Commit

Permalink
make sharable
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoqualitee committed Jun 8, 2023
1 parent d2519ad commit e7be384
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion project/dbatools/Commands/ImportCommandCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected override void ProcessRecord()
{
if (Path.EndsWith("dat"))
{
using (FileStream fs = File.Open(Path, FileMode.Open, FileAccess.Read))
using (FileStream fs = File.Open(Path, FileMode.Open, FileAccess.Read, FileShare.Read))
{
using (var stream = new DeflateStream(fs, CompressionMode.Decompress))
{
Expand Down
12 changes: 6 additions & 6 deletions project/dbatools/dbatools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<Company>Dataplat</Company>
<Product>dbatools</Product>
<Description>The dbatools PowerShell Module library</Description>
<Copyright>Copyright © 2021</Copyright>
<AssemblyVersion>0.10.0.75</AssemblyVersion>
<FileVersion>0.10.0.75</FileVersion>
<Copyright>Copyright © 2023</Copyright>
<AssemblyVersion>0.10.0.76</AssemblyVersion>
<FileVersion>0.10.0.76</FileVersion>
<AssemblyName>dbatools</AssemblyName>
<SkipFunctionsDepsCopy>false</SkipFunctionsDepsCopy>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
Expand Down Expand Up @@ -42,13 +42,13 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Identity.Client" Version="4.53.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.54.1" />
<PackageReference Include="System.Resources.Extensions" Version="7.0.0" />
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="7.0.0" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.1" />
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" Version="170.13.0" />
<PackageReference Include="Microsoft.SqlServer.SqlManagementObjects" Version="170.18.0" />
<PackageReference Include="Microsoft.SqlServer.XEvent.XELite" Version="2023.1.30.3" />
<PackageReference Include="Microsoft.SqlServer.DacFx" Version="161.8089.0" />
<PackageReference Include="Microsoft.SqlServer.DacFx" Version="162.0.52" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Management.Automation" Version="7.2.6" />
Expand Down

0 comments on commit e7be384

Please sign in to comment.