Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
For our production server we do not actually copy over the Visual Studio .sln file so I can't "launch" the site for debugging from our production server. In a totally different application I am launching an .aspx page and attempting to pass variables from the source program to my .aspx page. W/O the .sln file from Visual Studio being copied over how can I debug and step through my syntax to see if the variables are actually being passed?
It's a production environment. No development and/or debugging tools shoud ever be installed into a production environment.
What you want to do is:
Test your code properly.
Add logging.
In case of an issue encountered in the production environment, inspect log files.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 months ago.
The community is reviewing whether to reopen this question as of 7 months ago.
Improve this question
In my local host the project runs fine without any error but when I have deployed the project to the Server there is an issue with one of the assembly files.
The error thrown is :
Could not load file or assembly 'System.Linq.Dynamic.Core, Version=1.2.6.0'. The system cannot find the file specified.
The error is providing you the information you need. The assembly of
System.Linq.Dynamic.Core
was not found, the file is missing. So, if you use a package manager, like NuGet, then you can make sure that the given assembly is properly deployed.
If you do this by hand, then you can find the file on your local computer (where it works), upload it to the server at the appropriate location.
But it's better to manage this automatically, because then you have a more stable deployment phase even for the case when you start working on a new server, etc.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I just have written a code in C# its a web browser using Visual Studio 2015
How do i make it compiled to .exe file and etc, like chrome mozilla etc.
Help appriciated.
Assuming you set up your project correctly in VS, it's Ctrl-Shft-B to compile. The exe / dll files should end up wherever specified by your Build Output directory. To learn about/change this see Change Build Output Directory.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am changing the DEBUG MODE to FALSE in web config. Should I rebuild my project after changing DEBUG?
Note: We have many bins. In order to avoid replacing bins in online I am asking this question.
No. You don't have to rebuild, the config file will be read as is as long as it's saved.
If you're talking about <compilation debug="true">, no, you don't need to rebuild your solution/project.
This is about ASP.NET compilation rather than your regular project compilation. Whenever an ASP.NET application is started, unless it has been published precompiling it, ASP.NET engine will compile your user controls, code-behind code and other areas of your Web application during the first request to your Web site.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was recently given the source files for a Web Forms applications. All the files, folders, ASPX, XML, cs and other source code files were present. Except, there were no Visual Studio solution or project files.
Just the source files.
I was asked to modify and test the application with a text editor (notepad) and use IIS 7.0 to build and test the application.
How is this possible?
There are 2 methods of website creation in Visual Studio, Web Application and Web Site. Refer to this link.
For your case, the project must be created using the Web Site method. This allows the site to be compiled on-the-fly, so you can just edit the source code with a text editor.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
this is might be really weird, but I have no idea what kinda wizardry of this. Basically, my Visual Studio stopped responding to my changes, it stopped building solution. I can comment code, which would completely ruin the logic of program, and Visual Studio will still run program that I guess it has in memory. It's really annoying, and I have no idea what it is. I keep restarting software, but it's still does the same. It's a licensed software. I was wondering If someone knew what was going on. Thanks!
I've seen this a few times, and usually one of or a combination of the following will work:
Clean the solution, then build it.
Change the from "Release" to Debug (or vice-cversa) then clean and build, then revert back.
Close visual studio and manually delete everything in the \bin directory
For an asp.net website, close visual studio and delete the files in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files (Path will vary depending on your machine setup This is where my ASP.NET versino 4 files are compiled to.)