MVC Projects upload on server and IIS6 without publish [closed] - asp.net-mvc

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
I have a MVC project. I am not interesting a publishing my project. because after publishing it creates a single Dll. that times i am not able to change code of a particular page.
I want to direct upload a files or folders of MVC projects. Can It possible. if possibles, please explain me..
Regards,
Bharat Gupta

You can't. IIS is not a compiler and cannot compile your source files. It can, however, understand a DLL. When you publish your project, only the source code files (for example .cs) will be compiled and packed in the DLL. All other resources, such as scripts, images and even views, are shipped as is. You can only make changes within these files. This means that after publishing you can change your JavaScript code, or CSS styles or even "Razor code" inside your views (e.g. ".cshtml"), but you cannot change the code inside controllers.

Related

BC2008 - No input sources specified [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have downloaded web project source code from github.I am using VS2015 enterprise edition and when build the project it throws below two errors.
The source code is in vb.It always throws error and due to that I could not modify existing source code.
BC2008 - No input sources specified
BC2011 - BC2011 unable to open response file 'C:\Windows\System32\config\systemprofile\AppData\Local\Temp\tmp96de1e2bc3d24b21b1987021ee3aa247.rsp'
I have uninstalled and reinstall VS2015 and it resolved this error.

Debug application without recompile [closed]

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
In an earlier version of delphi (2007/2009) I found a way to debug the application without recompiling.
But I can't find it in XE5:(
I often find my self in need of restart debugging to debug a condition that only appears on application load.
So avoiding an unnecessary compile would be a great time saver.
Best regards
Ove B-)
I am not sure if this is what you need, but you can debug an application without having delphi trying to recompile it by following these steps:
launch the application outside of the debugger (with "run without debugging" or by executing it from windows)
attach the debugger to the already running instance you just created by using the delphi menu item "Run->Attach to process..."
Edit: a little error i made: you actually have to launch your program from windows: using the "Run without debugging" option from the IDE will make delphi try to recompile the project.

Installshield: Setting the Installdir to an environment variable [closed]

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 9 years ago.
Improve this question
EDIT:
NO LONGER RELEVANT. Due to difficulties with Installshield including not only this issue but also issues with getting it to build with the project in Visual Studio and its inability to replace one of the old files that needs to be replaced I am now coding an installer in C#. I should have done this earlier because I'd be done by now. Thank you Christopher Painter and Michael Urman for trying to guide me though this issue. Unfortunately I did not get anywhere further with it.
ORIGINAL POST BELOW
Honestly, this has been like pulling teeth. I hope that I'm missing something blatantly obvious. I have been trying to get Installshield to let me set the INSTALLDIR to an environmental variable. This is necessary because of the way the company does things. I know I can set it outside of the installer via a batch file which calls the MSI and passes the folder via an argument, but that solution ended up with an unfriendly MSI. If anyone has any internal solutions please let me know.
Windows Installer has the Environment table that is exposed by InstallShield in the environment view and component | advanced settings | environment view.
Setting Environment Variables
Windows Installer allows you to refer to environment variables using a variant of property notation. I would suggest an approach similar to RobertDickau's, where you use a set-property custom action early to set INSTALLDIR from [%SOMEVAR]. Only run the custom action if INSTALLDIR isn't already defined, so that people can override INSTALLDIR at the command line. Note that this must be run before costing, or you will have to find a different condition and use a set-directory action (like Robert mentions) instead.

How can I compile a report showing all used licenses with Ant? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently using Ant and Maven in different projects. To be compliant with some regulations, I'm in charge of listing all licenses used in each project.
With Maven, it is easy, as the Maven Project Info Reports Plugin generates such a report automatically.
As I'm not fond of searching licenses for all my JARs I'm using in the projects, I would like to know if there's a plugin for Ant, performing this task.
Thanks in advance!
Since this question hasn't got any hints, pointers or even answers, I hacked a solution by myself: license-report at github
The license-report is an Ant task which determines a license for most jar files. Currently, it searches in the following files for information:
META-INF/MANIFEST.MF
META-INF/LICENSE
LICENSE.txt
LICENSE
license/LICENSE.txt
license/LICENSE
These files are found in several common Open Source/Free Software libraries. Some libraries don't provide any information on their license (e.g. Spring framework).
For these libraries, the task does not find any information.
I will update the project as soon as possible that it prints out a nice xml and html report about the found licenses. Documentation and How To will follow, too.
I'm currently working on a demo project using this Ant task.
The demo project now creates an XML file with all library information. Just start it (with installed Ant) via ant build.xml in the root folder of license-report-demo. It prints out the location of the generated XML file. I will also include an XSLT to transform the XML into a nice HTML report. This will come in several days I think.
I create an XML file for further processing (e.g. CI systems like Hudson/Jenkins). This will help to generate a list of all licenses across projects in a central system.

Godaddy with Open XML SDK [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am trying to load the Open XML SDK library in my webpage on Godaddy.
I am not able to load the dll properly.
I asked the technical support, but all they said is create a folder in their IIS setting and something about "ASP.NET application DLLs" which I don't get.
I think this library should be ok since it just manipulates XML files.
The error I'm getting is:
CS0246: The type or namespace name 'DocumentFormat' could not be found (are you missing a using directive or an assembly reference?)
When you download the Open XML SDK 2.0 from here, it will give you a dll that you will need to include in order to use the DocumentFormat namespace. The specific dll is called DocumentFormat.OpenXml.dll and you should copy that dll into the folders the support person told you to create. You will also need to reference that dll in your project in order to use it. Once you do that the specific error message you are seeing will go away.
I was able to solve the error by using the tick box "Create Application Root".
Note that the application created using the IIS manager on GoDaddy should be the same name as the application created on GoDaddy using the FTP.
This was answered using GoDaddy support.
The only time I have seen that error is when you are trying to install .MSI files on shared hosting. To have access to that ability, you will need a virtual dedicated (http://x.co/b7Si) or dedicated server (http://x.co/b7Sk).

Resources