This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
[Question] How to compile it? #356
Labels
Comments
ghost
added
the
needs triage 🔍
label
May 5, 2023
Hello tomaszkot, thank you for your interest in Win32! I have automatically added a "needs triage" label to help get things started. Our team will look into the question and answer ASAP. Other community members may also answer the question and provide feedback 🙌 |
ghost
added
the
needs attention 👋
label
May 20, 2023
This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established. |
2 similar comments
This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established. |
This issue has been marked as "needs attention 👋" due to no activity for 15 days. Please triage the issue so the fix can be established. |
michael-hawker
added
XamlIslands 🏝️
and removed
needs triage 🔍
needs attention 👋
labels
Jun 30, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I tried to compile Microsoft.Toolkit.Win32.sln on VS 2019 and got:
Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.Tools\bin\AnyCPU\Debug\net462\Microsoft.Toolkit.Win32.Tasks.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls.WebView\bin\AnyCPU\Debug\netcoreapp3.0\Microsoft.Toolkit.Forms.UI.Controls.WebView.dll' could not be found Microsoft.Toolkit.Sample.Forms.WebView (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Sample.Forms.WebView\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls.WebView\bin\AnyCPU\Debug\net462\Microsoft.Toolkit.Forms.UI.Controls.WebView.dll' could not be found Microsoft.Toolkit.Sample.Forms.WebView (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Sample.Forms.WebView\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlApplication.Package\bin\AnyCPU\Debug\net462\Microsoft.Toolkit.UI.XamlApplication.Package.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlHost\bin\AnyCPU\Debug\net462\Microsoft.Toolkit.Win32.UI.XamlHost.Managed.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.Controls\bin\AnyCPU\Debug\net462\Microsoft.Toolkit.Wpf.UI.Controls.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.XamlHost\bin\AnyCPU\Debug\net462\Microsoft.Toolkit.Wpf.UI.XamlHost.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlApplication.Package\bin\AnyCPU\Debug\netcoreapp3.0\Microsoft.Toolkit.UI.XamlApplication.Package.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.Tools\bin\AnyCPU\Debug\netcoreapp3.0\Microsoft.Toolkit.Win32.Tasks.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlHost\bin\AnyCPU\Debug\netcoreapp3.0\Microsoft.Toolkit.Win32.UI.XamlHost.Managed.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.Controls\bin\AnyCPU\Debug\netcoreapp3.0\Microsoft.Toolkit.Wpf.UI.Controls.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.XamlHost\bin\AnyCPU\Debug\netcoreapp3.0\Microsoft.Toolkit.Wpf.UI.XamlHost.dll' could not be found UnitTests.WebView.WPF (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WPF\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls.WebView\bin\AnyCPU\Debug\netcoreapp3.0\Microsoft.Toolkit.Forms.UI.Controls.WebView.dll' could not be found UnitTests.WebView.WinForms (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WinForms\CSC 1 N/A
Error CS0006 Metadata file 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls.WebView\bin\AnyCPU\Debug\net462\Microsoft.Toolkit.Forms.UI.Controls.WebView.dll' could not be found UnitTests.WebView.WinForms (net462) D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Tests\UnitTests.WebView.WinForms\CSC 1 N/A
Error PRI252: 0xdef00071 - File D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\x64\Debug\Microsoft.Toolkit.Win32.UI.XamlApplication\Microsoft.Toolkit.Win32.UI.XamlHost.pri not found. Microsoft.Toolkit.Sample.UWP.App D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Sample.UWP.App\GENERATEPROJECTPRIFILE
Error PRI175: 0x80070002 - Processing Resources failed with error: The system cannot find the file specified. Microsoft.Toolkit.Sample.UWP.App D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Sample.UWP.App\GENERATEPROJECTPRIFILE
Error MSB4018 The "Nerdbank.GitVersioning.Tasks.AssemblyVersionInfo" task failed unexpectedly.
System.ArgumentNullException: Value cannot be null.
Parameter name: stream
at System.IO.StreamWriter..ctor(Stream stream, Encoding encoding, Int32 bufferSize, Boolean leaveOpen)
at Nerdbank.GitVersioning.Tasks.AssemblyVersionInfo.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext() Microsoft.Toolkit.Wpf.UI.XamlHost C:\Users\tomko.nuget\packages\nerdbank.gitversioning\2.1.65\build\Nerdbank.GitVersioning.targets 141
Error D8016 '/ZI' and '/guard:cf' command-line options are incompatible Microsoft.Toolkit.Win32.UI.XamlHost D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlApplication\cl 1
Error MSB4181 The "CompileXaml" task returned false but did not log an error. Microsoft.Toolkit.Win32.UI.XamlHost C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\XamlCompiler\Microsoft.Windows.UI.Xaml.Common.targets 482
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls.WebView'. Microsoft.Toolkit.Forms.UI.Controls.WebView C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls.WebView'. Microsoft.Toolkit.Forms.UI.Controls.WebView C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.Controls.WebView'. Microsoft.Toolkit.Wpf.UI.Controls.WebView C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.Controls.WebView'. Microsoft.Toolkit.Wpf.UI.Controls.WebView C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlApplication.Package'. Microsoft.Toolkit.Win32.UI.XamlApplication.Package C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlApplication.Package'. Microsoft.Toolkit.Win32.UI.XamlApplication.Package C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.Tools'. Microsoft.Toolkit.Win32.UI.SDK C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.Tools'. Microsoft.Toolkit.Win32.UI.SDK C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error MC3074 The tag 'WebView' does not exist in XML namespace 'clr-namespace:Microsoft.Toolkit.Wpf.UI.Controls;assembly=Microsoft.Toolkit.Wpf.UI.Controls.WebView'. Line 58 Position 10. Microsoft.Toolkit.Sample.Wpf.WebView D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Sample.Wpf.WebView\MainWindow.xaml 58
Error MC3074 The tag 'WebView' does not exist in XML namespace 'clr-namespace:Microsoft.Toolkit.Wpf.UI.Controls;assembly=Microsoft.Toolkit.Wpf.UI.Controls.WebView'. Line 58 Position 10. Microsoft.Toolkit.Sample.Wpf.WebView D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Sample.Wpf.WebView\MainWindow.xaml 58
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlHost'. Microsoft.Toolkit.Win32.UI.XamlHost.Managed C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32.UI.XamlHost'. Microsoft.Toolkit.Win32.UI.XamlHost.Managed C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.XamlHost'. Microsoft.Toolkit.Forms.UI.XamlHost C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.XamlHost'. Microsoft.Toolkit.Forms.UI.XamlHost C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.XamlHost'. Microsoft.Toolkit.Wpf.UI.XamlHost C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.XamlHost'. Microsoft.Toolkit.Wpf.UI.XamlHost C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.Controls'. Microsoft.Toolkit.Wpf.UI.Controls C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Wpf.UI.Controls'. Microsoft.Toolkit.Wpf.UI.Controls C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls'. Microsoft.Toolkit.Forms.UI.Controls C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error Unable to locate repository containing directory 'D:\tmp\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Win32-rel-6.1.2\Microsoft.Toolkit.Forms.UI.Controls'. Microsoft.Toolkit.Forms.UI.Controls C:\Users\tomko.nuget\packages\microsoft.build.tasks.git\1.0.0-beta-62925-02\build\Microsoft.Build.Tasks.Git.targets 20
Error MSB4064 The "SupportCustomOutputPaths" parameter is not supported by the "MarkupCompilePass1" task loaded from assembly: PresentationBuildTasks, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 from the path: C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationBuildTasks\v4.0_4.0.0.0__31bf3856ad364e35\PresentationBuildTasks.dll. Verify that the parameter exists on the task, the points to the correct assembly, and it is a settable public instance property. Microsoft.Toolkit.Sample.Wpf.App C:\Program Files\dotnet\sdk\5.0.415\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets 266
Error MSB4063 The "MarkupCompilePass1" task could not be initialized with its input parameters. Microsoft.Toolkit.Sample.Wpf.App C:\Program Files\dotnet\sdk\5.0.415\Sdks\Microsoft.NET.Sdk.WindowsDesktop\targets\Microsoft.WinFX.targets 240
The text was updated successfully, but these errors were encountered: