locked
Why new .css file saved not appear in Solution folder ? RRS feed

  • Question

  • User-775831949 posted

    I use text editor to add a new .ccs file inside \Content of my project folder.

    Then I goto VS2017 Solution Explorer and click refresh. This .CSS file does not appear.

    How to ask VS2017 to include it so I can use within VS ?

    Thanks

    Sunday, March 26, 2017 9:52 AM

All replies

  • User-832373396 posted

    Hi hkbeer ,

    I suggest that you could click and select to display all file in VS.

    Here is the screenshot with VS2017:

    Then right -click to include it.

    Best regards,

    Jolie

    Sunday, March 26, 2017 1:41 PM
  • User2103319870 posted

    use text editor to add a new .ccs file inside \Content of my project folder.Then I goto VS2017 Solution Explorer and click refresh. This .CSS file does not appear.

    How to ask VS2017 to include it so I can use within VS?

    Another option is to use Adding Existing option in Visual Studio IDE. Try the following steps 

    1) You can Right Click on Content folder -> Select Add -> Existing Item -> Select the Folder path and addl the files to solution

    You can Right Click on App_Themes folder -> Select Add -> Existing Item -> Select the Folder path and addl the files to solution

    Sunday, March 26, 2017 4:40 PM