Upgraded to latest version of Process.Net and modified code to use new Start function.
This commit is contained in:
parent
4ccee8afb3
commit
a92653396f
40
ExtraConsole.Net/ExtraConsole - Backup.Net.csproj
Normal file
40
ExtraConsole.Net/ExtraConsole - Backup.Net.csproj
Normal file
@ -0,0 +1,40 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>disable</ImplicitUsings>
|
||||
<Nullable>disable</Nullable>
|
||||
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
||||
<PackageIcon>Logo_Symbol_Black_Outline.png</PackageIcon>
|
||||
<RepositoryUrl>https://code.montoyatech.com/MontoyaTech/ExtraConsole.Net</RepositoryUrl>
|
||||
<Authors>MontoyaTech</Authors>
|
||||
<Company>MontoyaTech</Company>
|
||||
<Copyright>MontoyaTech 2024</Copyright>
|
||||
<PackageProjectUrl>https://code.montoyatech.com/MontoyaTech/ExtraConsole.Net</PackageProjectUrl>
|
||||
<PackageTags>MontoyaTech;ExtraConsole.Net</PackageTags>
|
||||
<AssemblyName>MontoyaTech.ExtraConsole.Net</AssemblyName>
|
||||
<RootNamespace>MontoyaTech.ExtraConsole.Net</RootNamespace>
|
||||
<Version>1.0.0</Version>
|
||||
<Company>MontoyaTech</Company>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
<Description>An open source C# package that opens an extra console that can be written to similar to the main Console provided. You can open as many extra consoles as needed.</Description>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="..\Logo_Symbol_Black_Outline.png">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath>\</PackagePath>
|
||||
</None>
|
||||
<None Include="..\README.md">
|
||||
<Pack>True</Pack>
|
||||
<PackagePath>\</PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MontoyaTech.Process.Net" Version="1.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -15,7 +15,7 @@
|
||||
<PackageTags>MontoyaTech;ExtraConsole.Net</PackageTags>
|
||||
<AssemblyName>MontoyaTech.ExtraConsole.Net</AssemblyName>
|
||||
<RootNamespace>MontoyaTech.ExtraConsole.Net</RootNamespace>
|
||||
<Version>1.0.0</Version>
|
||||
<Version>1.0.1</Version>
|
||||
<Company>MontoyaTech</Company>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageReadmeFile>README.md</PackageReadmeFile>
|
||||
@ -34,7 +34,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="MontoyaTech.Process.Net" Version="1.0.0" />
|
||||
<PackageReference Include="MontoyaTech.Process.Net" Version="1.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -31,7 +31,7 @@ namespace MontoyaTech.ExtraConsole.Net
|
||||
RedirectStandardInput = true
|
||||
};
|
||||
|
||||
this._process = WinProcess.Create(startInfo, creationFlags: WinProcess.CreationFlags.CREATE_NEW_CONSOLE);
|
||||
this._process = WinProcess.Start(startInfo, creationFlags: WinProcess.CreationFlags.CREATE_NEW_CONSOLE);
|
||||
|
||||
this._writer = this._process.StandardInput;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user