Where does Visual Studio 2008 save the list of Additional Include Directories? - directory

Where does Visual Studio 2008 save the list of Additional Include Directories? I looked in the .vcproj file and it has an "Additional Include Directories" line in the file (XML), but changing it here does NOT change when I load the solution file (.sln) and I need to make sure this gets documented when I release the software.

Related

Web Essentials Ignoring .weignore file

I've set up Visual Studio 2013 solution which contains a web application with an Umbraco website, and is using Web Essentials 2013.
The solution has it's own WebEssentials-Settings.json (probably not relevant), and also a .weignore file in the solution directory. The web app is in a sub-directory of the solution.
The problem I have is that the .weignore file seems to itself be ignored...! Web Essentials is minifying javascript files which are part of Umbraco itself and should be excluded from all Web Essentials actions.
The .weignore file has the following contents:
# Exclude files in the Umbraco directories
**/umbraco/**
**/umbraco_client/**
# Excude files which already have minified versions managed by NuGet
**/scripts/jquery-1.**
**/scripts/respond.**
So far I've tried:
creating a .weignore file in the web app directory, using the standard template from SideWaffle.
Adding a line break at the end of the .weignore file (I found a report that if this wasn't present it caused problems).
Adding a tab to the end of each line (this looks to be needed from the source code, though it isn't mentioned in the documentation).
Nothing has made any difference. What am I doing wrong?

Visual Studio 2012 - Generate .dll.refresh files?

We recently started using Visual Studio 2012. We are also using third party ASP.NET controls from DevExpress. We are also using Team Foundation Server 2012.
For simplicity let's say the folder structure looks something like this:
C:\Tfs\Main\Components
C:\Tfs\Main\WebSite
In the past, when we added a reference to a third party DLL, the procedure was:
Add the actual DLLs to the /Components folder
Add *.dll.refresh files to the /WebSite/bin folder
I am trying to do that in Visual Studio 2012, however ...
Each time I select 'Add Reference' and Browse (I am actually browsing to the DLL file ... not selecting another Project) to the /Components folders -
(1) The DevExpress components appear to be added as GAC type references
(2) The DLLs are not copied to the /bin folder
(3) No .dll.refresh files are being created
The problem is ... when I check-in and another Developer does a 'get latest', if he doesn't have DevExpress installed then this will cause a problem.
So what am I missing?
Why won't Visual Studio 2012 create the .dll.refresh files in the /bin folder for me?
Thank you,
Glen J Fergo
Make your dll's solution items and reference them from there.

MVC: Visual Studio Publish Web dialog cannot find my application's Views

I am using these steps to publish my ASP.NET MVC 4 application using Visual Studio 2010 on IIS 7.5 running on a 64-bit Windows 7 Professional machine.
When I click the Publish button on the wizard after entering the values, it reports a single error that reads:
Copying file Views\Shared\Error.cshtml
to obj\Debug\Package\PackageTmp\Views\Shared\Error.cshtml failed.
Could not find file 'Views\Shared\Error.cshtml'.
I looked into the target folder where the wizard dumps the necessary files that will be needed to deploy the application. It turns out that the folder had the Views folder which had only the _ViewStart.cshtml of the root Views folder, but no other View. My application has at least 20 views, perhaps more.
I realized that it was my fault. The local copy of my project had the file Error.cshtml in the Views\Shared folder. However, the TFS copy of the project file did not. Apparently, the file had been excluded from the project at some stage.
I excluded the file from my project locally and ran the build and it worked.
In my case the problem was that the file was in the solution but didn't actually exist on the local file system.
For me, this problem occurred when I moved a file (via explorer) from the shared folder to another folder.
I added the file in visual studio, but did not "delete" the file from the shared folder (as far as visual studio was concerned).
For some reason, visual studio did not put a little flag or warning sign to tell me the expected file was missing (even after a refresh), so I didn't notice (although trying to open the missing file revealed the problem).
The error message is clear, and self explanatory. I just couldn't understand it for some reason.

Including links to external resources in Visual Studio 2010 Web project

I have a ASP.NET project which relies upon the FreeImage .NET wrapper. This is loaded using a reference to a external directory. The wrapper relies upon the FreeImage.dll being present to work (clearly).
How do I get Visual Studio to include a reference to the FreeImage dll. It's not a .NET assembly, i think it was built in something else (so I can't add it as a reference).
I don't really want to have a copy for this project as these files reside in a different SVN repository
Add a pre-build macro/script to copy the file across each time you build. There's no way to add a symbolic link into a visstudio afaik.
I am assuming the .dll was built using a .NET supported language like C#.
You can just right click over the site and select 'Add Reference'.
Browse to the .dll you are looking for and then click 'Ok' to add it.
It should add a .refresh file to your site and the dll. The .refresh file is what is checked into your source control letting the site know the relative location of the .dll to the site.

how can I create the solution file for already existing visual studio 2003 web project

I have one visual studio 2003 web project, I got this project form my friend, and how can I run this application in visual studio 2003.Becuse now I don't have a solution file for this application. In my system I don't have administrative access.
Create a new solution (empty) and import all the existing files you got.
You don't need to be administrator. Just create an empty solution file (1 directory level above the project is convenient).
Then use "Add existing Items" and multi-select all files you want to add. You can do this in several steps. Add references that are missing.

Resources