-
Notifications
You must be signed in to change notification settings - Fork 627
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
Build issue - why can't I build project? #413
Comments
Is there an error in the Output tab? |
Yeah several - output shown below in full, but in summary:- 5>EXEC : error : Could not find the Windows SDK error MSB3073: The command "C:\Users\darre.nuget\packages\microsoft.windows.cswinrt\1.1.0\cswinrt.exe @"C:\Users\darre\Downloads\NETworkManager-master\NETworkManager-master\Source\NETworkManager.Models\obj\Debug\net5.0-windows10.0.17763.0\Generated Files\cswinrt.rsp"" exited with code 1. error CS0006: Metadata file 'C:\Users\darre\Downloads\NETworkManager-master\NETworkManager-master\Source\NETworkManager.Models\bin\Debug\net5.0-windows10.0.17763.0\ref\NETworkManager.Models.dll' could not be found (this one appears multiple times) error NU1201: Project NETworkManager.Update is not compatible with net5.0-windows7.0 (.NETCoreApp,Version=v5.0). Project NETworkManager.Update supports: net5.0-windows10.0.17763 (.NETCoreApp,Version=v5.0) (this one appears multiple times)
|
Some of them about not finding Windows SDK which confuses me because as per screenshot above it is installed |
Hi, sry for my late reply. You could try to clone/download the repo and try to build it via command line:
This is the same AppVeyor CI is using to build the tool: https://github.com/BornToBeRoot/NETworkManager/blob/master/appveyor.yml Or run the ".\build.ps1" script with PowerShell inside the folder. Which VS Studio version are you using? .NET 5.0 requires Visual Studio 16.8.3 or later |
Hi Firstly I have Visual Studio 16.8.3 Just done a fresh download from your GitHub and tried building using the .\build.ps1 script Still issues, 4 warnings - 2 errors - copied below:- EXEC : error : Could not find the Windows SDK [C:\Users\darre\Downloads\NETworkManager-master\NETworkManager-master\Source\NETworkManager.Models\NETworkManager.Models.csproj] C:\Users\darre.nuget\packages\microsoft.windows.cswinrt\1.1.0\build\Microsoft.Windows.CsWinRT.targets(98,5): error MSB3073: The command "C:\Users\darre.nuget\packages\microsoft.windows.cswinrt\1.1.0\cswinrt.exe @"C:\Users\darre\Downloads\NETworkManager-master\NETworkManager-master\Source\NETworkManager.Models\obj\Release\net5.0-windows10.0.17763.0\Generated Files\cswinrt.rsp"" exited with code 1. [C:\Users\darre\Downloads\NETworkManager-master\NETworkManager-master\Source\NETworkManager.Models\NETworkManager.Models.csproj] |
.NET SDK (reflecting any global.json): Runtime Environment: Host (useful for support): .NET SDKs installed: .NET runtimes installed: |
Great! I will add it to the readme. |
Hi
Just downloaded source and trying to build, but having issues which I hope you can advise on:-
it won't build, it shows 205 errors in VS
What am I missing?
Really want to be able to build and learn from this great project but just don't understand what I am missing here - thanks
The text was updated successfully, but these errors were encountered: