Unable to build WPF
See original GitHub issueE:\external\dotnet\wpf>build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86
// ...
UIAutomationTypes -> E:\external\dotnet\wpf\artifacts\bin\UIAutomationTypes\Release\net7.0\UIAutomationTypes.dll
.NETCoreApp,Version=7.0.AssemblyAttributes.cpp
UIAutomationProvider-ref -> E:\external\dotnet\wpf\artifacts\bin\UIAutomationProvider-ref\Release\net7.0\UIAutomation
Provider.dll
LINK : fatal error LNK1104: cannot open file 'MSVCURT_netcore.LIB' [E:\external\dotnet\wpf\src\Microsoft.DotNet.Wpf\src
\DirectWriteForwarder\DirectWriteForwarder.vcxproj]
##vso[task.logissue type=error;sourcepath=LINK;linenumber=0;columnnumber=0;code=LNK1104;](NETCORE_ENGINEERING_TELEMETRY=Build) cannot open file 'MSVCURT_netcore.LIB'
UIAutomationClient-ref -> E:\external\dotnet\wpf\artifacts\bin\UIAutomationClient-ref\Release\net7.0\UIAutomationClie
nt.dll
UIAutomationClientSideProviders-ref -> E:\external\dotnet\wpf\artifacts\bin\UIAutomationClientSideProviders-ref\Relea
se\net7.0\UIAutomationClientSideProviders.dll
UIAutomationProvider -> E:\external\dotnet\wpf\artifacts\bin\UIAutomationProvider\Release\net7.0\UIAutomationProvider
.dll
PresentationCore-ref -> E:\external\dotnet\wpf\artifacts\bin\PresentationCore-ref\Release\net7.0\PresentationCore.dll
Fehler beim Buildvorgang.
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Fehler beim Abrufen von Informationen zu "runtime.win-x86.Microsoft.DotNet.Wpf.DncEng" aus der Remotequelle
"https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/d1622942-d16f-48e5-bc83-96f4539e760
1/nuget/v3/flat2/runtime.win-x86.microsoft.dotnet.wpf.dnceng/index.json". [E:\external\dotnet\wpf\artifacts\obj\effects
\Win32\Release\CppSupport\CppSupport_effects.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Fehler beim Senden der Anforderung. [E:\external\dotnet\wpf\artifacts\obj\effects\Win32\Release\CppSuppor
t\CppSupport_effects.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Die Verbindung mit dem Remoteserver kann nicht hergestellt werden. [E:\external\dotnet\wpf\artifacts\obj\
effects\Win32\Release\CppSupport\CppSupport_effects.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Ein Socketvorgang konnte nicht ausgeführt werden, da dem System Pufferspeicher fehlte oder eine Warteschl
ange voll war [E:\external\dotnet\wpf\artifacts\obj\effects\Win32\Release\CppSupport\CppSupport_effects.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Fehler beim Herunterladen von Paket "runtime.win-x86.Microsoft.DotNet.Wpf.DncEng.7.0.0-preview.3.22118.1" v
on "https://pkgs.dev.azure.com/dnceng/9ee6d478-d288-47f7-aacc-f6e6d082ae6d/_packaging/e31c6eea-0277-49f3-8194-142be67a9
f72/nuget/v3/flat2/runtime.win-x86.microsoft.dotnet.wpf.dnceng/7.0.0-preview.3.22118.1/runtime.win-x86.microsoft.dotnet
.wpf.dnceng.7.0.0-preview.3.22118.1.nupkg". [E:\external\dotnet\wpf\artifacts\obj\DynamicCall\Win32\Release\CppSupport\
CppSupport_DynamicCall.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Fehler beim Senden der Anforderung. [E:\external\dotnet\wpf\artifacts\obj\DynamicCall\Win32\Release\CppSupp
ort\CppSupport_DynamicCall.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Die Verbindung mit dem Remoteserver kann nicht hergestellt werden. [E:\external\dotnet\wpf\artifacts\obj\
DynamicCall\Win32\Release\CppSupport\CppSupport_DynamicCall.csproj]
C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets(130,
5): error : Ein Socketvorgang konnte nicht ausgeführt werden, da dem System Pufferspeicher fehlte oder eine Warteschl
ange voll war [E:\external\dotnet\wpf\artifacts\obj\DynamicCall\Win32\Release\CppSupport\CppSupport_DynamicCall.csproj]
LINK : fatal error LNK1104: cannot open file 'MSVCURT_netcore.LIB' [E:\external\dotnet\wpf\src\Microsoft.DotNet.Wpf\src
\DirectWriteForwarder\DirectWriteForwarder.vcxproj]
0 Warnung(en)
3 Fehler
Verstrichene Zeit 00:01:55.90
Build failed with exit code 1. Check errors above.
Do you have a solution for this problem?
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Can't build WPF VS2022 solution
My Visual Studio 2022 solution won't build after I deleted the bin and obj folders of my C# WPF .NET 6.0 project.
Read more >VS 2019 fails to build WPF projects
Visual Studio compiles the projects again to run the unit test, and now Project A fails to compile and reports multiple errors saying...
Read more >Unable to Build WPF Application
I am trying to build a WPF application and keep getting the following error: [MSB4062] The "TransformXml" task could not be loaded from...
Read more >Rider fails to build WPF solution with .NET 5.0 SDK
I have a WPF application that no longer builds with Rider, after installation of .NET 5.0 SDK. The property group of the .csproj...
Read more >Cannot build WPF app using Microsoft.Build.* version 14
Build.dll Additional information: Unable to cast object of type 'Microsoft.Build.Tasks.Windows.MarkupCompilePass1' to type 'Microsoft.Build.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@singhashish-wpf Thank you very much.
@lindexi This error was due to visual studio, the fix has been done in visual studio 17.3 Preview 2