Click here to Skip to main content
11,630,144 members (80,151 online)

Silverlight / WPF

 
SuggestionRe: WPF Printing in milimeters Pin
Amitosh S.M.7-Jul-13 21:18
memberAmitosh S.M.7-Jul-13 21:18 
GeneralRe: WPF Printing in milimeters Pin
Saksida Bojan7-Jul-13 23:59
memberSaksida Bojan7-Jul-13 23:59 
QuestionWhat is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Mohammed Hameed3-Jul-13 20:24
professionalMohammed Hameed3-Jul-13 20:24 
AnswerRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Pete O'Hanlon3-Jul-13 20:45
protectorPete O'Hanlon3-Jul-13 20:45 
When you use Visual Studio to write your project (no matter what type of app you are writing), it does a lot of background build work. The .g.cs and .g.i.cs files are auto-generated from XAML files when the build process runs; the .g.i.cs is the part that ties into the Intellisense builder.

As far as removing the unused usings, you'd have to edit the source template. On my machine, running Visual Studio 2012, they are located under C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplates\CSharp\WPF\1033. Obviously, you'd have to pick your appropriate VS install location, but this should give you a head start.
I was brought up to respect my elders. I don't respect many people nowadays.

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Mohammed Hameed3-Jul-13 21:10
professionalMohammed Hameed3-Jul-13 21:10 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Pete O'Hanlon3-Jul-13 21:44
protectorPete O'Hanlon3-Jul-13 21:44 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Mohammed Hameed3-Jul-13 21:55
professionalMohammed Hameed3-Jul-13 21:55 
AnswerRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Richard MacCutchan3-Jul-13 21:12
mvpRichard MacCutchan3-Jul-13 21:12 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Mohammed Hameed3-Jul-13 21:20
professionalMohammed Hameed3-Jul-13 21:20 
GeneralRe: What is the use of somefile.g.i.cs auto-generated file in Wpf? Pin
Richard MacCutchan3-Jul-13 22:29
mvpRichard MacCutchan3-Jul-13 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150723.1 | Last Updated 24 Jul 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid