-
Notifications
You must be signed in to change notification settings - Fork 706
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
How to properly compile? #1982
Comments
@Damonsoft can you try running restore nuget packages (right click on MuxControls.sln in solution explorer) and do a rebuild from VisualStudio ? |
@ranjeshj Hey, so I did a fresh Git Clone of the repository and I right clicked the MuxControls.sln in solution explorer and did a nuget restore. The output stated all nuget packages were already installed.
I then did a rebuild and I got around 12 errors at least, all stating the same general error of missing Microsoft.winmd configuration file. However I did notice this time that Microsoft.Ui.Xaml project failed to load in Visual Studio. When hitting reload project in the context menu of solution explorer Visual studio gives me this error.
I tried poking around the Microsoft.UI.Xaml.vcxproj file to see whats going on but couldn't come up with a solution. Thanks a bunch for you help! |
@Damonsoft This looks like a duplicate entry in one of the included projects. I created a PR to remove the duplicate entry - try pulling that change and see if it fixes it for you. Also, delete the BuildOutput folder before loading the solution and do a full rebuild to ensure that you start at a clean point. It takes a little while during the initial load, but it should get faster in future loads. Its a long weekend, so responses might be delayed. Thanks. |
Hello! I just have a simple question. I've been trying to get debugging going on WinUI, and I'm a little lost. I cloned the repository and updated my Visual Studio to version 16.4.5. I also made sure the SDK's 17763 and 18362 we're properly installed. When selecting Debug, x64, and the project MUXControlsTestApp, executing a build causes the following error.
So my next thought was to just use the build command in the root directory which builds everything properly. Then use Visual Studio to debug the application. Unfortunately I cant figure out where the PDB file for the specific source files I need are outputted. I tried pointing Visual Studio towards the Microsoft.Ui.Xaml.pdb in the BuildOutput directory but no luck.
Also the build command ends correctly but when building the TestApp it indicates a missing reference to System.Runtime 4.0.0.
The text was updated successfully, but these errors were encountered: