Skip to content
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

Unable load T10 project form GitHub #1718

Open
Dedecekhribecek opened this issue Nov 22, 2019 · 13 comments
Open

Unable load T10 project form GitHub #1718

Dedecekhribecek opened this issue Nov 22, 2019 · 13 comments

Comments

@Dedecekhribecek
Copy link

Dedecekhribecek commented Nov 22, 2019

Hello

I am not able build project from Template10 GitHub. I am not sure where is the problem (source code, Visual studio or Windows). My windows is version 10. 0. 19028. insider preview fast ring, Visual Studio is Microsoft Visual Studio Community 2019 Version 16.3.10 VisualStudio.16.Release/16.3.10+29519.87

There are 3 Solutions in Template10 GitHub

1. Template10.Nuget.Sample is OK
1>------ Rebuild All started: Project: Template10.Nuget.Sample, Configuration: Debug ARM ------
1> Template10.Nuget.Sample -> C:\Users\PetrM\Source\Repos\Template10\Samples\Template10.Nuget.Sample\Template10.Nuget.Sample\bin\ARM\Debug\Template10.Nuget.Sample.exe
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

2. I could not load Template10.Core.Default
Error occurred while restoring NuGet packages: The operation failed as details for project Template10.Core.Default could not be loaded.
Error occurred while restoring NuGet packages: The operation failed as details for project Template10.Core could not be loaded.
========== Rebuild All: 1 succeeded, 6 failed, 1 skipped ==========

3. And similar situation in Template10.Core solution
Error occurred while restoring NuGet packages: The operation failed as details for project Template10.Core could not be loaded.
========== Rebuild All: 0 succeeded, 7 failed, 1 skipped ==========

Visual studio 2019 interface

image

Here is link to ZIP file with Visual studio activity log.
https://1drv.ms/u/s!AhtRMLXsfitXmIF6fRHPQHQZ7g_Efg?e=QNvQXy

Do not hesitate and ask me for details.
Petr

@JerryNixon
Copy link
Member

What's your Visual Studio version?

@JerryNixon
Copy link
Member

JerryNixon commented Dec 17, 2019

I will also ask @darenm who might recognize the error.

@Dedecekhribecek
Copy link
Author

What's your Visual Studio version?

The version of root topic is Microsoft Visual Studio Community 2019 Version 16.3.10.
I have a new version of software. Problem remain on Microsoft Visual Studio Community 2019 Version 16.4.1 and Windows build 19041.1 too.

@darenm
Copy link
Contributor

darenm commented Dec 17, 2019

I'll take a look... I know we had issues going back and forth between the project types.

@JerryNixon
Copy link
Member

I should also ask, which SLN are you attempting to open?

@Dedecekhribecek
Copy link
Author

Dedecekhribecek commented Dec 17, 2019

I should also ask, which SLN are you attempting to open?

Opening repository "https://github.com/Windows-XAML/Template10.git"
In solution Template 10 sub-solutions :
Template10.Core - problem
Template10.Core.Default - problem
Template10.Nuget.Sample - OK
Template10.Nuget.Sample - OK
Sample.Template10.Behaviors - OK

image

@JerryNixon
Copy link
Member

So, one thing to consider is that we are using the new SDK format which requires an updated MSBuild. This is not your problem, per se, as you already have the latest MSBuild via Visual Studio 2019. That said, @darenm and I have had some trouble with this new project type. It could be that you are having the same problem as I am having (I have something similar to what you are experiencing) and I have considered if we should just return back to the Universal Windows Class Library project type that didn't give us trouble - that I can remember. I don't know, I am going to lean on @darenm here to tell me what he thinks because I just don't know what to do to make it so the projects load reliably as long as a developer has a certain SDK installed. We're not going to get any pull requests otherwise, that is for sure. And, I am using the current unlisted version of Template 10 in my projects right now only because I am having loading problems, too. So I want to figure this out. For sure.

@JerryNixon
Copy link
Member

I wonder if @onovotny would be willing to peek at this project and consult?

@clairernovotny
Copy link

I don't know if there's enough data here to know what's going on. The project file looks ok AFAICT. I'd suggest using the "Report a Problem" button and maybe @davkean can take a look into what VS is doing here.

@davkean
Copy link

davkean commented Dec 18, 2019

We don't have support for UWP in SDK-based projects, I would switch back to supported project types until we have support.

@Dedecekhribecek
Copy link
Author

Thanks all for help

@JerryNixon
Copy link
Member

image

I can tell this will be a delicate process. Nonetheless, I have the solution opening, building and publishing nuget packages. I will push this up to Master in just a few minutes.

image

@JerryNixon JerryNixon reopened this Dec 18, 2019
@JerryNixon
Copy link
Member

Okay, pull request in, Master is updated. Please confirm and close this issue.

#1724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants