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

No results found for Enumerable.cs #140

Closed
IrisClasson opened this issue Apr 15, 2020 · 17 comments
Closed

No results found for Enumerable.cs #140

IrisClasson opened this issue Apr 15, 2020 · 17 comments

Comments

@IrisClasson
Copy link

IrisClasson commented Apr 15, 2020

Listed as an example on the main page at source.dot.net, but yields no results when the link is clicked and the search is done. Tried with other classes such as List, but the result seems to be incomplete or missing.

Not sure if the problem is the compiled hosted version at https://source.dot.net/ or a bug in the project.

@JesperTreetop
Copy link

I've seen this with many items for a few days, like TimeSpan today. There's no way to contact whoever keeps source.dot.net alive, so like @IrisClasson I'm chiming in here. This project is more or less not being worked on any longer, but it looks like there was a change recently to which source files to include which may have affected that site (or they stopped including all the files in the build). It doesn't affect the sourceof.net .NET Framework site, but I imagine it's not being constantly rebuilt the way the .NET Core site is.

@KirillOsenkov
Copy link
Owner

The team is actively investigating. The fix is non-trivial and related to indexing a mix of .NET Core 3.1 and .NET 5 codebases. Watch this issue for updates and thanks for your patience.

@KirillOsenkov
Copy link
Owner

This is now fixed!

@JesperTreetop
Copy link

WPF still appears to be missing. FrameworkElement and DispatcherTimer exist on sourceof.net (.NET Framework) but not on source.dot.net.

@KirillOsenkov
Copy link
Owner

@alexperovich FYI

@alexperovich
Copy link
Contributor

Looking, it looks like the binlogs from WPF are even more strange

@KirillOsenkov
Copy link
Owner

ping me if I can help with anything

@alexperovich
Copy link
Contributor

It also doesn't even look like PresentationFramework.dll was built.... This is very strange

@KirillOsenkov
Copy link
Owner

I think PresentationFramework is a multimodule assembly, its part is written in managed C++. Maybe there’s weirdness around that build?

@alexperovich
Copy link
Contributor

Yea, the binlog doesn't have any compilation for PresentationFramework. I can keep looking, but I don't know how it is actually built.

@alexperovich
Copy link
Contributor

Aha, it failed because the native library it depends on didn't build successfully. There is some missing library. I don't know how to fix this.

@KirillOsenkov KirillOsenkov reopened this Apr 24, 2020
@KirillOsenkov
Copy link
Owner

Hey @vatsan-madhavan @rladuca @stevenbrix whenever one of you has a chance next week could you please help @alexperovich fix a build failure in WPF build? Alex maintains https://source.dot.net which includes the WPF source code. It's a nice useful site for the community and it would be great to have up-to-date WPF code indexed there.

Alex, could you please write up an email or a page about how the CI build works for the website indexer, and where the relevant source is. Please include me and the folks above ^^ Ideally we should have a binlog too.

Thanks!

@vatsan-madhavan
Copy link

vatsan-madhavan commented Apr 24, 2020

There was a question recently about how to build a GitHub Action to build dotnet/wpf (in a fork). We tried to help and the OP was eventually able to build it successfully. Here it is - dotnet/wpf#2290.

Please read through it and maybe it will help you figure out what it's going to take to build WPF sources in a different environment.

A few other hints -

  • There is probably no avoiding building the whole thing - assuming the repo has to be built at all to index sources. That means building C++/CLI and C++ sources.
  • A logical implication of C++ involvement is that dotnet builds won't do - it will have to be msbuild build.
  • MSBuild in turn implies that the build/CI pipeline will require Visual Studio.

@alexperovich
Copy link
Contributor

I added code to skip the cycle-breaker and ref projects and it looks to be working now. The build agents can build the while project successfully. My local machine doesn't have the right C++ build stuff.

@vatsan-madhavan
Copy link

@alexperovich In case you weren't aware, you can import wpf.vsconfig using instructions from Import or export installation configurations. This should allow you to build the dotnet/wpf repo locally. Probably not a concern anymore, but good info to have for future.

@jasonkuo41
Copy link

Now System.Private.CoreLib is nowhere to be found too.

@alexperovich
Copy link
Contributor

I fixed the wpf build part a while ago. dotnet/runtime is now not building... again. I'm tracking that with dotnet/source-indexer#53.

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

6 participants