Windows 10: Visual studio Resource files are being stored as string

Discus and support Visual studio Resource files are being stored as string in Windows 10 Software and Apps to solve the problem; I updated to vs2022. In the old vs, i was able to add a resource file through project properties. The set up was almost automatic. And when I needed... Discussion in 'Windows 10 Software and Apps' started by victormarcano1, Oct 13, 2024.

  1. Visual studio Resource files are being stored as string


    I updated to vs2022. In the old vs, i was able to add a resource file through project properties. The set up was almost automatic. And when I needed the resource file I just call it using My.resource.etc and get a byte stream.Now, i can't add it through the project properties. I use the 'add new item', then, instead of adding a class file i add a resource file. However, the files i save doesn't save as a byte object. It saves as a string. Even files like PDFs. I tried going into the properties of the resource file and change the type, but that didn't work. Any help is appreciated.

    :)
     
    victormarcano1, Oct 13, 2024
    #1
  2. agpfrick Win User

    Can't Run Installer for Visual Studio 2017

    Hello,

    I want to install Visual Studio 2017 but the installer doesn't seem working. If I run it, nothing happens.

    If I run

    Code:
    vs_installershell.exe -version
    in Visual Studio installer folder, it returns this error:

    Code:
    TypeError: Path must be a string. Received undefined
    
        at assertPath (path.js:28:11)
    
        at Object.join (path.js:501:7)
    
        at createLogger (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:7977)
    
        at Object.getLogger (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:8818)
    
        at Object.defineProperty.value (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:665260)
    
        at __webpack_require__ (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:128)
    
        at Object.<anonymous> (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:665562)
    
        at __webpack_require__ (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:128)
    
        at Object.defineProperty.value (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:277114)
    
        at __webpack_require__ (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:128)
    I want to report this to VS team but it seems there's no way to submit my report without VS or its installer, which neither I can run now (which is ridiculous).

    Thank you in advance,
     
    agpfrick, Oct 13, 2024
    #2
  3. Brink Win User
    Supporting JUnit 5 in Visual Studio Code


    Source: Supporting JUnit 5 in Visual Studio Code | The Visual Studio Blog
     
    Brink, Oct 13, 2024
    #3
  4. Amol S. Win User

    Visual studio Resource files are being stored as string

    Visual Studio (.NET Framework)

    Do you still have the Visual Studio Installer or Visual Studio Manager still installed?

    If you have it still installed and it opens up correctly, you could try removing all additional packages that are installed, and try reinstalling them again. It could have been a corruption issue relating to package extensions that you may have installed
    into Visual Studio 2017 Community Edition. If that does not work, go to apps in settings, and select Visual Studio 2017 Community Edition and select repair. If that does not work, you could try going to TechNet, and asking there for help. It could be a
    bug with the current version of the .NET Framework 48 or with the recent version of Visual Studio 2017 Community Edition.

    If you can not find Visual Studio Installer or Visual Studio Manager, unfortunately in this situation the only thing I can think of is if you still have the installation file that you downloaded from the Visual Studio website. If you can't find that, then
    I suggest that you download Visual Studio 2019 Community Edition, since the 2017 Community edition is not given for free anymore unless you have some sort of subscription. However, I suggest that you still check with TechNet before taking this step.
     
    Amol S., Oct 13, 2024
    #4
Thema:

Visual studio Resource files are being stored as string

Loading...
  1. Visual studio Resource files are being stored as string - Similar Threads - Visual studio Resource

  2. Visual studio Resource files are being stored as string

    in Windows 10 Gaming
    Visual studio Resource files are being stored as string: I updated to vs2022. In the old vs, i was able to add a resource file through project properties. The set up was almost automatic. And when I needed the resource file I just call it using My.resource.etc and get a byte stream.Now, i can't add it through the project...
  3. Visual studio

    in Windows 10 Software and Apps
    Visual studio: Hello,Why does Microsoft warn against downloading Visual Studio on a Windows 7 professional system, and what about the near unreachable options in the Microsoft Visual Studio installer ?Thank you...
  4. Visual Studio 2022 Not Being able to start

    in Windows 10 Network and Sharing
    Visual Studio 2022 Not Being able to start: I recently have Visual Studio 2022 installed and had used it for approximately 2 weeks. Today in all of a sudden when I tried to start Visual Studio, it showed up a error and told me to go look at the ActivityLog.xml:http://www.w3.org/1999/XSL/Transform" id="stylesheet"...
  5. Visual Studio

    in Windows 10 Gaming
    Visual Studio: Dear MS supportMy customer has a Visual Studio 2015 stand alone license on a Windows Server. We need to update the Windows Server to newer OS. I think we can not transfer the license to a new server. Therefore I think we need to purchase a new license for Visual Studio 2015?...
  6. Visual Studio

    in Windows 10 Software and Apps
    Visual Studio: Dear MS supportMy customer has a Visual Studio 2015 stand alone license on a Windows Server. We need to update the Windows Server to newer OS. I think we can not transfer the license to a new server. Therefore I think we need to purchase a new license for Visual Studio 2015?...
  7. Visual Studio

    in AntiVirus, Firewalls and System Security
    Visual Studio: Hello is visual studio a virus? Someone said that its a virus, and also he said its made by Microsoft. So is it a virus?... https://answers.microsoft.com/en-us/protect/forum/all/visual-studio/b36cdc26-644b-468d-a4bf-d966c62f1d63
  8. visual studio

    in Windows 10 Installation and Upgrade
    visual studio: I had major problems with screen flickering. Not device manager so I began uninstalling apps. Then reinstalling. All of a sudden after weeks the flickering is gone and I do not know what caused it. I have no idea what Visual Studio is, but I uninstalled a few versions,...
  9. Visual studio

    in Windows 10 Installation and Upgrade
    Visual studio: Hi, BACKGROUND: I am downloading visual studio onto a new PC I've had for a couple of months, I had downloaded VS on a previous PC before. The hard drive of the PC on which I want to download has been corrupted before and I've had couple of issues with the PC before as...
  10. Visual studio

    in AntiVirus, Firewalls and System Security
    Visual studio: visual studio code is not downloading in my windows 10 with 64 bit , 'This site can't be reached' comes in result . What should I do to download it ? here is the URL...