How to link the csproj file with aml file - visual-studio-2010

I am writing a document for my one application using Sand castle.
It consists of one csproj file in the document source.
I want to link that csproj file with my aml file page.
Does anybody know how can i achieve this?

Related

Include a file in a Xamarin project

Here I decided to train on Xamarin. I am currently a tutorial. My problem is that when I try to add a ContentPage I only have the class file that is included in the project. If I display all the files of the project I see my view but can not include it in the project. I put you a screenshot below.
So if anyone has an idea of ​​where the problem may come from or a method to import my file I am a taker.
Thank you in advance.
Stop your project before trying to include something on it with the Visual Studio interface.
Otherwise edit the .csproj manually, which is located on the root folder of your project and put the path to your new file manually like it's made on the others. You won't see the .csproj file with Visual Studio so use another editor instead.
See this link for more details about importing it manually
Don't include .xaml and .xaml.cs files manually/separately, use the Add new class context menu instead (right click on Views folder) and select the kind of class you're interested in. The .csproj will automatically link the 2 created files like this :
<Compile Include="Views\MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
Your .csproj seems to be confused now, I suggest you don't try to edit it manually (for now), delete all CounterPage.* and start over.

How to access header files in project ROOT directory in Xcode, header file not found

I've been trying to make a framework which uses .h header files. So I followed a tutorial where simply a few header files. (Tutorial link : https://www.raywenderlich.com/126365/ios-frameworks-tutorial )
The problem I face is that I can't access header files of another directory in the .h files of the same framework.
The steps I did were : I did the same and copied header files(not just their references) to the base framework's folder as shown. I also, added another folder(itpp) which also contains some more header files.
As you can see, the trigger.h file contains code, #include< itpp/itbase.h >
After this, I added the header files of the base folder in the public directory. The header files from itpp folder were not added there when I copied the "itpp" directory. Also, I don't want the framework to give direct access to the itpp header files.
Now I successfully build the framework. And copy the framework file(after showing in finder to an accessible place. Then I embed the framework I built and also, in the .mm file successfully write the following line of code : #include < BPSK/trigger.h >
But the error I encounter is that < itpp/itbase.h > cannot be found ,something I haven't been able to resolve. I went through many links which were close to what I wanted but didn't help me with this scenario.
I'm posting the links as well:
Helping Xcode fine library header - https://www.cocoanetics.com/2012/01/helping-xcode-find-library-headers/
How to create Custom iOS Framework with resources like images, plist, etc. -
http://jaym2503.blogspot.in/2014/03/how-to-create-custom-ios-framework-with.html
I even tried adding header files directory to the header search fields but it didn't work.
How can I use the header files in itpp folder in .h files that are accessible by the custom framework being built.

Having a file open automatically when the compressed folder containing it is unzipped

I have a compressed (zipped) folder with several KML files and some image files in it. I will soon make the compressed folder available to download from a web site; once the site's user downloads the file, they can unzip it. I am wondering if there is a way to make a certain one of the KML files open in Google Earth automatically as soon as the folder is unzipped (this file is linked to the other KML files in the folder, and opening it in Google Earth is a much handier way of viewing all the KML files than opening each file individually). Is there any way of implementing this? The operating system on my machine is Windows 7, in case this helps.
The act of unzipping a .zip file cannot easily be triggered to open a particular file as you describe on the file system. You would need a drop-box like mechanism with a custom application waiting for new contents in a particular folder.
However, KMZ is a zipped file which when opened by Google Earth will display the root-level KML file (typically named doc.kml) so a workable solution would be to create a single KMZ file with folder-structure as needed. The KMZ file would include a parent KML with links to the sub-KML files either as anchor links (or feature anchor) accessed via feature description and/or as network links.
The parent KML file can have in its top-level KML element an description with an index or table of contents with links to all the sub-KML files.
A working example of a feature-anchor can be found here:
http://kml-samples.googlecode.com/svn/trunk/kml/feature-anchor/feature-anchor-semi.kmz
A good description of feature anchors in action with examples can be found in Chapter 2 of the KML Handbook.

Is there an extension to link a file to another like the .designer files

Is there an extension to easily link a file to another in a VS project? The same way a designer file is linked to another file.
I know i can open include the file in the project then open the project in notepad and change
the include element to depend on another file like
<None Include="Features\ContactTestData.json">
<DependentUpon>ContactInfo.feature</DependentUpon>
</None>
but is there a way to do this through the UI?
It sounds as if partial classes may solve your issue. Which is how the form designers work.
It allows you to have multiple class files with the same name in the same namespace accessible as the same class.

Razor (MVC): Seeing razor files as normal HTML files in Dreamweaver 5.5 doesn't work

.CSHTML files doesn't show the SPLIT / Design tabs in DW 5.5
I followed a tutorial of how to add a file extension to DW 5.5 to allow me to open it and it treats it as HTML but it isn't functioning.
Here is the line I changed. notice the addtional of cshtml
<documenttype id="HTML" internaltype="HTML" winfileextension="html,htm,shtml,shtm,stm,tpl,lasso,xhtml,cshtml"
The file is stored here:
C:\Program Files (x86)\Adobe\Adobe Dreamweaver
CS5.5\configuration\DocumentTypes
What am I doing wrong?
My file type is basically a HTML file type with Divs etc etc but has some custom .NET code which its fine to treat as TEXT.
I open the file in Dreamweaver and it only shows the code tab, the DESIGN or SPLIT are still disabled.
And there is no color coding on, for example, a div tag...
Take a read here about adding file extensions:
http://kb2.adobe.com/cps/164/tn_16410.html
In particular make sure you edit the copy in the user configuration folder, not the one in the application folder. If there isn't a copy in the user folder, create a copy in the appropriate location. I just followed those directions adding a CSHTML file extension to the document types and extensions file, and once Dreamweaver is restarted, a .cshtml file opened with the ability to view in design view.

Resources