Installing a Library (dotless) - asp.net

Trying to install http://www.dotlesscss.org/ to my project and I'm a bit stuck on step 2
Include our reference to your web project
where do I put these files and how do I include this "reference"?

Right click on the References in the solution explorer and select Add Reference...:
then in the Add Reference dialog select the Browse tab and point to the location of the dotless.Core.dll assembly which you extracted from the .zip file you downloaded in step 1.

Related

Problematic References after Get Latest Version

I check in a project that builds & runs fine on one computer, and then "Get Latest Version" from another. When I build & run on the second computer, I get errors like:
Could not load file or assembly 'System.Web.Cors, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
I've fixed this once by removing & adding back all references, but I can't be doing this every time I change setups. Why is it not pulling a complete project definition from version control?
If I delete all the files and download from TFS from scratch, on build the packages don't restore. If I run Update-Package, then I get the error: The given key was not present in the dictionary. Not sure what's causing that.
Update
Here's an example of the issue: I have Newtonsoft included via nuget, and it appears in the References list, but I'm being told it Cannot resolve symbol Newtonsoft, as per image below.
If you work with one XAML build definition, there are some steps (described here) you need to follow in order to have these NuGet packages restored during the VSO (TFS) build process.
Add following items to the solution. (Content of the nuget.config and .tfignore file can be found here)
Add one build.proj file under the root path of the solution folder. (Content of the build.proj file can be found here)
Create one folder named tools under the root path of the solution folder. Create NuGet sub-folder under tools folder, download and save nuget.exe under tools\NuGet path.
Check in nuget.config, .tfignore, build.proj and tools\NuGet\nuget.exe into TFS version control.
Modify the build definition to choose to build the build.proj file.
Then you will have NuGet packages restored successfully during the TFS build process.

Qt renaming path of the project

sometimes when I rename the path to a qt project, it cannot be run even though I clean qmake and rebuild it!!! the path does not contain any space. and the project is completely correct and I know that the error is for path renaming , for example when I rename :
D:/abd/projects/LAND_2/Land_QT/...
to
D:/abd/projects/LAND_2/Land2_QT_SA/...
it cannot be build and says that some include file is missing(but the file is there!).
what is the problem?
I work with dynamic qt5.2 on windows 7.
Edit:
when I copy the project folder to a new directory( a path upper than current path) then the project can be build and run.
When you rename the path to the project, go to the project folder and delete the file with .pro.user extension. Open the project and Qt will ask you to configure the project. Choose the required kit, build and run the project.It should build successfully now
If you have changed path multiple times the .pro.user file is created multiple times delete all files with this extension and compile

Adding ControlFX.jar file to build path

I am trying to install ControlFx for creating dialogs in my application. I have put controlsfx-8.x.x.jar file in the appropriate folder (lib/ext). It is the same folder where jfxrt.jar is present.
I am unable to add this jar to build path. The only option available is configure build path.
Can someone let me know what I am doing wrong?
Thanks
Controlsfx should not be put in lib/ext but simply added to your projects build path!

iPhone simulator sandbox location in Xcode 4

Xcode 4 seems to have changed the deployment location of the application data which previously used to be in:
Users/INSERT_YOUR_USER_HERE/Library/Application Support/iPhone Simulator/
Does anybody knows where is it now?
Thanks,
Raj
PS: I am beginning to hate Xcode 4! Sick!!!
The Application is Sandboxed in the location you specified is correct.
/Users/INSERT_YOUR_USER_HERE/Library/Application Support/iPhone Simulator/
That is this is the place where the Application(.app file) the installation file will be there.
I was wondering that you were searching for the build file or the binary file(.ipa). In Xcode4 they have changed it. Previously in Xcode 3 versions the build file will be in the folder where you have created your Project along with all your .h and .m files.
Now the build file is in this Path
/Users/YOURUSER/Library/Developer/Xcode/DerivedData/YOURPROJECTNAME_SOMETHINGSOMETHING/Build/Products
EDIT: More simple solution would be In the left side Navigator window in the Project structure under the Products Folder you will find your app. Right click on that and select open in finder will you take you to folder containing your app .app file.
If you want .ipa file just drag and drop the .app file into itunes it will convert that into itunes file and again rightclik and show in finder will give you the ipa file
On my mac the folder never changed.
The sandbox of each application i have in the simulator can be found in:
${HOME}/Library/Application Support/iPhone Simulator/<SDK_VERSION>/Applications/<GUID>
If you right click on YOUR_APP_NAME.app file in xcode, it will take you to the sandbox folder.
You can find that in the following path:
/Users/User/Library/Developer/Xcode/DerivedData/Your-Project-Name/Build/Products/Debug-iphonesimulator/location.app

Qmake does not support build directories below the source directory

I have created an application that compiles and runs like a charm on OS-X. I would now like to start getting it to work on Windows. To start, I copied the project to a windows machine and just tried to compile, but got this error:
:: warning: Qmake does not support build directories below the source directory.
Any ideas?
Set the shadow build directory to some folder on the same level of your project directory:
folder/
project/
project-shadow-build-release/
project-shadow-build-debug/
You can do this in the "Projects" view, via the toolbar on the left. To me, this warning was just an annoyance, a project never failed to build because of it.
Don't copy your project.pro.user file when you are copying a project from one machine to another, or from one directory to another. When you open the project, Qt Creator will offer to create a new build directory in the proper place.
Andref gave the correct answer to resolve this warning, but you may want to understand why this requirement exists.
In fact, the build directory must be at the same folder level as the project (i.e. it can't be above or below). The reason why is that the linker is called from the build directory. Hence, any relative paths to library files will be different than what you entered in your project file.
It kinda sucks. I like to put all intermediate files in their own folder. But you simply can't with qmake.
.pro.user are generated files by Qt Creator. They are unrelated to qmake and should not be touched (and not put into a VCS for that matter)
Just remove the files with the pro.user extension , worked for me
I also got this, trying to compile a project created on linux.
Another way to solve it is to change the paths in the .pro.user file (in the directory of your project)
Right Click on a project: Set As Active Project
Click on the Projects button (The one with the spanner image)
Edit build configuration : Debug / Profile / Release / and change the default directories, OR just uncheck the Shadow build check box.
The Build directory path should now change to black, from red

Resources