Skip to content

Commit

Permalink
Merge pull request #10 from dmcrider/upgrade
Browse files Browse the repository at this point in the history
Upgrade to .NET 6
  • Loading branch information
dmcrider authored Nov 12, 2021
2 parents 1897fb3 + f49290a commit d76f1f9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 14 deletions.
8 changes: 5 additions & 3 deletions FormVersionDetails.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
Expand All @@ -19,14 +21,14 @@ public FormVersionDetails()
CenterToParent();
}

private void FormVersionDetails_Load(object sender, EventArgs e)
private async void FormVersionDetails_Load(object sender, EventArgs e)
{
// If there's no existing version details
// download the file
if (System.IO.File.Exists(FormMain.versionFilePath) == false)
{
var client = new WebClient();
client.DownloadFile(@"https://dayloncrider.com/assets/downloads/ProjectManagerVersionDetails.txt", FormMain.versionFilePath);
var responseFile = await new HttpClient().GetStringAsync(@"https://dayloncrider.com/assets/downloads/ProjectManagerVersionDetails.txt");
File.WriteAllText(FormMain.versionFilePath, responseFile);
}

var lines = System.IO.File.ReadAllLines(FormMain.versionFilePath);
Expand Down
22 changes: 12 additions & 10 deletions Manager.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net5.0-windows</TargetFramework>
<TargetFramework>net6.0-windows10.0.17763.0</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<PackageId>com.dayloncrider.manager</PackageId>
<Authors>Daylon Crider</Authors>
Expand All @@ -15,19 +14,21 @@
<AssemblyOriginatorKeyFile>ManagerSignKey.pfx</AssemblyOriginatorKeyFile>
<ApplicationIcon>manager.ico</ApplicationIcon>
<StartupObject>Manager.Program</StartupObject>
<AssemblyVersion>1.2.0.0</AssemblyVersion>
<FileVersion>1.2.0.0</FileVersion>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
<FileVersion>1.3.0.0</FileVersion>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Remove="FormSettings.cs~RF42a58bd.TMP" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Octokit" Version="0.50.0" />
<PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.3.255803">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.Windows.Compatibility" Version="6.0.0" />
</ItemGroup>

<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
<DesignTime>True</DesignTime>
Expand All @@ -40,19 +41,20 @@
<DependentUpon>Settings.settings</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<None Update="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<None Update="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Manager

If you are a developer, chances are that you have a half-dozen or so side projects in various stages of completion. The goal of Manager is to help you, well, _manage_ your proejcts.
If you are a developer, chances are that you have a half-dozen or so side projects in various stages of completion. The goal of Manager is to help you, well, _manage_ your projects.

# Features
- Automatically add new projects by setting the "All Projects Directory" under Settings->Configure.
- Change the name displayed in the project list (defaults to the top-level directory name).
- Specify projects to exclude from the list of projects.
- Show the last _x_ number of git commits (requires Git to be installed).
- Open a project in the appropriate editor (requires either the default installation path, or a custom path to be set under Settings->Launchers).
- Supported editors: Visual Studio Code, Visual Studio 2019, Android Studio, Unity Hub.
- Open projects in File Explorer.
- Display a timestamp of the last update in the given directory (the date format can be changed under Settings->Configure).

0 comments on commit d76f1f9

Please sign in to comment.