When I debug a page of my Silverlight project in VS2010 it sends the browser to file:///C:/Users/Chris/Documents/Visual Studio 2010/Projects/Growing/Growing/Bin/Debug
rather than http://localhost/
. Does anyone know what happened with this? I don't remember changing any kind of settings for that and have no idea where to change it back.
相关问题
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- Visual Studio 2019 - error MSB8020: The build tool
- 'System.Threading.ThreadAbortException' in
- Visual Studio 2010 randomly says the command line
相关文章
- How to show location of errors, references to memb
- Log4Net Multiple Projects
- How to track MongoDB requests from a console appli
- Compiling error in C++ project with C and C++ code
- Visual Studio Hangs on Loading UI Library
- How to use Mercurial from Visual Studio 2010?
- VSIX: execute code on VS startup
- Copy different file to output directory for releas
I am assuming there was a web project created for you to host the Silverlight app, is this correct? If so, it's possible you accidentally set the Silverlight project as the startup project rather than the Web project. If you are running it out of IIS you should be able to navigate to it with your browser and see your application. Otherwise the built in web server in VS should launch.
Take a look at the settings in your Web.csproj file. If you open it in notepad (or unload it within the solution and right click, edit...), you should be able to see VisualStudio settings. My guess is that you may need to update those settings.
Here are the settings for one of my SL projects that runs from the localhost.