In VS2010, I'm having to rebuild a Report project every time to preview changes.
Before, I could just save to preview. Anyone know of a fix?
Related
I am using Xamarin in Visual Studio. When I click on Design to preview my form, all I see is MockView on an orange background. I have tried to find a solution but nothing has made any difference. I tried Clean Solution then Build Solution. I have the latest version of Java. I downloaded HotReload and enabled it but it's the same. I have it in Debug mode. I have the latest version of Visual Studio. Is there anything else I can try?
I try to edit an axml file in Visual Studio, because drag and drop doesn't work in Xamarin Studio. But when I open my axml file, it's loading forever.
I've been waiting for more than 10 minutes, but it is still loading. When I restart VS I can open the axml file without any problems.
The same applies for all my other axml files (in other projects).
Does anyone knows how to fix this?
I'm using the newest stable version(cycle 8) of Xamarin btw.
EDIT:
I'm using Visual Studio Community 2015 Version 14.0.25425.01 Update 3 and I've got all the latest updates installed.
More detailed explanation:
I open my project in Visual Studio
I open my foo_bar.axml file
I switch from the Designer tab to the Source tab
I remove the android:background="blablabla" attribute
I switch from the Source tab to the Designer tab
The Designer tab is loading forever
AND
I open my project in Visual Studio
I open my foo_bar.axml file
I make some changes
I close the foo_bar.axml file
I reopen the foo_bar.axml file
the foo_bar.axml file is loading forever
NOTE:
The problem doesn't happen when I change the android:text="blablabla" attribute at step 4 and when I change some other attributes it also doesn't happen, so it is specific to just some attributes.
According to a forumer at Xamarin Forums, it has something to do with Cycle 8's AXML Designer not being able to render using the newest API.
But even in Cycle 8 when I choose to compile under Android 6.0 instead of 7.0 in the project's properties, the designer is still wonky as it is. Switch between "Designer" and "Source" on one .axml file and the designer still loads until Harambe cometh.
Therefore, your best bet is to downgrade Xamarin Studio to Cycle 7, and you can finally get the AXML Designer as working as before.
Until Cycle 9 or an incremental update/hotfix of Cycle 8 comes about, this is the way to go for now.
You can download and install the previous cycle in the link below:
https://store.xamarin.com/account/my/subscription/downloads#cycle7
For your own interest, you can read more about the aforementioned forum thread below:
https://forums.xamarin.com/discussion/77992/axml-layout-designer-inside-visual-studio-keeps-loading-forever
This happened to me also. Then I realised I hadn't opened Visual Studio in Admin mode. After I did, everything was fine.
Open the visual studio as admin and it loads perfectly. All the best.
I was working to a lightswitch project in Visual Studio 2015, Visual Studio crashed and after restart of VS and Project when I try to add a table or a Screen to the project I retrieve following message:
Changes have been made to project "name of project" and it needs to be reloaded before this action is taken. Would you like to reload the project now?
I click yes, and after a while appear a Reload windows with following message:
Application metadata has been modified out of the designer.
When you finish those changes, please use the "Reload" button to reload the desiner.
Obviously if I use the Reload Button I get the same windows.
So I cannot work more on it.
Somebody have some tips of how can I solve it ?
Many thanks in advance
Piercarlo
I have "little" problem with Xamarin plugin for Visual Studio Community 2015. When I choose "Start debugging (F5)", app debugging to moment when on status bar I see text "Ready" and after 30 min nothing happend. In console "output" is text "Detecting installed packages...". Application won't debugg on my device. Yesterday works fine. Any sugestion? Thank you for help.
UPDATE
I need to repair Visual Studio and it fix my problem. Debugging works fine.
Did you try Cleaning the Solution and Rebuilding? If so, delete all files and folder in your project's bin and obj files, then do another clean and rebuild of the solution.
Finally I would check your references for any with a yellow icon. If you find yellow icons next to them, it is probably a package issue.
I get a blank security warning popup window when trying to open a website, in Visual Studio 2015 Community Edition. It worked on my other computer in the same environment.
I moves the files to a new fresh computer and I get this window.
Here's a screenshot:
Nothing is clickable, even what where the buttons should be. Visual Studio is just frozen, can't even close the IDE nor the popup window. It doesn't happen to Web Projects, only websites.
Any idea how to solve this?
I got the same issue. Just fixed it. In my case it was entity ".tt" files fault. I guess for some reason VS 2015 does not recognize ".tt" extension. I've just deleted these files and run website (not web application) successfully
The .tt files are needed if using Entity Framework.
Here is my workaround that worked in two cases of the blank security warning. Rename the files with .tt extension to .tt.old.
Open the project (it will not compile, so don't try)
Save and close the project
Rename the .tt.old files back to their original names
Open the project again, this time the warning will have content and will be clickable.