Can't launch published WPF application - wpf

I'm trying to test my app outside of visual studio.
I've selected project->publish->path on my desktop->from CD or DVD->not online
I install the project from the setup.exe, but when i launch it, nothing happens. No error message, no windows popping, nothing.
How can i fix that or check what's wrong ?

Related

Could not find GeneratedMSBuildEditorConfig.editorconfig during React Native for Windows setup

I am trying to set up my first React Native for Windows project. I followed the steps in this document to install React Native for Windows. I navigated to the location I wanted my new project to be and then used the command
npx react-native init ProjectName
Then I navigated to the new folder ProjectName and used the command
npx react-native-windows-init --language cs --overwrite
After all that finished, I located the Visual Studio solution found inside ProjectName/windows and opened it in Visual Studio 2022. I set it to Debug x64 and tried to run the solution. However, I got the following error:
Could not find a part of the path '[PATH]\ProjectName\node_modules\react-native-windows\Microsoft.ReactNative.Managed.CodeGen\build\x64\Debug\Microsoft.ReactNative.Managed.CodeGen\netcoreapp3.1\win-x64\Microsoft.ReactNative.Managed.CodeGen.GeneratedMSBuildEditorConfig.editorconfig'.
I checked the location indicated, and the .editorconfig file is there, so I don't know why it can't find it, much less what the file is or why it is needed. I ran a search on the project folder and the only reference to this file I could find was in an FileListAbsolute.txt file, so I don't even know where Visual Studio is getting a reference to it. If I do a clean and rebuild on the solution, the build finishes successfully. But if I try to build the solution following that rebuild, or if I simply try to run the solution (regardless of whether I cleaned the solution first), I always get the above error. I've tried searching online for the error, but nothing I find ever has anything to do with my problem.
Why am I getting this error, and how do I resolve it?
I had the same issue and I think, this has to do with VS 2022 only supporting .NET v6+.
So I reinstalled VS 2019, opened the solution in there, set it to x64 and it rebuilt just fine.
Then I could start the project with yarn windows or react-native run-windows respectively.

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.

'Could not find method generalImplementation() for arguments [com.google.android.gms:play-services-vision:17.0.2] '

I tried to run react-native run-android on a project made by a developer (who I do not have contact anymore), but the build fails with the following output:
When i check my android studio graddle build it has the same error.
How can i fix it?
By the way that problem would occur when i am using react-native-camera on windows
you can see error when clicked the link.
https://i.udemycdn.com/redactor/raw/2019-05-15_13-37-20-e3157e54d193712a8490760e2c92ca83.png

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