Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all 91519 articles
Browse latest View live

xamarin Error... Different day...Another error... when does the pain stop???

$
0
0

No matter what... xamarin keep coming up with new roadblock and new error... Each day it's something new...
anyone with any ideas on what is going on fro the error below?

Please note...a week ago I was some how apply to get this application to run on the IOS simulator as one day I do hope I will play able to put this application on or dev store.. one day... but each new day brings new wacky errors... I have to ask... does xamarin work???

I know some will answer yes... but I just don't understand why when you follow the guides the thing does not work... I mean seriously,... how do you doploy your app if you can't get it to run on the sim... but a few days before... it ran on the sim?? What changed??

This app runs on the Android simulator just fine... Any help would be appreciated.Thanks!

There was an unhandled exception trying to deploy and run your application. \nSystem.Exception:
The OutputPath property is not set for project 'NameOfTheApplication.iOS.csproj'. Please check to make sure that you have specified a valid combination of Configuration and Platform for this project. Configuration='Debug' Platform='iPhone'. This error may also appear if some other project is trying to follow a project-to-project reference to this project, this project has been unloaded or is not included in the solution, and the referencing project does not build using the same or an equivalent Configuration or Platform.

More of this error:

t Xamarin.VisualStudio.MsBuild.MsBuildService.RunTarget(IProjectNode projectNode, String msbuildTarget, IProgressReport progress, IDictionary2 globalProperties, IDictionary2 properties, Boolean runInProc) in E:\A_work\21\s\src\Core\VisualStudio\MsBuild\MsBuildService.cs:line 248
at Xamarin.VisualStudio.MsBuild.MsBuildService.RunTarget(IProjectNode projectNode, String msbuildTarget, IDictionary2 globalProperties, IDictionary2 properties, Boolean runInProc) in E:\A_work\21\s\src\Core\VisualStudio\MsBuild\MsBuildService.cs:line 211
at Xamarin.VisualStudio.IOS.MonoTouchProjectProperties.<>c__DisplayClass31_0.<b__0>d.MoveNext() in E:\A_work\21\s\src\Core\VisualStudio.IOS\PropertyProviders\MonoTouchProjectProperties.cs:line 103
--- 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 Microsoft.VisualStudio.Threading.JoinableTask.CompleteOnCurrentThread()
at Merq.AsyncManager.Run(Func`1 asyncMethod) in E:\A_work\143\s\src\Async\Merq.Async.Core\Merq.Async.Core.Portable\AsyncManager.cs:line 58
at Xamarin.VisualStudio.IOS.MonoTouchProjectProperties.GetAppBundleDir(IProgressReport progress) in E:\A_work\21\s\src\Core\VisualStudio.IOS\PropertyProviders\MonoTouchProjectProperties.cs:line 99
at Xamarin.VisualStudio.IOS.MonoTouchFlavoredProject.GetRunSessionInfo(MonoTouchDevice device) in E:\A_work\21\s\src\Core\VisualStudio.IOS\ProjectSystem\MonoTouchFlavoredProject.cs:line 1250
at Xamarin.VisualStudio.IOS.MonoTouchFlavoredProject.RunApplication(MonoTouchDevice device, IProgressReport progress) in E:\A_work\21\s\src\Core\VisualStudio.IOS\ProjectSystem\MonoTouchFlavoredProject.cs:line 1199
at Xamarin.VisualStudio.IOS.MonoTouchFlavoredProject.DebugLaunch(__VSDBGLAUNCHFLAGS grfLaunch, IProgressReport progress) in E:\A_work\21\s\src\Core\VisualStudio.IOS\ProjectSystem\MonoTouchFlavoredProject.cs:line 1066
at Xamarin.VisualStudio.IOS.MonoTouchFlavoredProject.DebugLaunch(__VSDBGLAUNCHFLAGS grfLaunch) in E:\A_work\21\s\src\Core\VisualStudio.IOS\ProjectSystem\MonoTouchFlavoredProject.cs:line 973


How can I use SetBinding to bind to a label inside a listview that's being created programatically?

$
0
0

Sorry if the question's a bit convoluted! This has me stumped at the moment: I have a ListView and I'm creating the DataTemplate programatically to be able to make it responsive. My ListView's ItemSource is a list called "Recipes" made up of "Recipe" objects.
How can I create a label in codebehind and bind its text property to, say, Recipe.Title? Here's my current code and what I'd like it to do:

                    private void GenerateTitleLabel(Grid grid)
                    {
                        Grid.SetColumn(grid, 1);
                        grid.Margin = 1;
                        grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(2, GridUnitType.Star) });
                        grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(4, GridUnitType.Star) });
                        grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(2, GridUnitType.Star) });
                        grid.RowDefinitions.Add(new RowDefinition { Height = new GridLength(2, GridUnitType.Star) });
                        Label title = new Label
                        {
                            Style = Application.Current.Resources["styleLabelTitle"] as Style,
                        };

                        //Here I'd set the binding to the Title attribute in my Recipe class
                        title.SetBinding(???);

                        Grid.SetRow(title, 1);
                    }

That's it. If anything's unclear, let me know!

Buttons, Background Images , Application Icon Questions for apple in xamarin

$
0
0

Hi All,

So the question is about formatting I guess.

I have an application that looks great in Android... but look bad in apple Iphone.

For example I have a back ground image in apple and the images seems to duplicate. I guess it does that to fit the screen of the device?
Is there a way to not have the image to repeat or is there a way I can remove the image in the xamarin forms without it removing it for my android version?

Next question is the buttons...again In Android the buttons look like buttons.
In the apple Iphone the buttons look like blue text which makes it hard to see on the background image (which if I could remove from apple..I guess the text would be ok if the back ground was plain white.

Finally My Icon works great for Android... bit for apple there is not icon...when the application starts...its just some type of blank icon.

Again.. wish the apple application version looked as good as the android... but it it can't I am okay with. If I can strip out th dress up graphics from the apple version of the application that is fine. As I don't want to go through the hassle that Im sure it is to make this look nice for an apple device..

my main worry is messing up the Android out put.

Thanks All!

X.Forms Android Button OnPress Visual Bug

$
0
0

Hey guys,

I'm really frustrated and require some help from you. I'm not really new at Xamarin, but some things won't get in my brain. Maybe I haven't understood the entire logic so far.

But, my problem is: I've been adding a Button to the content page and all were working fine. So, I had to change the background color and now it's messed up! When I click the button, it shows WHILE the press event is invoked, a small visible rectangle with the 0.25 scale of the entire button on the top left of the button.

Can someone help me? I've made a screenshot WHILE PRESSING THE BUTTON here:

Note: BEFORE changing the background color, all has been working fine. AFTER setting the background color, the color gets changed well and is correct but the PRESS/CLICK/ACTIVE state of the button shows a small - unrequired - rectangle on the top left of the button.

Thankful for every answer.

Kind regards,
Dominik G.

How to use Google Drive in Xamarin Forms?

$
0
0

Hi!
1. As the title, How to use Google Drive in Xamarin Forms?
I have found this link but it use CustomRenderer.

  1. How many way to use Google Drive in Xamarin Formns?
  2. How to use it directly in PCL (NET Standard)?

Thank you!

买美国Brown文凭毕业证成绩单加Q微信9105133布朗大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Brown University

$
0
0

买美国Brown文凭毕业证成绩单加Q微信9105133布朗大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Brown University

买美国JHU文凭毕业证成绩单加Q微信9105133约翰霍普金斯大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证The Johns Hopkins University

$
0
0

买美国JHU文凭毕业证成绩单加Q微信9105133约翰霍普金斯大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证The Johns Hopkins University

买美国Cornell文凭毕业证成绩单加Q微信9105133康奈尔大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Cornell University

$
0
0

买美国Cornell文凭毕业证成绩单加Q微信9105133康奈尔大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Cornell University


买美国WU文凭毕业证成绩单加Q微信9105133圣路易斯华盛顿大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Washington University in St Louis

$
0
0

买美国WU文凭毕业证成绩单加Q微信9105133圣路易斯华盛顿大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Washington University in St Louis

买美国Blue Devil文凭毕业证成绩单加Q微信9105133杜克大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Duke University

$
0
0

买美国Blue Devil文凭毕业证成绩单加Q微信9105133杜克大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Duke University

买美国UMD文凭毕业证成绩单加Q微信9105133马里兰大学帕克分校毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证University of Maryland College Pa

$
0
0

买美国UMD文凭毕业证成绩单加Q微信9105133马里兰大学帕克分校毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证University of Maryland College Park

买美国OSU文凭毕业证成绩单加Q微信9105133俄克拉何马州立大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Oklahoma State University

$
0
0

买美国OSU文凭毕业证成绩单加Q微信9105133俄克拉何马州立大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Oklahoma State University

买美国OCU文凭毕业证成绩单加Q微信9105133俄克拉荷马城市大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Oklahoma City University

$
0
0

买美国OCU文凭毕业证成绩单加Q微信9105133俄克拉荷马城市大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Oklahoma City University

买美国Temple文凭毕业证成绩单加Q微信9105133天普大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Temple University

$
0
0

买美国Temple文凭毕业证成绩单加Q微信9105133天普大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Temple University

买美国UA文凭毕业证成绩单加Q微信9105133阿拉巴马大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证The University of Alabama

$
0
0

买美国UA文凭毕业证成绩单加Q微信9105133阿拉巴马大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证The University of Alabama


买美国Iowa文凭毕业证成绩单加Q微信9105133爱荷华大学爱大毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证The University of Iowa

$
0
0

买美国Iowa文凭毕业证成绩单加Q微信9105133爱荷华大学爱大毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证The University of Iowa

买美国BC文凭毕业证成绩单加Q微信9105133波士顿学院毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Boston College

$
0
0

买美国BC文凭毕业证成绩单加Q微信9105133波士顿学院毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Boston College

买美国Emory文凭毕业证成绩单加Q微信9105133埃默里大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Emory University

$
0
0

买美国Emory文凭毕业证成绩单加Q微信9105133埃默里大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Emory University

买美国GU文凭毕业证成绩单加Q微信9105133乔治敦大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Georgetown University

$
0
0

买美国GU文凭毕业证成绩单加Q微信9105133乔治敦大学毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证Georgetown University

买美国 UNC文凭毕业证成绩单加Q微信9105133北卡罗来纳大学教堂山分校毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证niversity of North Carolina at

$
0
0

买美国 UNC文凭毕业证成绩单加Q微信9105133北卡罗来纳大学教堂山分校毕业证成绩单本科硕士学历/留信认证/使馆认证/真实教育部留服认证niversity of North Carolina at Chapel Hill

Viewing all 91519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>