diff --git a/Directory.Build.props b/Directory.Build.props index eeb84d5..4338711 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -20,6 +20,7 @@ true enable + true diff --git a/Directory.Packages.props b/Directory.Packages.props index b9ecc9c..1746771 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,7 +8,7 @@ - - + + \ No newline at end of file diff --git a/IntelliTect.Multitool.Tests/Extensions/HttpExtensionsTests.cs b/IntelliTect.Multitool.Tests/Extensions/HttpExtensionsTests.cs index 01ad2e5..b26cafa 100644 --- a/IntelliTect.Multitool.Tests/Extensions/HttpExtensionsTests.cs +++ b/IntelliTect.Multitool.Tests/Extensions/HttpExtensionsTests.cs @@ -15,7 +15,7 @@ static HttpExtensionsTests() [InlineData("https://thisisaverybadurlthatwillnotworkhopefullyever.com/", false)] [InlineData("https://www.google.com/", true)] [InlineData("https://api.github.com/meta", true)] - public async void ValidateUri_CheckUrl_SuccessIsAsExpected(string urlUnderTest, bool expected) + public async Task ValidateUri_CheckUrl_SuccessIsAsExpected(string urlUnderTest, bool expected) { Assert.Equal(expected, await HttpClient.ValidateUri(new Uri(urlUnderTest), new System.Net.Http.Headers.ProductInfoHeaderValue(new System.Net.Http.Headers.ProductHeaderValue("IntelliTect.Multitool.Testing")))); } diff --git a/IntelliTect.Multitool.Tests/IntelliTect.Multitool.Tests.csproj b/IntelliTect.Multitool.Tests/IntelliTect.Multitool.Tests.csproj index 93c3503..792775f 100644 --- a/IntelliTect.Multitool.Tests/IntelliTect.Multitool.Tests.csproj +++ b/IntelliTect.Multitool.Tests/IntelliTect.Multitool.Tests.csproj @@ -1,11 +1,17 @@  - netcoreapp3.1; net6.0; net8.0 + net8.0 false + + + + true + + @@ -20,4 +26,4 @@ - + \ No newline at end of file diff --git a/IntelliTect.Multitool.sln b/IntelliTect.Multitool.sln index b0fa57a..b885757 100644 --- a/IntelliTect.Multitool.sln +++ b/IntelliTect.Multitool.sln @@ -8,7 +8,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntelliTect.Multitool.Tests EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{7FB66610-EB11-460E-8CC8-F49044F452D0}" ProjectSection(SolutionItems) = preProject - appveyor.yml = appveyor.yml .github\workflows\build-and-test.yml = .github\workflows\build-and-test.yml .github\workflows\deploy.yml = .github\workflows\deploy.yml Directory.Build.props = Directory.Build.props diff --git a/IntelliTect.Multitool/Build/IntelliTect.Multitool.targets b/IntelliTect.Multitool/Build/IntelliTect.Multitool.targets index 8c6a775..b6a3294 100644 --- a/IntelliTect.Multitool/Build/IntelliTect.Multitool.targets +++ b/IntelliTect.Multitool/Build/IntelliTect.Multitool.targets @@ -1,9 +1,22 @@  - - - <_Parameter1>$([System.DateTime]::UtcNow.ToString("O")) - - + + + <_Parameter1>$([System.DateTime]::UtcNow.ToString("O")) + + + + + false + + true + diff --git a/README.md b/README.md index 9998111..6e5a973 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,10 @@ // Result is "Build: 8 Feb, 2023 11:36:31 AM" ``` +### Miscellaneous Information: + +- To help [hot reload in visual studio work properly](https://github.com/IntelliTect/Multitool/issues/125), the release date attribute will be automatically be generated during compilation on a CI runner, but it won’t generate locally by default. If you want it to generate locally, set the `ReleaseDateAttribute` to true within a property group in your project file. (`true`) + ## RepositoryPaths - Provides consistent environment-independent normalized pathing within a git repository ### Samples: