Giter Site home page Giter Site logo

Comments (27)

AshtonYoon avatar AshtonYoon commented on May 20, 2024

same problem

from xamarin.gradlebindings.

Niach avatar Niach commented on May 20, 2024

I face the same problem as well! VS 2017

from xamarin.gradlebindings.

cschwengler avatar cschwengler commented on May 20, 2024

Same problem with VS 2017!

from xamarin.gradlebindings.

ramvdixit avatar ramvdixit commented on May 20, 2024

Same problem here too. It would be great if this error on VS2017 is fixed!

from xamarin.gradlebindings.

kenchan97 avatar kenchan97 commented on May 20, 2024

same problem

from xamarin.gradlebindings.

AshtonYoon avatar AshtonYoon commented on May 20, 2024

Please tell me if you saw it

from xamarin.gradlebindings.

Destroy666 avatar Destroy666 commented on May 20, 2024

same problem

from xamarin.gradlebindings.

jaceDeng avatar jaceDeng commented on May 20, 2024

same problem
System.IO.FileNotFoundException: 系统找不到指定的文件。 (异常来自 HRESULT:0x80070002) 在 EnvDTE80.Solution2.GetProjectTemplate(String TemplateName, String Language) 在 EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateProjectAndAddReferenceToIt(VSProject sourceProject, Solution2 solution, String newProjectTemplate, String newProjectName, String newProjectDirectory) 在 EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateBindingProject(VSProject sourceProject, Solution2 solution, String bindingProjectName, IEnumerable1 aarFiles, IEnumerable1 jarFiles, IEnumerable1 referencedJarFiles, String infoFile)
在 EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.d__5.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
在 GradleBindings.BindingProjectGenerator.d__7.MoveNext()`

from xamarin.gradlebindings.

 avatar commented on May 20, 2024

Having this same problem too

from xamarin.gradlebindings.

ToluAgabi avatar ToluAgabi commented on May 20, 2024

same problem

from xamarin.gradlebindings.

Nalbornoz avatar Nalbornoz commented on May 20, 2024

Same problem, someone solution? please :'(

from xamarin.gradlebindings.

basiljohntme avatar basiljohntme commented on May 20, 2024

Same problem with VS 2017.

from xamarin.gradlebindings.

waelbouchnak avatar waelbouchnak commented on May 20, 2024

Same here also vs 2017

from xamarin.gradlebindings.

arminrasoulian avatar arminrasoulian commented on May 20, 2024

Same problem
Is there any workaround for this problem?

from xamarin.gradlebindings.

florisernst avatar florisernst commented on May 20, 2024

It seems the bindings library template is not called "BindingsLibrary.zip" anymore, it now is "XamarinAndroidBindings.zip". I changed this in the source code, only to have it crash on the next line where the new project is supposed to be created & added. This now fails … So, no workaround, but at least a first idea what might be wrong. My error now:

System.Exception: Das Element kann nicht hinzugefügt werden, da das Element, dem es hinzugefügt werden soll, kein Projektmappenordner und keine Projektmappe ist. bei Microsoft.VisualStudio.TemplateWizard.Wizard.AddToValidUIHierarchyItem(UIHierarchyItem item, String rootPath, Boolean isSilent, XmlNode projCollectionNode, Int32& numberOfSuccessfullyExecutedTemplates) bei Microsoft.VisualStudio.TemplateWizard.Wizard.Execute(Object application, Int32 hwndOwner, Object[]& ContextParams, Object[]& CustomParams, wizardResult& retval) bei EnvDTE80.Solution2.AddFromTemplate(String FileName, String Destination, String ProjectName, Boolean Exclusive) bei EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateProjectAndAddReferenceToIt(VSProject sourceProject, Solution2 solution, String newProjectTemplate, String newProjectName, String newProjectDirectory) bei EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateBindingProject(VSProject sourceProject, Solution2 solution, String bindingProjectName, IEnumerable1 aarFiles, IEnumerable1 jarFiles, IEnumerable1 referencedJarFiles, String infoFile)
bei EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.d__5.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei System.Runtime.CompilerServices.TaskAwaiter.GetResult()
bei GradleBindings.BindingProjectGenerator.d__7.MoveNext()`

from xamarin.gradlebindings.

jamesmcroft avatar jamesmcroft commented on May 20, 2024

As others, also facing this same problem with VS 15.8.5.

System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002) at EnvDTE80.Solution2.GetProjectTemplate(String TemplateName, String Language) at EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateProjectAndAddReferenceToIt(VSProject sourceProject, Solution2 solution, String newProjectTemplate, String newProjectName, String newProjectDirectory) at EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.CreateBindingProject(VSProject sourceProject, Solution2 solution, String bindingProjectName, IEnumerable'1 aarFiles, IEnumerable'1 jarFiles, IEnumerable'1 referencedJarFiles, String infoFile) at EgorBo.GradleBindings_VisualStudio.GradleBindings_VisualStudioPackage.<GenerateAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at GradleBindings.BindingProjectGenerator.<Generate>d__7.MoveNext()

from xamarin.gradlebindings.

basiljohntme avatar basiljohntme commented on May 20, 2024

The issue still exists. So I have uninstalled VS 2017 and installed VS 2017 version 15.0 then downloaded the SDK I required, later update the VS to the latest. Happy!!

from xamarin.gradlebindings.

MonkSoul avatar MonkSoul commented on May 20, 2024

same problem

from xamarin.gradlebindings.

pipihu avatar pipihu commented on May 20, 2024

Same problem with VS 2017.

from xamarin.gradlebindings.

dannykhreet avatar dannykhreet commented on May 20, 2024

the same error

from xamarin.gradlebindings.

yurkinh avatar yurkinh commented on May 20, 2024

As florisernst has mentioned problem was in incorrect name of templates. Now it should be "XamarinAndroidBindings.zip". After changing it I got new error "Cannot add the item because the item to add it to is not a solution folder or the solution." from solution.AddFromTemplate(csTemplatePath, bindingProjectDir, newProjectName); If I will add "bool Exclusive = true" 4-th param to previous method it will create separate project with bindings and crash a bit later cause now it's external project.

from xamarin.gradlebindings.

ysmoradi avatar ysmoradi commented on May 20, 2024

)-:

from xamarin.gradlebindings.

ysmoradi avatar ysmoradi commented on May 20, 2024

@yurkinh @florisernst Yes, Binding library is renamed to 'XamarinAndroidBindings.zip'
I changed the code, to configure an existing Android binding project instead of creating a new one. I added a new Android Binding project manually, then I changed the extension code from

var newProject = CreateProjectAndAddReferenceToIt(sourceProject, solution, "BindingsProject.zip", bindingProjectName, "AndroidBindings");

To

var destProject = solution.Projects.OfType<Project>().First(p => string.Equals(p.Name, bindingProjectName /*The name of manually added project*/));

Now it configures Android Binding Project without any error. But the project itself is not compilable due C# errors of generated files )-:

from xamarin.gradlebindings.

Axemasta avatar Axemasta commented on May 20, 2024

Same issue from a fresh install

from xamarin.gradlebindings.

thiagoparabas avatar thiagoparabas commented on May 20, 2024

some too.

from xamarin.gradlebindings.

pvhd avatar pvhd commented on May 20, 2024

I have the same issue too. Is there any updates on this one?

from xamarin.gradlebindings.

NinoStella avatar NinoStella commented on May 20, 2024

Any update on this issue? @EgorBo are you still supporting the code?

from xamarin.gradlebindings.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.