Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 397 forks source link

v0.16.0 Cannot Detect Language on ASP.NET Core Projects #920

Open BogusDude99 opened 5 years ago

BogusDude99 commented 5 years ago

I was flabbergasted to find out that Draft cannot detect the language on a stock-standard, newly-generated -from-the-template ASP.NET Core project.

I created 2 projects in Visual Studio 2017 (V15.9.4) by clicking "File/New/Project" from the menu, one of of them was an Angular app and the other an MVC app.

Draft could not detect a language in either. There are similar issues around from Jan 2018??

squillace commented 5 years ago

I'm not necessarily surprised at all. We don't have examples of each framework, and couldn't support that even if we did. That said, do you have more information?

  1. what is draft's output here?
  2. which version of draft?
  3. Do you have a basic repo/example you can create for us to test against?

Ultimately, we originally targeted only "languages" and left the "application template" systems come from the community. Perhaps yours is a good one to add.

Read through https://github.com/Azure/draft/blob/master/docs/troubleshooting.md#my-repository-is-detected-as-the-wrong-language and especially have a look at https://github.com/Azure/draft/blob/master/docs/troubleshooting.md#using-gitattributes and let us know what you find.

LoungeFlyZ commented 5 years ago

Not sure this is particularly helpful, but i created an ASP.Net Core 2.2 project yesterday and it Drafted fine. I created and up'd no problem and deployed to Azure ACS + AKS without issue.