Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • C Andreasson 79 posts 207 karma points
    Oct 02, 2014 @ 09:54
    C Andreasson
    0

    Project installed in Visual studio

    Hi

    I have a project v.7.1.6 installed in VS

    When I create in the settings sektion  a template in Umbraco (.cshtml).

    I do not see the template in the view-folder in Visual Studio.??

     

    Can I only see my View when I create a model - view - controller in Visual Studio.

  • Andy Butland 422 posts 2334 karma points MVP 4x hq c-trib
    Oct 02, 2014 @ 10:22
    Andy Butland
    100

    Assuming you have a web applicaiton project, you'll need to add the file to your solution in order to see it in Visual Studio.  Click "Show All Files" in Solution Explorer and then look in the views folder.  You'll see it now.  Right-click on it and choose "Include In Project".

    Andy

  • Steve Morgan 1349 posts 4458 karma points c-trib
    Oct 02, 2014 @ 10:27
    Steve Morgan
    1

    Visual Studio is a bit lazy reloading - you have to stop debugging and click the refresh button in the solution explorer to see your new template. Also ensure you've got the Show All Files button clicked. 

    Update - Andy beat me to it - had the window open without refreshing it!

  • C Andreasson 79 posts 207 karma points
    Oct 02, 2014 @ 10:51
    C Andreasson
    0

    Thank you. 

    I see it now in Solution Explore view folder ;-)

     

Please Sign in or register to post replies

Write your reply to:

Draft