Comments (27)
same problem
from xamarin.gradlebindings.
I face the same problem as well! VS 2017
from xamarin.gradlebindings.
Same problem with VS 2017!
from xamarin.gradlebindings.
Same problem here too. It would be great if this error on VS2017 is fixed!
from xamarin.gradlebindings.
same problem
from xamarin.gradlebindings.
Please tell me if you saw it
from xamarin.gradlebindings.
same problem
from xamarin.gradlebindings.
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, IEnumerable
1 aarFiles, IEnumerable1 jarFiles, IEnumerable
1 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.
Having this same problem too
from xamarin.gradlebindings.
same problem
from xamarin.gradlebindings.
Same problem, someone solution? please :'(
from xamarin.gradlebindings.
Same problem with VS 2017.
from xamarin.gradlebindings.
Same here also vs 2017
from xamarin.gradlebindings.
Same problem
Is there any workaround for this problem?
from xamarin.gradlebindings.
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, IEnumerable
1 aarFiles, IEnumerable1 jarFiles, IEnumerable
1 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.
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.
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.
same problem
from xamarin.gradlebindings.
Same problem with VS 2017.
from xamarin.gradlebindings.
the same error
from xamarin.gradlebindings.
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.
)-:
from xamarin.gradlebindings.
@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.
Same issue from a fresh install
from xamarin.gradlebindings.
some too.
from xamarin.gradlebindings.
I have the same issue too. Is there any updates on this one?
from xamarin.gradlebindings.
Any update on this issue? @EgorBo are you still supporting the code?
from xamarin.gradlebindings.
Related Issues (16)
- Unknown solution item type HOT 2
- I can't add gradle dependency i have this error HOT 1
- How install appcompat-v7-28.0.0 to m2repository?
- vs2017 15.9.5
- VS Crashes and restarts when .aar added
- Not installing on VS 16.2 HOT 1
- Not Support with VS2019 HOT 3
- Visual Studio for Mac support
- VS2022 support?
- How to install this in Xamarin Studio? HOT 7
- Project outdated HOT 1
- Binding Dll does not contain anything but Dll sucessfully Generated HOT 4
- VS2017 Support HOT 1
- gradle version is outdated
- Build failed with an exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xamarin.gradlebindings.