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

Fix .NET 8 SDK Artifacts output layout #423

Merged

Conversation

AigioL
Copy link
Contributor

@AigioL AigioL commented Nov 28, 2023

https://learn.microsoft.com/en-us/dotnet/core/sdk/artifacts-output

_path = "Z:\abcd\Mobius\src\Mobius.Windows\Z:\abcd\Mobius\src\artifacts\obj\Mobius.Windows\debug_net8.0-windows10.0.19041.0\Avalonia\references";

System.NotSupportedException: 不支持给定路径的格式。
   在 System.Security.Permissions.FileIOPermission.EmulateFileIOPermissionChecks(String fullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   在 System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   在 System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   在 Avalonia.Ide.CompletionEngine.AssemblyMetadata.AvaloniaCompilationAssemblyProvider.GetAssemblies()
   --- 内部异常堆栈跟踪的结尾 ---
   在 Avalonia.Ide.CompletionEngine.AssemblyMetadata.AvaloniaCompilationAssemblyProvider.GetAssemblies()
   在 Avalonia.Ide.CompletionEngine.AssemblyMetadata.MetadataReader.GetForTargetAssembly(IAssemblyProvider assemblyProvider)
   在 System.Threading.Tasks.Task`1.InnerInvoke()
   在 System.Threading.Tasks.Task.Execute()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 AvaloniaVS.Views.AvaloniaDesigner.<CreateCompletionMetadataAsync>d__61.MoveNext() 位置 C:\Repos\AvaloniaVS\AvaloniaVS.Shared\Views\AvaloniaDesigner.xaml.cs:行号 577
11:18:00.545 [Information] 58000 Connection initialized

@maxkatz6 maxkatz6 merged commit 3b0ad97 into AvaloniaUI:master Nov 28, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants