From 2ac90f6b11078d1c8aabee76c5bc67cf0cc8aef1 Mon Sep 17 00:00:00 2001 From: UltimateCoder Date: Tue, 26 Nov 2024 22:31:48 +0100 Subject: [PATCH] Added NuGet.Config Updated files --- AspNetCore.Identity.MongoDbCore.sln | 6 ------ NuGet.Config | 7 +++++++ .../MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj | 1 + .../Views/Manage/DisplayRecoveryCodes.cshtml | 6 +++--- src/AspNetCore.Identity.MongoDbCore.csproj | 7 ++----- ...AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj | 7 ++----- 6 files changed, 15 insertions(+), 19 deletions(-) create mode 100644 NuGet.Config diff --git a/AspNetCore.Identity.MongoDbCore.sln b/AspNetCore.Identity.MongoDbCore.sln index 51530c6..0b0deb7 100644 --- a/AspNetCore.Identity.MongoDbCore.sln +++ b/AspNetCore.Identity.MongoDbCore.sln @@ -15,8 +15,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{EE14 EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoIdentitySample.Mvc", "sample\MongoIdentitySample.Mvc\MongoIdentitySample.Mvc.csproj", "{B0F2EB41-D3DC-4A5B-A479-A1D2595CE620}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoDbGenericRepository", "..\mongodb-generic-repository\MongoDbGenericRepository\MongoDbGenericRepository.csproj", "{B99D771B-ACBA-45FC-B634-4E2D71C651C2}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -35,10 +33,6 @@ Global {B0F2EB41-D3DC-4A5B-A479-A1D2595CE620}.Debug|Any CPU.Build.0 = Debug|Any CPU {B0F2EB41-D3DC-4A5B-A479-A1D2595CE620}.Release|Any CPU.ActiveCfg = Release|Any CPU {B0F2EB41-D3DC-4A5B-A479-A1D2595CE620}.Release|Any CPU.Build.0 = Release|Any CPU - {B99D771B-ACBA-45FC-B634-4E2D71C651C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B99D771B-ACBA-45FC-B634-4E2D71C651C2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B99D771B-ACBA-45FC-B634-4E2D71C651C2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B99D771B-ACBA-45FC-B634-4E2D71C651C2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/NuGet.Config b/NuGet.Config new file mode 100644 index 0000000..eece992 --- /dev/null +++ b/NuGet.Config @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj b/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj index 241255f..fcf2f7c 100644 --- a/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj +++ b/sample/MongoIdentitySample.Mvc/MongoIdentitySample.Mvc.csproj @@ -18,6 +18,7 @@ + diff --git a/sample/MongoIdentitySample.Mvc/Views/Manage/DisplayRecoveryCodes.cshtml b/sample/MongoIdentitySample.Mvc/Views/Manage/DisplayRecoveryCodes.cshtml index 00df7b2..5596438 100644 --- a/sample/MongoIdentitySample.Mvc/Views/Manage/DisplayRecoveryCodes.cshtml +++ b/sample/MongoIdentitySample.Mvc/Views/Manage/DisplayRecoveryCodes.cshtml @@ -13,9 +13,9 @@
Codes:
@foreach (var code in Model.Codes) { -
- @code -
+
+ @Html.Raw(code) +
} \ No newline at end of file diff --git a/src/AspNetCore.Identity.MongoDbCore.csproj b/src/AspNetCore.Identity.MongoDbCore.csproj index c6578c1..f65c28e 100644 --- a/src/AspNetCore.Identity.MongoDbCore.csproj +++ b/src/AspNetCore.Identity.MongoDbCore.csproj @@ -31,12 +31,9 @@ +
- - - - - + Resources.resx diff --git a/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj b/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj index a0df530..7fcf86e 100644 --- a/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj +++ b/test/AspNetCore.Identity.MongoDbCore.IntegrationTests/AspNetCore.Identity.MongoDbCore.IntegrationTests.csproj @@ -15,6 +15,7 @@ + @@ -32,9 +33,5 @@ Always - - - - - +