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 days ago.
Improve this question
I want to organize my app's files because it's honestly just messy having to keep every DLL in one folder, and if I make a self contained app I end up with 200+ DLLs mixed in with the executable which is just completely unacceptable.
I want to layout the files kind of like this
-dotnet (folder for dotnet DLLs, if it's a self contained app)
-mylibraries (folder for any of my own DLLs being used)
-App.dll
-App.exe
I have tried using a config file to specify a probing path or a code base, neither made a difference. I also tried using PrettyBin but I couldn't figure out how to use it.
Related
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 2 years ago.
Improve this question
I have three ASP.NET MVC Projects. before I use one single Directory to manage documents/files, and all projects can access from that source, but now I have to store files in particular projects (under App_Data) and have to access from other projects.
My question is, how can I manage this?
Linking files in Visual Studio could perhaps be a solution to your problem.
https://jeremybytes.blogspot.com/2019/07/linking-files-in-visual-studio.html
I used it myself the other day where I needed a single .csv file available in multiple projects.
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 4 years ago.
Improve this question
I am a student and I am during my final project.
In my project I give an option to edit code and run it. The problem is, that I do not know how to create a new exe file after changing the code.
I would be happy if you can help me !!!
Thank you very much!
You can compile code into assemblies and then execute them as such.
This example should cover what I mean:
https://csharp.hotexamples.com/examples/System.CodeDom.Compiler/CodeDomProvider/CompileAssemblyFromFile/php-codedomprovider-compileassemblyfromfile-method-examples.html
You can access the compiled assembly from CompiledResults and run it directly in the current AppDomain like a script of some sorts or you can store it to an .exe
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
Here is a question not about code but about patterns. I'm developing a .Net application that needs to use three files in order to work properly.
File 1: Has the app settings created by a configuration form
File 2: Binary file that contains a set of serialized objects used as a playbook that the application follows in order to realize sequential tasks.
File 3: A sqlite database used as a record cache that the application updates on every start
Now my question is about file location, where to put this files? On Program Files or AppData inside the users's Documents And Settings.
Thanks in advance.
AppData should always be preferred, since it requires less permissions (you might need Administrator permissions to create / updated files in Program Files).
Also it depends whether data should be personalized or global for all users. Take a look at this post
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 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 8 years ago.
Improve this question
We can have multiple web.config files in asp.net application.
What are the advantages of having multiple web.config files?
Please any one give a better solution for this question..
web.confing apply it's settings to all application if it is at root and only one web.config is present. but suppose there is one additional web.config in any particular folder then it's settings will affect only that particular folder and subfolders of that folder. Files on root folder will refer only web.config at root.