Requirements for building toolkit nuget package locally #4233
Unanswered
arcadiogarcia
asked this question in
Questions & Help
Replies: 1 comment 1 reply
-
@arcadiogarcia we should have requirements documented in our Wiki, though running build.bat script as you did should have worked (though we do have a wiki issue tracking providing better guidance). There is a PR about removing stray warnings #4125, but it builds in the CI and locally normally so there could be some other environment thing flagging more issues maybe? (FYI @Sergio0694) If you're just trying to pull the latest main changes though, we have a feed that has the latest toolkit builds already built. You can read about that in the Preview Packages Wiki page here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build the NuGet package locally so I can start consuming some changes before they are available in the official Toolkit builds. I haven't found any information in the wiki about building the nuget package locally, and I saw that the Azure DevOps pipeline just runs these commands:
However, if I try to run the first one in an elevated terminal locally, the build process eventually stops with the following error:
I haven't modified any files in the MVVM project and as far as I can tell the comments are correct and the parameters actually exist. The errors are all regarding params in record constructors. which are not detected correctly when checking the validity of the xml comments. This makes me think the build command is running with an incorrect .net version which has trouble recognizing the record completely. (For what is worth, I can build the solution and run the test app from my VS2019 installation just fine)
Before I dig deeper, are there any official steps for building the NuGet package that I have missed? Is there a list of requirements / recommended tooling versions? Or did I miss some build step that sets up the build tools? I'd appreciate any pointers!
Beta Was this translation helpful? Give feedback.
All reactions