Questions tagged [bin-folder]

18 questions
5
votes
2 answers

How do I load a file from bin folder in ASP.NET in medium trust

I need to load an xML file from the bin folder in ASP.NET (MVC, not that it would count). I can't get the bin folder path nor load the file otherwise.. I need to feed the following method : using(var file = System.IO.File.OpenRead(/* something…
Andrei Rînea
  • 20,288
  • 17
  • 117
  • 166
5
votes
2 answers

Error 404 on /bin browsing

I run IIS 7.5 on Windows Server 2008 R2. I'm getting a 404: file not found error when I browse the "/bin" folder. I understand that this is a security policy by Microsoft. I tried doing what is written in here but it didn't solve the issue. Any…
user1251654
  • 1,097
  • 4
  • 13
  • 21
2
votes
1 answer

SharePoint, to GAC, or not to GAC?

It's clear from these questions When and when-not to install into the GAC? What are the advantages and disadvantages of using the GAC? To GAC, or not to GAC? that it is not recommended to deploy assemblies to GAC as explained. So, I'm wondering why…
Ahmed Atia
  • 17,848
  • 25
  • 91
  • 133
2
votes
2 answers

How to move third party dlls from bin folder to another folder in ASP.NET Web Forms project?

There are some third party dlls in Bin folder. I would like to move them to root/lib path. I think, it is not enough move the files to lib folder. How can i do this, safely? These are…
Ceylan B.
  • 564
  • 9
  • 23
1
vote
2 answers

Can you link compiled dll's in bin folder to cs files in bin folder?

I have a website project in VS2010 with a bin folder containing compiled dll's and corresponding code files(CS). I use the command line compiler to compile the dll's. Is there a way to link the code files to the dll's? IE When I open a code file and…
1
vote
1 answer

How to reference external assemblies from an ASP.NET web site

I need to reference external assemblies from a dozen asp.net web sites. These assemblies won't be in the GAC, but will be located in a location relative to the web site ("..\..\dlls\release"). From what I understand, Visual studio doesn't have an…
Lilith River
  • 16,204
  • 2
  • 44
  • 76
1
vote
1 answer

Unable to copy file obj\Debug to bin\Debug Access to the path bin\Debug\ is denied

I created simple wpf application (WpfApp1). I run it and everything was working fine. Then I tried to rebuild the solution and I received an error. Error: Unable to copy file "obj\Debug\WpfApp1.exe" to "bin\Debug\WpfApp1.exe". Access to the path…
1
vote
2 answers

How Load View Files from bin Folder in Asp.net MVC

i work on asp.net mvc project and i transfer some view files to other project and enable "copy always" for them (to copy in bin folder of main project). i create a custom view engine : public class CMSViewEngine : WebFormViewEngine { …
Mahdi Radi
  • 429
  • 2
  • 10
  • 30
1
vote
0 answers

How to make an executable command like 'ls'

i am new to linux and is fascinated how the command in the linux works. i want to make my own command to do such things. like call my command 'info' that gives me information about the files.
1
vote
0 answers

Disappearing Ajaxmin.dll file

I've been using Ajax controls for over a year in my asp.net project. Recently I suddenly started getting the error "Could not load file or assembly 'AjaxMin, Version=4.97.4951.28478" when I ran the project. After some investigation I discovered…
Jo G
  • 65
  • 9
1
vote
1 answer

How can I avoid publishing the library folder in a Web Publish?

I have moved binary files into the project under the bin folder to avoid publishing the same binary files twice since one of the binaries is huge; i.e. 15MB. This was originally in a separate Includes folder. So the files were being copied twice to…
Richard Ruge
  • 83
  • 1
  • 9
0
votes
1 answer

Referencing Sharepoint 2010 bin folder

I have added a resource to my WebApplication's bin folder the following way: http://girishm.blog.com/2010/10/19/how-to-add-assemblies-into-gac-web-applications-bin-folder-using-wsps-created-using-visual-studio-2010s-sharepoint-projects-2/ Now all I…
Nicolai Dahl
  • 259
  • 3
  • 9
0
votes
1 answer

How do I make sublime text 3 editor recognize python 3?

I've watched videos on how to work with python3 within sublime text editor. I went through a series of steps to add a python 3 build system: In Sublime: 1 - Went to tools in the menu bar 2- selected Build System 3 - New Build System - This step…
0
votes
1 answer

Restore .cs files from debug folder generated for a ASP.NET Core application

I have been programming an ASP.NET Core application for the last couples of weeks. Just a "small project" to put on my resume so I can get my first job. But today when I tried to upload it to Github I somehow deleted all the .cs files which really…
Christian
  • 75
  • 1
  • 6
0
votes
1 answer

Publish WebService with different bin folder

I created a WebService in Visual-Studio. When right-clicking -> publish, I can choose target folder. After that, when finally hitting publish again, he creates 3 files within that folder: global.asax web.config bin-folder In this bin folder, he…
Sam
  • 145
  • 1
  • 1
  • 12
1
2