Breakpoints stopped working - WPF app was Desktop-Bridged from Visual Studio - wpf

Last month I Desktop-Bridged my one simple WPF app using in latest version of VS2017 - ver 15.9 on Windows10 - Update 1809. The WPF app was also developed on the exact same environment. Last month, the breakpoints in debug mode were working.
But today the breakpoints are not working. According to this official link:
If you created your package by using the new packaging project available in the 15.4 release of Visual Studio 2017, Just set the packaging project as the startup project, and then press F5 to debug your app.
Please note:
This month, I upgraded VS2017 to VS2019 - Ver16.1.3. But that probably should not make any difference since my other old projects work fine in VS2019.
As shown below, I've verified that the Packaging Project in the solution is indeed the Startup project (as instructed in the link above).
The WPF app is a sample app using the code from here with user interface shown in image 2 below.
Snapshot of VS2019 solution:
UI of the app:
Snapshot of VS2019 top toolbar:

Maybe something during the update messed up your machine settings. Can you check Developer Mode is still active? The configurations you've done on your SLN are good, so breakpoints should be working as expected.

Related

AzureDevOps Extension development using Visual Studio Code - Can't Debug anymore - Breakspoints ignored

I'm developing an AzureDevOps Extension with Visual Studio Code.
I'm using the Formula Design System from Microsoft (React, TypeScript).
We are using a vm where AzureDevOps and Visual Studio Code are installed.
So, that we are able to execute and debug the Extension locally.
That worked well, but for the last 2 or 3 months I'm not able to Debug the Code.
Breakpoints are ignored.
At first I thougt that the latest Version from Firefox (auto update is activated)
is responsible for that behavior. Because the Visual Studio Code Extension
"Debugger for Firefox" does not supprt the latest firefox version for debugging.
So i uninstalled firefox and installed an older supported version from Firefox.
But the behavior is the same. Breakpoints are ignored.
Since Yesterday it seems that only Breakspoints in the Frontend (ReactCode) are reached.
Backendcode Breakpoints still ignored.
A littlebit weird is that calls like console.info(), console.warn() are not shown in the console.
And an alert() call does not open the appropriate Messagebox when the Extension calls them.
I dont know if it's because the extension runs through an iframe an Microsoft supresses alert calls from there.
The stated calls are definitely in reachable code, because if its not the whole extension does not work.
The workflow:
starting Firefox with AzureDevOps Tab open
starting Visual Studio Code
executing in Visual Studio Code: npm run start:dev
everthing gets compiled
setting breakpoints
execute firefox from visual studio code für Debugging
the adress line gets some colored stripes that indicats that the prozess is attached.
open extension to reached Breakpoints ... nothing happend.
Versions:
Visual Studio Code - latest
intsalled Extension: Debugger for Firefox - v2.9.8
Firefox - 106.0.5
Does anyone have any idea where the problem could be?

Visual Studio 2019: Browser not reloading after save

I'm making a React application and I'm currently using Visual Studio to run the program and VSCode to edit the code.
When I used to save changes on VSCode, it automatically refreshed the browser with the changes I did. But recently it stopped working and now I have to make a manual reload (F5).
Here's what I've tried so far without success:
Updated both programs to their latest version.
Deleting the file and downloading it again from Gitlab.
In Visual Studio: Tools > Options > Environment > Documents cheked the boxes to detect changes outside enviroment.
Delete and generate again the .vs folder
Tried on a different browser
Tried making changes in Visual Studio
And so on ...
I tried with a similar app I built and that one was working fine and using the same properties.
There's currently two of us working on the project, but this issue only happens to me.
I recommend running the React from VSCode, using npm start / yarn start from command line in the directory.
Try changing something and see if the browser automatically reloads.

How do I view assets and layer info in Origami studio?

Following this tutorial: http://origami.design/tutorials/common-interactions/Horizontal-Scrolling.html
Downloaded and opened the project starter file. But I don't see the layer info or the assets in the project. Below is a screenshot of what I see
According to the tutorial, I should see a screen like below:
Not sure how to proceed, this is my first Origami studio project.
The issue was a bug introduced in the most recent version of Origami. Workaround is to use an older version.

Codenameone designer doesnt launch from eclipse

IDE: Eclipse Luna
Desktop OS: Windows Server 2008 R2 Enterprise
Simulator : NA/default
Device: NA/default
Java: jdk1.8.0_40
Good afternoon everybody. I am a newbie and downloaded codenameone for the first time as a plugin in Eclipse IDE. The install went well, and I launched a new project, with Native theme and Hello World template. The project got created fine however, when I try to launch theme.res nothing happens. I dont see any errors or any signs of codenameone designer launching.
I searched through the forums and couldnt find anyone with similar problem.
What I have done to resolve (unsuccessfully):
Tried creating other projects with different themes and templates.
Tried uninstalling codenameone plugin and reinstalling it
Tried doing everything in a new workspace.
I have tried launching the designer jar from command line and that works:
java -Xmx256m -jar ~/.codenameone/designer_1.jar (This works)
I have double checked and eclipse is running the same version of JVM as commandline.
Nothing I do in eclipse has worked.
Could you please guide ?
Thanks
You need to switch the VM Eclipse is using to JDK 1.7 this also means the VM used to launch eclipse itself in the eclipse.ini file.

package 'manifest designer package' failed to load Windows Phone SDK 8.0

I am very new to Windows Phone Development therefore I do not know much about it....
I installed Visual Studio 2012 in my Windows 8.1 64x Operating system after installation I downloaded Windows phone sdk 8.0 iso and installed it too ...
I watch tutorial and performs those steps , one of those tutorial's steps to double click WMAppManifiest.xml to change the icon of Windows Phone Apps but When I double Click On this it gives following error
package 'manifest designer package' failed to load
and Also AppManifest.xml is not loading and it gives this error
Visual Studio has encounterd an unexpected error
i have uninstalled all and re-install al of this including sdk and vs2012 but still it gives error not in one project but each time I tried to goto NewProject and select windows phone App and without doing anything I tried to open those files but it gives error
Please Help me ....
NOTE: I was working on a Apache Cordova app in VS 2013. Try this it might help
I had a similar problem, but in my case it was to remove the text on the tile as it was too long for the tile. Each time I made a change to the platforms/wp8/Properties/WMAppManifest.xml it was overwritten each time when I Rebuilt the app.
I followed the below guide:
Place the custom WMAppManifest.xml file in the res/native/wp8/Properties folder. Use the generated version of the file in the platforms/wp8/Properties folder after building a Debug configuration of the project for Windows Phone 8.
Refer to this documentation:
https://msdn.microsoft.com/en-us/library/dn757053.aspx.

Resources