I am new in Xamarin Forms. Using xamarin application breakpoints work very well under Android but fails with UWP.
Checking option project → Properties → Build → "Compile using the native code tool chain" causes navigation to not work.
NB: vs 2017 is up to date (version 15.5.7)
This can happen if xamarin is used with .net standard, by default the shared library uses the 'portable' debug mode, if it is changed to 'Full' it should work correctly.
Go to Project properties -> build -> Advanced -> Debuggingh information and set Full.
Related
I am using Visual Studio 2022 and have just created a new Win Form Application.
Currently the version number of my newly created app is 1.0.0
How can I change this in the designer
I have looked under properties of the project but cannot see anything related to these properties.
Under Project -> Properties go to Package -> General and there you can enter Assembly Version and File Version.
When developing a Hololens UWP application using Unity 2017.2, the code completion in Visual Studio (2017) does not match what is available.
The dev environment is set up as described here.
The UWP (Hololens) build uses a subset of the API. Visual studio code completion does not match this.
How do you set visual studio up correctly for this development?
IntelliSense should work normally when the dev environment is setup as described. Usually one of the following helps:
Restart Visual Studio and open the project again
Turn off Resharper if you have it enabled
Ensure you have a using statement for the namespaces for which you want IntelliSense
If none of these options helps, you can try reinstalling again according to the instructions.
I have installed VS 2017, version 15.3.3, breakpoints are working perfectly on web asp mvc projects but not working on xamarin projects, either: PCL, Android or iOS.
(I am on Debug mode) everything is installed in its default setting, I have not changed any project options
If you are debugging with the Android emulator, you might need to tick "migrate to physical computer with a different processor version" under Hyper-V manager -> Image -> Settings -> Processor -> Compatibility. This resolves random app crashes and also allows debugging from visual studio to work.
I've had this issue before, and restarting Xamarin Studio / deleting the app and cleaning/rebuilding/reinstalling worked.
I Solved it,
checked checkboxes was unchecked, now it's working
I use visual studio 2015 with xamarin android for my project. I build and debug on a Samsung SM-G389F(Android 6.0 - API 23). Everytime I build my project and deploy it to my device it will not override the previously build app. I have to manually delete the existing app in order to see some changes.
Is there a way in visual studio to let the app be successfully deployed?
Is this a bug or are my settings wrong?
thanks.
Sounds like you might have Fast assembly deployment enabled and it's not working correctly. Here's what to do:
Go to project's properties and Android Options tab.
Turn off Use Fast Deployment
Uninstall the app completely from the device.
Rebuild the whole project (rebuild also does cleans the project)
Try to deploy again
When debugging/deploying Xamarin Android applications in Visual Studio, the solution is rebuild every time. Even if source code is unchanged.
I used Xamarin studio before and this didn't happen.
I'm using Visual Studio 2015. Xamarin 4.1.
Check your Visual Studio settings. Tools -> Options -> Projects and solutions -> Build and Run.