When creating a new Blazor WebApp solution with Studio when it doesn't include the optional module SaaS (Multi-Tenant), the solution doesn't compile with the following error:
Dotnet build failed for the project "QLS.UnifiedPortal". Details: xxx\src\yyy.Blazor\yyyBlazorModule.cs(223,36): error CS0246: The type or namespace name 'SaasHostBlazorOptions' could not be found (are you missing a using directive or an assembly reference?) [xxx\src\yyy.Blazor\yyy.Blazor.csproj] xxx\src\yyy.Blazor\yyyBlazorModule.cs(234,53): error CS0103: The name 'SaasHostPermissions' does not exist in the current context [xxx\src\yyy.Blazor\yyy.Blazor.csproj]
Build FAILED. 0 Warning(s) 2 Error(s)
The solution options are: Solution Template: Application (Layered) UI Framework: Blazor WebApp UI Theme: LeptonX Mobile Framework: None Public Site: No Optional Modules: Audit Logging, FileManagement, Language Management, OpenIddict UI. Note: No SaaS (Multi-Tenant) Solution Structure: Not Tiered Database Provider: Entity Framework Core Additional Options: None
Create a solution similar to the above and including all of the optional module compiles susscessfully.
I've installed the new Studio CLI (without installing Studio). I use a private NuGet package library which requires authentication. When I run the CLI with any command, for example: abp help
or abp login
they throw a NuGet.Protocol.Core.Type.FatalProtocolException
. I don't have this issue with the legacy CLI.
[08:03:50 INF] ABP CLI 0.7.4 (Beta)
[08:03:50 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli
NuGet.Protocol.Core.Types.FatalProtocolException: Failed to retrieve information about 'Volo.Abp.Studio.Cli' from remote
source
'https://xxxxx.pkgs.visualstudio.com/_packaging/xxxx/nuget/v3/flat2/volo.abp.s
tudio.cli/index.json'.
System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
at HttpResponseMessage System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at void NuGet.Protocol.HttpSource.<>c__DisplayClass15_01.<<GetAsync>b__0>d.MoveNext() at async Task<T> NuGet.Common.ConcurrencyUtilities.ExecuteWithFileLockedAsync<T>(string filePath, Func<CancellationToken, Task<T>> action, CancellationToken token) at async Task<T> NuGet.Common.ConcurrencyUtilities.ExecuteWithFileLockedAsync<T>(string filePath, Func<CancellationToken, Task<T>> action, CancellationToken token) at async Task<T> NuGet.Protocol.HttpSource.GetAsync<T>(HttpSourceCachedRequest request, Func<HttpSourceResult, Task<T>> processAsync, ILogger log, CancellationToken token) at async Task<SortedDictionary<NuGetVersion, PackageInfo>> NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource.FindPackagesByIdAsync(string id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken) at async Task<SortedDictionary<NuGetVersion, PackageInfo>> NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource. FindPackagesByIdAsync(string id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken) at async Task<SortedDictionary<NuGetVersion, PackageInfo>> NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource. EnsurePackagesAsync(string id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken ) at async Task<IEnumerable<NuGetVersion>> NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource.GetAllVersionsAsync (string id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken) at async Task<SortedSet<NuGetVersion>> Volo.Abp.Studio.Nuget.NugetPackageManager.FindVersionsAsync(string packageId, bool includeNightly) at async Task<NuGetVersion> Volo.Abp.Studio.Nuget.NugetPackageManager.FindLatestVersionAsync(string packageId, bool includeNightly, bool includeReleaseCandidates) at async Task<NuGetVersion> Volo.Abp.Studio.Nuget.NugetPackageManager.GetLatestVersionAsync(string packageId, bool includeNightly, bool includeReleaseCandidates) at async Task Volo.Abp.Studio.Cli.StudioCliService.CheckCliVersionAsync(CommandLineArgs commandLineArgs, SemanticVersion currentCliVersion) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args) Unhandled exception. NuGet.Protocol.Core.Types.FatalProtocolException: Failed to retrieve information about 'Volo.Abp.Studio.Cli' from remote source 'https://xxxx.pkgs.visualstudio.com/_packaging/xxxx/nuget/v3/flat2/volo.abp.studio.cli/index.json'. ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at NuGet.Protocol.HttpSource.<>c__DisplayClass15_0
1.<<GetAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at NuGet.Common.ConcurrencyUtilities.ExecuteWithFileLockedAsync[T](String filePath, Func2 action, CancellationToken token) at NuGet.Common.ConcurrencyUtilities.ExecuteWithFileLockedAsync[T](String filePath, Func
2 action, CancellationToken token)
at NuGet.Protocol.HttpSource.GetAsync[T](HttpSourceCachedRequest request, Func`2 processAsync, ILogger log, CancellationToken token)
at NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource.FindPackagesByIdAsync(String id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource.FindPackagesByIdAsync(String id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken)
at NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource.EnsurePackagesAsync(String id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken)
at NuGet.Protocol.HttpFileSystemBasedFindPackageByIdResource.GetAllVersionsAsync(String id, SourceCacheContext cacheContext, ILogger logger, CancellationToken cancellationToken)
at Volo.Abp.Studio.Nuget.NugetPackageManager.FindVersionsAsync(String packageId, Boolean includeNightly)
at Volo.Abp.Studio.Nuget.NugetPackageManager.FindLatestVersionAsync(String packageId, Boolean includeNightly, Boolean includeReleaseCandidates)
at Volo.Abp.Studio.Nuget.NugetPackageManager.GetLatestVersionAsync(String packageId, Boolean includeNightly, Boolean includeReleaseCandidates)
at Volo.Abp.Studio.Cli.StudioCliService.CheckCliVersionAsync(CommandLineArgs commandLineArgs, SemanticVersion currentCliVersion)
at Volo.Abp.Studio.Cli.StudioCliService.RunAsync(String[] args)
at Volo.Abp.Studio.Cli.Program.RtRr72CxI(Object )
at Volo.Abp.Studio.Cli.Program.
When creating a new project with the suite v8.0.4 and selecting the Basic template the code does not compile, this is because the suite has not added the required references for the Basic template.
Using the Suite I've created two entities and used the navigation feature to setup a many-to-many relationship between them. I have saved and generated all of the code. I am using ABP CLI 8.0.5 and Suite v8.0.4.
When I run the code I can use the create modal to add the many to many items using the UI that has been generated, however when I use the edit modal to delete one or more of the many to many items I get "An internal error occurred during your request!" error message when I click save.
This feature used to work as expected in a v7 project.