C
C#16mo ago
Schenk

Unable to add COM reference to project

So i am trying to add the Windows Media Player reference, but i keep getting an error: Error MSB3091 Task failed because "AxImp.exe" was not found, or the correct Microsoft Windows SDK is not installed. The task is looking for "AxImp.exe" in the "bin" subdirectory beneath the location specified in the InstallationFolder value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\NETFXSDK\4.8.1\WinSDK-NetFx40Tools-x86. You may be able to solve the problem by doing one of the following: 1) Install the Microsoft Windows SDK. 2) Install Visual Studio 2010. 3) Manually set the above registry key to the correct location. 4) Pass the correct location into the "ToolPath" parameter of the task. I have tried to install Microsoft Windows SDK but then I get this: (Image) So then I tried downloading .NET Framework 4 but I couldn't as it said it was already installed, I also installed the .net 6 but the issue is still there. What am I missing?
1 Reply
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server