Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files via upload #31

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static string AssemblyTitle
return titleAttribute.Title;
}
}
return System.IO.Path.GetFileNameWithoutExtension(path: Assembly.GetExecutingAssembly().CodeBase);
return Path.GetFileNameWithoutExtension(path: Assembly.GetExecutingAssembly().CodeBase);
}
}

Expand All @@ -42,7 +42,7 @@ public static string AssemblyDescription
get
{
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyDescriptionAttribute), inherit: false);
return attributes.Length == 0 ? "" : ((AssemblyDescriptionAttribute)attributes[0]).Description;
return attributes.Length == 0 ? string.Empty : ((AssemblyDescriptionAttribute)attributes[0]).Description;
}
}

Expand All @@ -54,7 +54,7 @@ public static string AssemblyProduct
get
{
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyProductAttribute), inherit: false);
return attributes.Length == 0 ? "" : ((AssemblyProductAttribute)attributes[0]).Product;
return attributes.Length == 0 ? string.Empty : ((AssemblyProductAttribute)attributes[0]).Product;
}
}

Expand All @@ -66,7 +66,7 @@ public static string AssemblyCopyright
get
{
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyCopyrightAttribute), inherit: false);
return attributes.Length == 0 ? "" : ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
return attributes.Length == 0 ? string.Empty : ((AssemblyCopyrightAttribute)attributes[0]).Copyright;
}
}

Expand All @@ -78,10 +78,10 @@ public static string AssemblyCompany
get
{
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(attributeType: typeof(AssemblyCompanyAttribute), inherit: false);
return attributes.Length == 0 ? "" : ((AssemblyCompanyAttribute)attributes[0]).Company;
return attributes.Length == 0 ? string.Empty : ((AssemblyCompanyAttribute)attributes[0]).Company;
}
}

#endregion
}
}
}
267 changes: 84 additions & 183 deletions Days Counter.csproj

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions Days Counter.csproj.user
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory>publish\</PublishUrlHistory>
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>de-DE</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
<_LastSelectedProfileId>C:\Users\mj-pr\OneDrive\Programming\Visual Studio 2022\Days Counter\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
</PropertyGroup>
<ItemGroup>
<Compile Update="MainForm.cs">
<SubType>Form</SubType>
</Compile>
</ItemGroup>
</Project>
47 changes: 30 additions & 17 deletions Days Counter.sln
Original file line number Diff line number Diff line change
@@ -1,36 +1,49 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29509.3
# Visual Studio Version 17
VisualStudioVersion = 17.7.34202.233
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Days Counter", "Days Counter.csproj", "{FC6B9DFD-B928-4AA8-9943-7DCF71197233}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{05809405-B565-4535-8A13-AD0EBB357394}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
EndProjectSection
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Days Counter", "Days Counter.csproj", "{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM32 = Debug|ARM32
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM32 = Release|ARM32
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Debug|x64.ActiveCfg = Debug|x64
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Debug|x64.Build.0 = Debug|x64
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Release|Any CPU.Build.0 = Release|Any CPU
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Release|x64.ActiveCfg = Release|x64
{FC6B9DFD-B928-4AA8-9943-7DCF71197233}.Release|x64.Build.0 = Release|x64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|ARM32.ActiveCfg = Debug|ARM32
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|ARM32.Build.0 = Debug|ARM32
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|ARM64.ActiveCfg = Debug|ARM64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|ARM64.Build.0 = Debug|ARM64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|x64.ActiveCfg = Debug|x64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|x64.Build.0 = Debug|x64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|x86.ActiveCfg = Debug|x86
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Debug|x86.Build.0 = Debug|x86
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|Any CPU.Build.0 = Release|Any CPU
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|ARM32.ActiveCfg = Release|ARM32
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|ARM32.Build.0 = Release|ARM32
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|ARM64.ActiveCfg = Release|ARM64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|ARM64.Build.0 = Release|ARM64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|x64.ActiveCfg = Release|x64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|x64.Build.0 = Release|x64
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|x86.ActiveCfg = Release|x86
{ACF31BE8-451D-4BD4-B3CA-BDC0F9BEE004}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {9DECB3E8-E4F4-4819-92C9-8A8FE251BD29}
SolutionGuid = {2B21B025-AE92-4E64-A967-C63E85E94882}
EndGlobalSection
EndGlobal
Loading