skaterdav85 Posted November 20, 2010 Share Posted November 20, 2010 I have to make a few modifications to an existing ASP.NET site. I'm making changes in one of the C# files but when I click on the project root and select "View in Browser", none of the changes are reflected. I can even type in invalid code in the C# file and it still runs. Do I need to restart the server or something every time i change the code behind files? If so, how do I do this?Also, every time i close VS, it says: "Do you want to save changes to MyProjectName.sln?". What does that mean? Link to comment Share on other sites More sharing options...
End User Posted November 20, 2010 Share Posted November 20, 2010 If you're making HTML edits it could be browser caching, but I'd bet that it's not actually saving the changes, perhaps due to a permissions issue. If you FTP the file down and look at it, are the changes actually present in the file? I'm not familiar with VS, so I may be way off base. Link to comment Share on other sites More sharing options...
skaterdav85 Posted November 22, 2010 Author Share Posted November 22, 2010 Well I am just developing in a local environment so no need for FTP. I deleted all my history and it still works fine even when type garbage into the C# file. Any other suggestions? Link to comment Share on other sites More sharing options...
skaterdav85 Posted November 22, 2010 Author Share Posted November 22, 2010 Ok I figured it out. Apparently I was missing designer files and one other class file from my SVN import and i clicked 'open web site' instead of the ProjectName.csproj file to load it into Visual Studio. Not really sure what the difference is but apparently that is how you're supposed to open an asp.net application in VS. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.