Web Connection
vs 2015 Foxpro code link
Gravatar is a globally recognized avatar based on your email address. vs 2015 Foxpro code link
  BrianWg
  All
  Feb 10, 2017 @ 10:47am

In vs 2015 if I open the entire web site at Project level (so to include the data/deploy and web folders) and then open a page and click the "show foxpro code" I get and error "The parameter is incorrect (Exception from HRESUILT: 0x80070057 (E_INVALIDARG))"

If I open web site at the Web folder it works Ok - but I cannot see the other folders

How can I get it working when i open at project level>

Gravatar is a globally recognized avatar based on your email address. re: vs 2015 Foxpro code link
  Rick Strahl
  BrianWg
  Feb 10, 2017 @ 12:41pm

Hi Brian,

You can open it at the root but if you do you can't launch the application and the addin won't work because it uses the project's path as the base folder. IOW, opening at the root will be pretty useless overall as you get none of the benefits beyond editing in your project and even that will be sketchy because all the relative paths will be off. If you open at the root VS doesn't recognize it as a Web project and can't run the site. So if you plan on running the project you need to open it at the Web root.

The reason for this is simple - you are opening a Web Site in Visual Studio and if you open at the root you're not at the Web site level.

If you want full project view and be able to edit everything maybe open an explorer window and leave it open or an editor like Sublime Text or Visual Studio Code and keep it running in the background.

+++ Rick ---

© 1996-2024