Visual Studio 2015 - Adding virtual directory not possible

后端 未结 4 1326
难免孤独
难免孤独 2020-12-09 00:06

we are running some of our sites as Web Site projects in Visual Studio. We recently upgraded to VS2015. Now we can\'t add virtual directories to new websites.

We alr

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-09 00:36

    Neither of the answers above worked for me, I am still not sure why this works but here is what I did:

    Modify the Applicationhost.config file that resides in the project:

    Originally it looked like this:

    
        
            
        
    
        
            
        
    
    

    I had to add another application path entry:

    
        
    
    

    So it ends up looking like this:

    
        
            
        
    
        
            
        
    
        
            
        
    
    

提交回复
热议问题